public enum HttpAttributes extends Enum<HttpAttributes> implements CharSequence
Enum Constant and Description |
---|
ERROR
Attribute used to store any exception that may have occurred during request processing.
|
EXCEPTION
Attribute used to store the cause of an error response.
|
INVOCATION_CONTEXT
Attribute used to store the MethodInvocationContext by declarative client.
|
MEDIA_TYPE_CODEC
Attribute used to store the MediaTypeCodec.
|
METHOD_NAME
Attribute used to store the HTTP method name, if required within the response.
|
PRINCIPAL
Attribute used to store the
Principal . |
ROUTE
Attribute used to store the object that represents the Route.
|
ROUTE_INFO
Attribute used to store the object that represents the Route metadata.
|
ROUTE_MATCH
Attribute used to store the object that represents the Route match.
|
SERVICE_ID
Attribute used to store the service ID a client request is being sent to.
|
URI_TEMPLATE
Attribute used to store the URI template defined by the route.
|
X509_CERTIFICATE
Attribute used to store a client Certificate (mutual authentication).
|
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
int |
length() |
CharSequence |
subSequence(int start,
int end) |
String |
toString() |
static HttpAttributes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpAttributes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
chars, codePoints
public static final HttpAttributes PRINCIPAL
Principal
.public static final HttpAttributes ERROR
public static final HttpAttributes ROUTE
public static final HttpAttributes ROUTE_MATCH
public static final HttpAttributes ROUTE_INFO
public static final HttpAttributes URI_TEMPLATE
public static final HttpAttributes METHOD_NAME
public static final HttpAttributes SERVICE_ID
public static final HttpAttributes MEDIA_TYPE_CODEC
public static final HttpAttributes INVOCATION_CONTEXT
public static final HttpAttributes EXCEPTION
public static final HttpAttributes X509_CERTIFICATE
public static HttpAttributes[] values()
for (HttpAttributes c : HttpAttributes.values()) System.out.println(c);
public static HttpAttributes 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 int length()
length
in interface CharSequence
public char charAt(int index)
charAt
in interface CharSequence
public CharSequence subSequence(int start, int end)
subSequence
in interface CharSequence
public String toString()
toString
in interface CharSequence
toString
in class Enum<HttpAttributes>