public class ApiResponseLoggingConfiguration extends Object implements ReadonlyResponseLoggingConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiResponseLoggingConfiguration.Builder
Builder class for RequestLoggingConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getHeadersToExclude()
Gets the list of headers to exclude from logging.
|
List<String> |
getHeadersToInclude()
Gets the list of headers to include in logging.
|
List<String> |
getHeadersToUnmask()
Retrieves the list of headers to unmask from sensitive headers.
|
ApiResponseLoggingConfiguration.Builder |
newBuilder()
Builds a new
ApiResponseLoggingConfiguration.Builder object. |
boolean |
shouldLogBody()
Checks if logging of request body is enabled.
|
boolean |
shouldLogHeaders()
Checks if logging of request headers is enabled.
|
String |
toString()
Converts
ApiResponseLoggingConfiguration into string format. |
public boolean shouldLogBody()
shouldLogBody in interface ReadonlyResponseLoggingConfigurationpublic boolean shouldLogHeaders()
shouldLogHeaders in interface ReadonlyResponseLoggingConfigurationpublic List<String> getHeadersToInclude()
getHeadersToInclude in interface ReadonlyResponseLoggingConfigurationpublic List<String> getHeadersToExclude()
getHeadersToExclude in interface ReadonlyResponseLoggingConfigurationpublic List<String> getHeadersToUnmask()
public String toString()
ApiResponseLoggingConfiguration into string format.public ApiResponseLoggingConfiguration.Builder newBuilder()
ApiResponseLoggingConfiguration.Builder object. Creates the instance
with the current state.ApiResponseLoggingConfiguration.Builder object.Copyright © 2025. All rights reserved.