Uses of Class
com.azure.core.http.policy.HttpLogOptions
-
Packages that use HttpLogOptions Package Description com.azure.core.client.traits This package contains interfaces that represent common cross-cutting aspects of functionality offered by libraries in the Azure SDK for Java.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.client.traits
Methods in com.azure.core.client.traits with parameters of type HttpLogOptions Modifier and Type Method Description THttpTrait. 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 HttpLogOptions Modifier and Type Method Description HttpLogOptionsHttpLogOptions. addAllowedHeaderName(String allowedHeaderName)Sets the given whitelisted header to the default header set that should be logged.HttpLogOptionsHttpLogOptions. addAllowedQueryParamName(String allowedQueryParamName)Sets the given whitelisted query param that should be logged.HttpLogOptionsHttpLogOptions. setAllowedHeaderNames(Set<String> allowedHeaderNames)Sets the given whitelisted headers that should be logged.HttpLogOptionsHttpLogOptions. setAllowedQueryParamNames(Set<String> allowedQueryParamNames)Sets the given whitelisted query params to be displayed in the logging info.HttpLogOptionsHttpLogOptions. setApplicationId(String applicationId)Deprecated.UseClientOptionsto configureapplicationId.HttpLogOptionsHttpLogOptions. setLogLevel(HttpLogDetailLevel logLevel)Sets the level of detail to log on Http messages.HttpLogOptionsHttpLogOptions. setPrettyPrintBody(boolean prettyPrintBody)Sets flag to allow pretty printing of message bodies.HttpLogOptionsHttpLogOptions. setRequestLogger(HttpRequestLogger requestLogger)Sets theHttpRequestLoggerthat will be used to log HTTP requests.HttpLogOptionsHttpLogOptions. setResponseLogger(HttpResponseLogger responseLogger)Sets theHttpResponseLoggerthat 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 StringCoreUtils. getApplicationId(ClientOptions clientOptions, HttpLogOptions logOptions)Retrieves the application ID from either aClientOptionsorHttpLogOptions.
-