Class HttpLoggingConfigurationProperties
- java.lang.Object
-
- com.azure.spring.cloud.autoconfigure.properties.core.client.HttpLoggingConfigurationProperties
-
- All Implemented Interfaces:
com.azure.spring.cloud.core.provider.HttpLoggingOptionsProvider.HttpLoggingOptions
public class HttpLoggingConfigurationProperties extends Object implements com.azure.spring.cloud.core.provider.HttpLoggingOptionsProvider.HttpLoggingOptions
Options related to http logging. For example, if you want to log the http request or response, you could set the * level toHttpLogDetailLevel.BASICor some other levels.
-
-
Constructor Summary
Constructors Constructor Description HttpLoggingConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getAllowedHeaderNames()Set<String>getAllowedQueryParamNames()com.azure.core.http.policy.HttpLogDetailLevelgetLevel()BooleangetPrettyPrintBody()voidsetLevel(com.azure.core.http.policy.HttpLogDetailLevel level)Set the logging detail level.voidsetPrettyPrintBody(Boolean prettyPrintBody)Set whether to pretty print body.
-
-
-
Method Detail
-
getLevel
public com.azure.core.http.policy.HttpLogDetailLevel getLevel()
- Specified by:
getLevelin interfacecom.azure.spring.cloud.core.provider.HttpLoggingOptionsProvider.HttpLoggingOptions
-
setLevel
public void setLevel(com.azure.core.http.policy.HttpLogDetailLevel level)
Set the logging detail level.- Parameters:
level- The logging detail level.
-
getAllowedHeaderNames
public Set<String> getAllowedHeaderNames()
- Specified by:
getAllowedHeaderNamesin interfacecom.azure.spring.cloud.core.provider.HttpLoggingOptionsProvider.HttpLoggingOptions
-
getAllowedQueryParamNames
public Set<String> getAllowedQueryParamNames()
- Specified by:
getAllowedQueryParamNamesin interfacecom.azure.spring.cloud.core.provider.HttpLoggingOptionsProvider.HttpLoggingOptions
-
getPrettyPrintBody
public Boolean getPrettyPrintBody()
- Specified by:
getPrettyPrintBodyin interfacecom.azure.spring.cloud.core.provider.HttpLoggingOptionsProvider.HttpLoggingOptions
-
setPrettyPrintBody
public void setPrettyPrintBody(Boolean prettyPrintBody)
Set whether to pretty print body.- Parameters:
prettyPrintBody- Whether to pretty print body.
-
-