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.
|
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_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.
|
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 URI_TEMPLATE
public static final HttpAttributes METHOD_NAME
public static final HttpAttributes SERVICE_ID
public static final HttpAttributes MEDIA_TYPE_CODEC
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>