Class NettyConnectorProvider

java.lang.Object
org.glassfish.jersey.netty.connector.NettyConnectorProvider
All Implemented Interfaces:
ConnectorProvider

@Beta public class NettyConnectorProvider extends Object implements ConnectorProvider
Netty provider for Jersey connectors.

The following connector configuration properties are supported:

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