Package com.contentgrid.opa.client.rest
Interface RestClientConfiguration.LogSpecification
- Enclosing interface:
- RestClientConfiguration
public static interface RestClientConfiguration.LogSpecification
-
Method Summary
Modifier and TypeMethodDescriptionall()Logs everything in the specification, including the request method, url, status code, request- and response-headers, request- and response payload.none()Logs a String-representation of the request body.Logs a String-representation of the response body.verbose()Logs the request method, url, status code, response headers and response payload.
-
Method Details
-
none
-
all
Logs everything in the specification, including the request method, url, status code, request- and response-headers, request- and response payload.- Returns:
- The specification
-
verbose
RestClientConfiguration.LogSpecification verbose()Logs the request method, url, status code, response headers and response payload.- Returns:
- The specification
-
requestLine
RestClientConfiguration.LogSpecification requestLine() -
requestHeaders
RestClientConfiguration.LogSpecification requestHeaders() -
responseHeaders
RestClientConfiguration.LogSpecification responseHeaders() -
statusCode
RestClientConfiguration.LogSpecification statusCode() -
requestBody
RestClientConfiguration.LogSpecification requestBody()Logs a String-representation of the request body.- Returns:
- The specification
-
responseBody
RestClientConfiguration.LogSpecification responseBody()Logs a String-representation of the response body.- Returns:
- The specification
-