Class PoolingAsyncClientConnectionManager.InternalConnectionEndpoint

    • 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.
      • get

        public org.apache.hc.core5.http.HttpConnection get()
        Specified by:
        get in interface ConnectionHolder