Enum TraceProperties.Include
- java.lang.Object
- java.lang.Enum<TraceProperties.Include>
- org.springframework.boot.actuate.trace.TraceProperties.Include
- All Implemented Interfaces:
Serializable
,Comparable<TraceProperties.Include>
- Enclosing class:
- TraceProperties
public static enum TraceProperties.Include extends Enum<TraceProperties.Include>
Include options for tracing.
Enum Constant Summary
Enum Constants Enum Constant Description AUTH_TYPE
Include the authentication type.AUTHORIZATION_HEADER
Include authorization header (if any).CONTEXT_PATH
Include the context path.COOKIES
Include "Cookie" in request and "Set-Cookie" in response headers.ERRORS
Include errors (if any).PARAMETERS
Include the parameters.PATH_INFO
Include path info.PATH_TRANSLATED
Include the translated path.QUERY_STRING
Include the query string.REMOTE_ADDRESS
Include the remote address.REMOTE_USER
Include the remote user.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.USER_PRINCIPAL
Include the user principal.
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TraceProperties.Include
valueOf(String name)
Returns the enum constant of this type with the specified name.static TraceProperties.Include[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
Enum Constant Detail
REQUEST_HEADERS
public static final TraceProperties.Include REQUEST_HEADERS
Include request headers.
RESPONSE_HEADERS
public static final TraceProperties.Include RESPONSE_HEADERS
Include response headers.
COOKIES
public static final TraceProperties.Include COOKIES
Include "Cookie" in request and "Set-Cookie" in response headers.
AUTHORIZATION_HEADER
public static final TraceProperties.Include AUTHORIZATION_HEADER
Include authorization header (if any).
ERRORS
public static final TraceProperties.Include ERRORS
Include errors (if any).
PATH_INFO
public static final TraceProperties.Include PATH_INFO
Include path info.
PATH_TRANSLATED
public static final TraceProperties.Include PATH_TRANSLATED
Include the translated path.
CONTEXT_PATH
public static final TraceProperties.Include CONTEXT_PATH
Include the context path.
USER_PRINCIPAL
public static final TraceProperties.Include USER_PRINCIPAL
Include the user principal.
PARAMETERS
public static final TraceProperties.Include PARAMETERS
Include the parameters.
QUERY_STRING
public static final TraceProperties.Include QUERY_STRING
Include the query string.
AUTH_TYPE
public static final TraceProperties.Include AUTH_TYPE
Include the authentication type.
REMOTE_ADDRESS
public static final TraceProperties.Include REMOTE_ADDRESS
Include the remote address.
SESSION_ID
public static final TraceProperties.Include SESSION_ID
Include the session ID.
REMOTE_USER
public static final TraceProperties.Include REMOTE_USER
Include the remote user.
TIME_TAKEN
public static final TraceProperties.Include TIME_TAKEN
Include the time taken to service the request in milliseconds.
Method Detail
values
public static TraceProperties.Include[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TraceProperties.Include c : TraceProperties.Include.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static TraceProperties.Include valueOf(String name)
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