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.NonBuffering
clientConfigDecorators
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, setSslContext
public void customizeClient(javax.ws.rs.client.Client client)
ClientConfigurator
Customize the Client generated by the builder.
customizeClient
in interface ClientConfigurator
customizeClient
in class DefaultConfigurator
client
- The client.protected void setConnectorProvider(javax.ws.rs.client.ClientBuilder builder)
DefaultConfigurator
Sets 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 DefaultConfigurator
builder
- The builder to set the provider onCopyright © 2016–2019. All rights reserved.