public static class ApiRequestLoggingConfiguration.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ApiRequestLoggingConfiguration.Builder |
body(boolean logBody)
Sets whether to log the body.
|
ApiRequestLoggingConfiguration |
build()
Constructs a ApiRequestLoggingConfiguration object with the set values.
|
ApiRequestLoggingConfiguration.Builder |
excludeHeaders(String... excludeHeaders)
Sets the headers to be excluded from logging.
|
ApiRequestLoggingConfiguration.Builder |
headers(boolean logHeaders)
Sets whether to log the headers.
|
ApiRequestLoggingConfiguration.Builder |
includeHeaders(String... includeHeaders)
Sets the headers to be included in logging.
|
ApiRequestLoggingConfiguration.Builder |
includeQueryInPath(boolean includeQueryInPath)
Sets whether to include query parameters in the request path.
|
ApiRequestLoggingConfiguration.Builder |
unmaskHeaders(String... unmaskHeaders)
Sets the headers to be unmasked in logging.
|
public ApiRequestLoggingConfiguration.Builder body(boolean logBody)
logBody - True to log the body, otherwise false.public ApiRequestLoggingConfiguration.Builder headers(boolean logHeaders)
logHeaders - True to log the headers, otherwise false.public ApiRequestLoggingConfiguration.Builder excludeHeaders(String... excludeHeaders)
excludeHeaders - The headers to exclude.public ApiRequestLoggingConfiguration.Builder includeHeaders(String... includeHeaders)
includeHeaders - The headers to include.public ApiRequestLoggingConfiguration.Builder unmaskHeaders(String... unmaskHeaders)
unmaskHeaders - The headers to unmask in logging.public ApiRequestLoggingConfiguration.Builder includeQueryInPath(boolean includeQueryInPath)
includeQueryInPath - True to include query parameters in the path,
otherwise false.public ApiRequestLoggingConfiguration build()
Copyright © 2025. All rights reserved.