Class NettyConnectionController

java.lang.Object
org.glassfish.jersey.netty.connector.NettyConnectionController

public class NettyConnectionController extends Object
Adjustable connection pooling controller.
  • Constructor Details

    • NettyConnectionController

      public NettyConnectionController()
  • Method Details

    • getConnectionGroup

      public String getConnectionGroup(ClientRequest clientRequest, URI uri, String hostName, int port)
      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.