public class ApiRequestLoggingConfiguration extends Object implements ReadonlyRequestLoggingConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiRequestLoggingConfiguration.Builder
Builder class for ApiRequestLoggingConfiguration.
|
| 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.
|
ApiRequestLoggingConfiguration.Builder |
newBuilder()
Builds a new
ApiRequestLoggingConfiguration.Builder object. |
boolean |
shouldIncludeQueryInPath()
Checks if query parameters are included in the request path.
|
boolean |
shouldLogBody()
Checks if logging of request body is enabled.
|
boolean |
shouldLogHeaders()
Checks if logging of request headers is enabled.
|
String |
toString()
Converts
ApiRequestLoggingConfiguration into string format. |
public boolean shouldLogBody()
shouldLogBody in interface ReadonlyRequestLoggingConfigurationpublic boolean shouldLogHeaders()
shouldLogHeaders in interface ReadonlyRequestLoggingConfigurationpublic List<String> getHeadersToInclude()
getHeadersToInclude in interface ReadonlyRequestLoggingConfigurationpublic List<String> getHeadersToExclude()
getHeadersToExclude in interface ReadonlyRequestLoggingConfigurationpublic List<String> getHeadersToUnmask()
public boolean shouldIncludeQueryInPath()
shouldIncludeQueryInPath in interface ReadonlyRequestLoggingConfigurationpublic String toString()
ApiRequestLoggingConfiguration into string format.public ApiRequestLoggingConfiguration.Builder newBuilder()
ApiRequestLoggingConfiguration.Builder object. Creates the instance
with the current state.ApiRequestLoggingConfiguration.Builder object.Copyright © 2025. All rights reserved.