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