Enum Include
- All Implemented Interfaces:
Serializable
,Comparable<Include>
,Constable
Include options for HTTP tracing.
- Since:
- 2.0.0
- Author:
- Wallace Wadge, Emily Tsanova, Joseph Beeton
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionInclude authorization header (if any).Include "Cookie" header (if any) in request headers and "Set-Cookie" (if any) in response headers.Include the principal.Include the remote address.Include request headers.Include response headers.Include the session ID.Include the time taken to service the request in milliseconds. -
Method Summary
-
Enum Constant Details
-
REQUEST_HEADERS
Include request headers. -
RESPONSE_HEADERS
Include response headers. -
COOKIE_HEADERS
Include "Cookie" header (if any) in request headers and "Set-Cookie" (if any) in response headers. -
AUTHORIZATION_HEADER
Include authorization header (if any). -
PRINCIPAL
Include the principal. -
REMOTE_ADDRESS
Include the remote address. -
SESSION_ID
Include the session ID. -
TIME_TAKEN
Include the time taken to service the request in milliseconds.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
defaultIncludes
Return the defaultInclude
.- Returns:
- the default include.
-