public enum HttpMethod extends Enum<HttpMethod>
枚举常量和说明 |
---|
CONNECT |
COPY |
DELETE |
GET |
HEAD |
LINK |
LOCK |
MOVE |
OPTIONS |
PATCH |
POST |
PROPFIND |
PROPPATCH |
PURGE |
PUT |
REPORT |
TRACE |
UNLINK |
UNLOCK |
VIEW |
WRAPPED |
public static final HttpMethod GET
public static final HttpMethod POST
public static final HttpMethod PUT
public static final HttpMethod PATCH
public static final HttpMethod DELETE
public static final HttpMethod CONNECT
public static final HttpMethod TRACE
public static final HttpMethod COPY
public static final HttpMethod MOVE
public static final HttpMethod HEAD
public static final HttpMethod OPTIONS
public static final HttpMethod LINK
public static final HttpMethod UNLINK
public static final HttpMethod PURGE
public static final HttpMethod LOCK
public static final HttpMethod UNLOCK
public static final HttpMethod PROPFIND
public static final HttpMethod PROPPATCH
public static final HttpMethod REPORT
public static final HttpMethod VIEW
public static final HttpMethod WRAPPED
public static HttpMethod[] values()
for (HttpMethod c : HttpMethod.values()) System.out.println(c);
public static HttpMethod valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2023 buession.com Inc.. All rights reserved.