Class NettyConnectionController
java.lang.Object
org.glassfish.jersey.netty.connector.NettyConnectionController
Adjustable connection pooling controller.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConnectionGroup(ClientRequest clientRequest, URI uri, String hostName, int port) Get the group of connections to be pooled, purged idle, and reused together.
-
Constructor Details
-
NettyConnectionController
public NettyConnectionController()
-
-
Method Details
-
getConnectionGroup
Get the group of connections to be pooled, purged idle, and reused together.- Parameters:
clientRequest- the HTTP client request.uri- the uri for the HTTP client request.hostName- the hostname for the request. Can differ from the hostname in the uri based on other request attributes.port- the real port for the request. Can differ from the port in the uri based on other request attributes.- Returns:
- the group of connections identifier.
-