Class NettyConnectorProvider
java.lang.Object
org.glassfish.jersey.netty.connector.NettyConnectorProvider
- All Implemented Interfaces:
ConnectorProvider
Netty provider for Jersey
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.
- Since:
- 2.24
- Author:
- Pavel Bucek
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NettyConnectorProvider
public NettyConnectorProvider()
-
-
Method Details
-
getConnector
- Specified by:
getConnectorin interfaceConnectorProvider
-