Uses of Class
com.azure.core.http.policy.HttpLogOptions
-
Packages that use HttpLogOptions Package Description com.azure.core.http.policy Package containing HttpPipelinePolicy interface and its implementations.com.azure.core.util Package containing core utility classes. -
-
Uses of HttpLogOptions in com.azure.core.http.policy
Methods in com.azure.core.http.policy that return HttpLogOptions Modifier and Type Method Description HttpLogOptions
HttpLogOptions. addAllowedHeaderName(String allowedHeaderName)
Sets the given whitelisted header to the default header set that should be logged.HttpLogOptions
HttpLogOptions. addAllowedQueryParamName(String allowedQueryParamName)
Sets the given whitelisted query param that should be logged.HttpLogOptions
HttpLogOptions. setAllowedHeaderNames(Set<String> allowedHeaderNames)
Sets the given whitelisted headers that should be logged.HttpLogOptions
HttpLogOptions. setAllowedQueryParamNames(Set<String> allowedQueryParamNames)
Sets the given whitelisted query params to be displayed in the logging info.HttpLogOptions
HttpLogOptions. setApplicationId(String applicationId)
Deprecated.UseClientOptions
to configureapplicationId
.HttpLogOptions
HttpLogOptions. setLogLevel(HttpLogDetailLevel logLevel)
Sets the level of detail to log on Http messages.HttpLogOptions
HttpLogOptions. setPrettyPrintBody(boolean prettyPrintBody)
Sets flag to allow pretty printing of message bodies.HttpLogOptions
HttpLogOptions. setRequestLogger(HttpRequestLogger requestLogger)
Sets theHttpRequestLogger
that will be used to log HTTP requests.HttpLogOptions
HttpLogOptions. setResponseLogger(HttpResponseLogger responseLogger)
Sets theHttpResponseLogger
that will be used to log HTTP responses.Constructors in com.azure.core.http.policy with parameters of type HttpLogOptions Constructor Description HttpLoggingPolicy(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 HttpLogOptions Modifier and Type Method Description static String
CoreUtils. getApplicationId(ClientOptions clientOptions, HttpLogOptions logOptions)
Retrieves the application ID from either aClientOptions
orHttpLogOptions
.
-