@Beta public class NettyConnectorProvider extends Object implements ConnectorProvider
connectors
.
The following connector configuration properties are supported:
ClientProperties.CONNECT_TIMEOUT
ClientProperties.READ_TIMEOUT
ClientProperties.PROXY_URI
ClientProperties.PROXY_USERNAME
ClientProperties.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 ConnectorProvider
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.