public enum Include extends Enum<Include>
Enum Constant and Description |
---|
AUTHORIZATION_HEADER
Include authorization header (if any).
|
COOKIE_HEADERS
Include "Cookie" header (if any) in request headers and "Set-Cookie" (if any) in
response headers.
|
PRINCIPAL
Include the principal.
|
REMOTE_ADDRESS
Include the remote address.
|
REQUEST_HEADERS
Include request headers.
|
RESPONSE_HEADERS
Include response headers.
|
SESSION_ID
Include the session ID.
|
TIME_TAKEN
Include the time taken to service the request in milliseconds.
|
Modifier and Type | Method and Description |
---|---|
static Set<Include> |
defaultIncludes()
Return the default
Include . |
static Include |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Include[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Include REQUEST_HEADERS
public static final Include RESPONSE_HEADERS
public static final Include COOKIE_HEADERS
public static final Include AUTHORIZATION_HEADER
public static final Include PRINCIPAL
public static final Include REMOTE_ADDRESS
public static final Include SESSION_ID
public static final Include TIME_TAKEN
public static Include[] values()
for (Include c : Include.values()) System.out.println(c);
public static Include 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 nullCopyright © 2021 Pivotal Software, Inc.. All rights reserved.