Class AbstractConnectorHttpClientTransport

All Implemented Interfaces:
HttpClientTransport, ClientConnectionFactory, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
Direct Known Subclasses:
HttpClientTransportDynamic, HttpClientTransportOverFCGI, HttpClientTransportOverHTTP, HttpClientTransportOverUnixSockets

@ManagedObject public abstract class AbstractConnectorHttpClientTransport extends AbstractHttpClientTransport
  • Constructor Details

    • AbstractConnectorHttpClientTransport

      protected AbstractConnectorHttpClientTransport(ClientConnector connector)
  • Method Details

    • getClientConnector

      public ClientConnector getClientConnector()
    • getSelectors

      @ManagedAttribute(value="The number of selectors", readonly=true) public int getSelectors()
    • doStart

      protected void doStart() throws Exception
      Description copied from class: ContainerLifeCycle
      Starts the managed lifecycle beans in the order they were added.
      Overrides:
      doStart in class ContainerLifeCycle
      Throws:
      AbstractLifeCycle.StopException - If thrown, the lifecycle will immediately be stopped.
      Exception - If there was a problem starting. Will cause a transition to FAILED state
    • connect

      public void connect(SocketAddress address, Map<String,Object> context)
      Description copied from interface: HttpClientTransport
      Establishes a physical connection to the given address.
      Parameters:
      address - the address to connect to
      context - the context information to establish the connection
    • connect

      public void connect(InetSocketAddress address, Map<String,Object> context)
      Description copied from interface: HttpClientTransport
      Establishes a physical connection to the given address.
      Parameters:
      address - the address to connect to
      context - the context information to establish the connection