Uses of Class
com.azure.core.http.policy.HttpLogOptions
Packages that use HttpLogOptions
Package
Description
This package contains interfaces that represent common cross-cutting aspects of functionality offered by libraries
in the Azure SDK for Java.
This package contains the HttpPipelinePolicy interface and its implementations.
Package containing core utility classes.
-
Uses of HttpLogOptions in com.azure.core.client.traits
Methods in com.azure.core.client.traits with parameters of type HttpLogOptionsModifier and TypeMethodDescriptionHttpTrait.httpLogOptions(HttpLogOptions logOptions) Sets thelogging configurationto use when sending and receiving requests to and from the service. -
Uses of HttpLogOptions in com.azure.core.http.policy
Methods in com.azure.core.http.policy that return HttpLogOptionsModifier and TypeMethodDescriptionHttpLogOptions.addAllowedHeaderName(String allowedHeaderName) Deprecated.HttpLogOptions.addAllowedHttpHeaderName(HttpHeaderName allowedHeaderName) Sets the given allowedHttpHeaderNameto the default header set that should be logged.HttpLogOptions.addAllowedQueryParamName(String allowedQueryParamName) Sets the given allowed query param that should be logged.HttpLogOptions.disableRedactedHeaderLogging(boolean disableRedactedHeaderLogging) Sets the flag that controls if header names which value is redacted should be logged.HttpLogOptions.setAllowedHeaderNames(Set<String> allowedHeaderNames) Deprecated.UsesetAllowedHttpHeaderNames(Set)instead.HttpLogOptions.setAllowedHttpHeaderNames(Set<HttpHeaderName> allowedHttpHeaderNames) Sets the given allowedHttpHeaderNamesthat should be logged.HttpLogOptions.setAllowedQueryParamNames(Set<String> allowedQueryParamNames) Sets the given allowed query params to be displayed in the logging info.HttpLogOptions.setApplicationId(String applicationId) Deprecated.UseClientOptionsto configureapplicationId.HttpLogOptions.setLogLevel(HttpLogDetailLevel logLevel) Sets the level of detail to log on Http messages.HttpLogOptions.setPrettyPrintBody(boolean prettyPrintBody) Deprecated.UsesetRequestLogger(HttpRequestLogger)andsetResponseLogger(HttpResponseLogger)to configure how requests and responses should be logged at a granular level instead.HttpLogOptions.setRequestLogger(HttpRequestLogger requestLogger) Sets theHttpRequestLoggerthat will be used to log HTTP requests.HttpLogOptions.setResponseLogger(HttpResponseLogger responseLogger) Sets theHttpResponseLoggerthat will be used to log HTTP responses.Constructors in com.azure.core.http.policy with parameters of type HttpLogOptionsModifierConstructorDescriptionHttpLoggingPolicy(HttpLogOptions httpLogOptions) Creates an HttpLoggingPolicy with the given log configurations. -
Uses of HttpLogOptions in com.azure.core.util
Methods in com.azure.core.util with parameters of type HttpLogOptionsModifier and TypeMethodDescriptionstatic StringCoreUtils.getApplicationId(ClientOptions clientOptions, HttpLogOptions logOptions) Retrieves the application ID from either aClientOptionsorHttpLogOptions.
addAllowedHttpHeaderName(HttpHeaderName)instead.