Enum Class RequestLoggerConfiguration.LogDetail
java.lang.Object
java.lang.Enum<RequestLoggerConfiguration.LogDetail>
com.contentgrid.opa.client.rest.client.jdk.RequestLoggerConfiguration.LogDetail
- All Implemented Interfaces:
Serializable,Comparable<RequestLoggerConfiguration.LogDetail>,Constable
- Enclosing class:
- RequestLoggerConfiguration
public static enum RequestLoggerConfiguration.LogDetail
extends Enum<RequestLoggerConfiguration.LogDetail>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLog the cookiesLog the request body.Log the request headersLogs the request method and URI.Log the response body.Log the response headersLog the status code. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static RequestLoggerConfiguration.LogDetail[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REQUEST_HEADERS
Log the request headers -
RESPONSE_HEADERS
Log the response headers -
COOKIES
Log the cookies -
REQUEST_BODY
Log the request body. -
RESPONSE_BODY
Log the response body. -
RESPONSE_STATUS
Log the status code. -
REQUEST_LINE
Logs the request method and URI.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-