public enum HttpHeaders extends Enum<HttpHeaders>
| Enum Constant and Description |
|---|
ACCEPT
Accept http headers.
|
AUTHORIZATION
Authorization http headers.
|
CONTENT_TYPE
Content type http headers.
|
META
Meta http headers.
|
REQUEST_ID
Request id http headers.
|
USER_AGENT
User agent http headers.
|
WECHAT_PAY_NONCE
Wechat pay nonce http headers.
|
WECHAT_PAY_SERIAL
Wechat pay serial http headers.
|
WECHAT_PAY_SIGNATURE
Wechat pay signature http headers.
|
WECHAT_PAY_SIGNATURE_TYPE
Wechatpay signature type http headers.
|
WECHAT_PAY_TIMESTAMP
Wechat pay timestamp http headers.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
headerName |
| Modifier and Type | Method and Description |
|---|---|
String |
headerName()
Header name string.
|
static HttpHeaders |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpHeaders[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpHeaders CONTENT_TYPE
public static final HttpHeaders AUTHORIZATION
public static final HttpHeaders ACCEPT
public static final HttpHeaders USER_AGENT
public static final HttpHeaders META
public static final HttpHeaders REQUEST_ID
public static final HttpHeaders WECHAT_PAY_SERIAL
public static final HttpHeaders WECHAT_PAY_SIGNATURE
public static final HttpHeaders WECHAT_PAY_SIGNATURE_TYPE
public static final HttpHeaders WECHAT_PAY_TIMESTAMP
public static final HttpHeaders WECHAT_PAY_NONCE
private final String headerName
public static HttpHeaders[] values()
for (HttpHeaders c : HttpHeaders.values()) System.out.println(c);
public static HttpHeaders valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String headerName()
Copyright © 2023. All rights reserved.