public class JerseyLoggingClientConfigurator extends Object implements ClientConfigurator
Configurator allowing SDK users to enable Jersey logging request & response on client-side.
See also https://hc.apache.org/httpcomponents-client-4.5.x/logging.html
| Constructor and Description |
|---|
JerseyLoggingClientConfigurator(org.glassfish.jersey.logging.LoggingFeature.Verbosity verbosity,
Level loggingLevel)
Create a Jersey logging configurator.
|
JerseyLoggingClientConfigurator(org.glassfish.jersey.logging.LoggingFeature.Verbosity verbosity,
String loggingLevel)
Create a Jersey logging configurator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
customizeBuilder(javax.ws.rs.client.ClientBuilder builder)
Customize the ClientBuilder instance.
|
void |
customizeClient(javax.ws.rs.client.Client client)
Customize the Client generated by the builder.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomizeRequestpublic JerseyLoggingClientConfigurator(@Nonnull org.glassfish.jersey.logging.LoggingFeature.Verbosity verbosity, @Nonnull String loggingLevel)
Create a Jersey logging configurator.
verbosity - verbosityloggingLevel - logging levelpublic void customizeBuilder(javax.ws.rs.client.ClientBuilder builder)
ClientConfiguratorCustomize the ClientBuilder instance.
customizeBuilder in interface ClientConfiguratorbuilder - The client builder.public void customizeClient(javax.ws.rs.client.Client client)
ClientConfiguratorCustomize the Client generated by the builder.
customizeClient in interface ClientConfiguratorclient - The client.Copyright © 2016–2022. All rights reserved.