public static class DefaultConfigurator.NonBuffering extends DefaultConfigurator
A ClientConfigurator for a client that does not buffer requests in memory.
Note: for PUT and POST requests, this will result in less accurate error messages
DefaultConfigurator.NonBufferingclientConfigDecorators| Constructor and Description |
|---|
NonBuffering() |
| Modifier and Type | Method and Description |
|---|---|
void |
customizeClient(javax.ws.rs.client.Client client)
Customize the Client generated by the builder.
|
protected void |
setConnectorProvider(javax.ws.rs.client.ClientBuilder builder)
Sets the custom ConnectorProvider to use.
|
customizeBuilder, setSslContextpublic void customizeClient(javax.ws.rs.client.Client client)
ClientConfiguratorCustomize the Client generated by the builder.
customizeClient in interface ClientConfiguratorcustomizeClient in class DefaultConfiguratorclient - The client.protected void setConnectorProvider(javax.ws.rs.client.ClientBuilder builder)
DefaultConfiguratorSets the custom ConnectorProvider to use. Subclasses can override this to be a no-op if they do not want to use the custom connector, or wish to set their own.
setConnectorProvider in class DefaultConfiguratorbuilder - The builder to set the provider onCopyright © 2016–2021. All rights reserved.