@Beta public class NettyConnectorProvider extends Object implements ConnectorProvider
connectors.
The following connector configuration properties are supported:
ClientProperties.CONNECT_TIMEOUTClientProperties.READ_TIMEOUTClientProperties.PROXY_URIClientProperties.PROXY_USERNAMEClientProperties.PROXY_PASSWORD
If a ClientResponse is obtained and an entity is not read from the response then
InboundMessageContext.close() MUST be called after processing the response to release
connection-based resources.
If a response entity is obtained that is an instance of Closeable then the instance MUST
be closed after processing the entity to release connection-based resources.
| Constructor and Description |
|---|
NettyConnectorProvider() |
| Modifier and Type | Method and Description |
|---|---|
Connector |
getConnector(jakarta.ws.rs.client.Client client,
jakarta.ws.rs.core.Configuration runtimeConfig) |
public Connector getConnector(jakarta.ws.rs.client.Client client, jakarta.ws.rs.core.Configuration runtimeConfig)
getConnector in interface ConnectorProviderCopyright © 2007-2020, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.