Enum RequestLoggerConfiguration.LogDetail
- java.lang.Object
-
- java.lang.Enum<RequestLoggerConfiguration.LogDetail>
-
- com.contentgrid.opa.client.rest.client.jdk.RequestLoggerConfiguration.LogDetail
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RequestLoggerConfiguration.LogDetail>
- Enclosing class:
- RequestLoggerConfiguration
public static enum RequestLoggerConfiguration.LogDetail extends java.lang.Enum<RequestLoggerConfiguration.LogDetail>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COOKIESLog the cookiesREQUEST_BODYLog the request body.REQUEST_HEADERSLog the request headersREQUEST_LINELogs the request method and URI.RESPONSE_BODYLog the response body.RESPONSE_HEADERSLog the response headersRESPONSE_STATUSLog the status code.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RequestLoggerConfiguration.LogDetailvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RequestLoggerConfiguration.LogDetail[]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 RequestLoggerConfiguration.LogDetail REQUEST_HEADERS
Log the request headers
-
RESPONSE_HEADERS
public static final RequestLoggerConfiguration.LogDetail RESPONSE_HEADERS
Log the response headers
-
COOKIES
public static final RequestLoggerConfiguration.LogDetail COOKIES
Log the cookies
-
REQUEST_BODY
public static final RequestLoggerConfiguration.LogDetail REQUEST_BODY
Log the request body.
-
RESPONSE_BODY
public static final RequestLoggerConfiguration.LogDetail RESPONSE_BODY
Log the response body.
-
RESPONSE_STATUS
public static final RequestLoggerConfiguration.LogDetail RESPONSE_STATUS
Log the status code.
-
REQUEST_LINE
public static final RequestLoggerConfiguration.LogDetail REQUEST_LINE
Logs the request method and URI.
-
-
Method Detail
-
values
public static RequestLoggerConfiguration.LogDetail[] 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 (RequestLoggerConfiguration.LogDetail c : RequestLoggerConfiguration.LogDetail.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestLoggerConfiguration.LogDetail valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-