Package com.contentgrid.opa.client.rest
Interface RestClientConfiguration.LogSpecification
-
- Enclosing interface:
- RestClientConfiguration
public static interface RestClientConfiguration.LogSpecification
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RestClientConfiguration.LogSpecificationall()Logs everything in the specification, including the request method, url, status code, request- and response-headers, request- and response payload.RestClientConfiguration.LogSpecificationnone()RestClientConfiguration.LogSpecificationrequestBody()Logs a String-representation of the request body.RestClientConfiguration.LogSpecificationrequestHeaders()RestClientConfiguration.LogSpecificationrequestLine()RestClientConfiguration.LogSpecificationresponseBody()Logs a String-representation of the response body.RestClientConfiguration.LogSpecificationresponseHeaders()RestClientConfiguration.LogSpecificationstatusCode()RestClientConfiguration.LogSpecificationverbose()Logs the request method, url, status code, response headers and response payload.
-
-
-
Method Detail
-
none
RestClientConfiguration.LogSpecification none()
-
all
RestClientConfiguration.LogSpecification 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
-
-