Class PoolingAsyncClientConnectionManager.InternalConnectionEndpoint

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.apache.hc.core5.io.ModalCloseable, org.apache.hc.core5.util.Identifiable
    Enclosing class:
    PoolingAsyncClientConnectionManager

    static class PoolingAsyncClientConnectionManager.InternalConnectionEndpoint
    extends AsyncConnectionEndpoint
    implements org.apache.hc.core5.util.Identifiable
    • Field Detail

      • id

        private final java.lang.String id
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface org.apache.hc.core5.util.Identifiable
      • close

        public void close​(org.apache.hc.core5.io.CloseMode closeMode)
        Specified by:
        close in interface org.apache.hc.core5.io.ModalCloseable
      • execute

        public void execute​(java.lang.String exchangeId,
                            org.apache.hc.core5.http.nio.AsyncClientExchangeHandler exchangeHandler,
                            org.apache.hc.core5.http.nio.HandlerFactory<org.apache.hc.core5.http.nio.AsyncPushConsumer> pushHandlerFactory,
                            org.apache.hc.core5.http.protocol.HttpContext context)
        Description copied from class: AsyncConnectionEndpoint
        Initiates a message exchange using the given handler.
        Specified by:
        execute in class AsyncConnectionEndpoint
        Parameters:
        exchangeId - unique operation ID or null.
        exchangeHandler - the message exchange handler.
        pushHandlerFactory - the push handler factory.
        context - the execution context.