public enum NonStandardHttpHeaderName extends java.lang.Enum<NonStandardHttpHeaderName> implements HttpHeaderName
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asString()
Returns the string representation of the implementing object.
|
boolean |
isHeaderName(java.lang.String string)
Returns true if the given header name string matches this HttpHeaderName instance.
|
java.lang.String |
toString() |
static NonStandardHttpHeaderName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NonStandardHttpHeaderName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NonStandardHttpHeaderName X_CORRELATION_ID
public static final NonStandardHttpHeaderName X_REQUEST_ID
public static final NonStandardHttpHeaderName FRONT_END_HTTPS
public static final NonStandardHttpHeaderName PROXY_CONNECTION
public static final NonStandardHttpHeaderName UPGRADE_UNSECURE_REQUESTS
public static final NonStandardHttpHeaderName X_CSRF_TOKEN
public static final NonStandardHttpHeaderName X_FORWARDED_FOR
public static final NonStandardHttpHeaderName X_FORWARDED_HOST
public static final NonStandardHttpHeaderName X_FORWARDED_PROTOCOL
public static final NonStandardHttpHeaderName X_HTTP_METHOD_OVERRIDE
public static final NonStandardHttpHeaderName X_REQUESTED_WITH
public static final NonStandardHttpHeaderName CONTENT_SECURITY_POLICY
public static final NonStandardHttpHeaderName STATUS
public static final NonStandardHttpHeaderName X_CONTENT_DURATION
public static final NonStandardHttpHeaderName X_CONTENT_TYPE_OPTIONS
public static final NonStandardHttpHeaderName X_CONTENT_SECURITY_POLICY
public static final NonStandardHttpHeaderName X_FRAME_OPTIONS
public static final NonStandardHttpHeaderName X_POWERED_BY
public static final NonStandardHttpHeaderName X_UA_COMPATIBLE
public static final NonStandardHttpHeaderName X_WEBKIT_CSP
public static final NonStandardHttpHeaderName X_XSS_PROTECTION
public static NonStandardHttpHeaderName[] values()
for (NonStandardHttpHeaderName c : NonStandardHttpHeaderName.values()) System.out.println(c);
public static NonStandardHttpHeaderName valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isHeaderName(java.lang.String string)
HttpHeaderName
isHeaderName
in interface HttpHeaderName
public java.lang.String asString()
IStringRepresentation
asString
in interface IStringRepresentation
public java.lang.String toString()
toString
in class java.lang.Enum<NonStandardHttpHeaderName>