Class AbstractConnectorHttpClientTransport

    • Constructor Detail

      • AbstractConnectorHttpClientTransport

        protected AbstractConnectorHttpClientTransport​(int selectors)
    • Method Detail

      • doStart

        protected void doStart()
                        throws java.lang.Exception
        Description copied from class: ContainerLifeCycle
        Starts the managed lifecycle beans in the order they were added.
        Overrides:
        doStart in class ContainerLifeCycle
        Throws:
        java.lang.Exception
      • doStop

        protected void doStop()
                       throws java.lang.Exception
        Description copied from class: ContainerLifeCycle
        Stops the managed lifecycle beans in the reverse order they were added.
        Overrides:
        doStop in class ContainerLifeCycle
        Throws:
        java.lang.Exception
      • connect

        public void connect​(java.net.InetSocketAddress address,
                            java.util.Map<java.lang.String,​java.lang.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
      • connectFailed

        protected void connectFailed​(java.util.Map<java.lang.String,​java.lang.Object> context,
                                     java.lang.Throwable x)
      • configure

        protected void configure​(HttpClient client,
                                 java.nio.channels.SocketChannel channel)
                          throws java.io.IOException
        Throws:
        java.io.IOException