Class MinimalHttpAsyncClient.InternalAsyncClientEndpoint

  • Enclosing class:
    MinimalHttpAsyncClient

    private class MinimalHttpAsyncClient.InternalAsyncClientEndpoint
    extends org.apache.hc.core5.http.nio.AsyncClientEndpoint
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(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)  
      boolean isConnected()  
      (package private) boolean isReleased()  
      void releaseAndDiscard()  
      void releaseAndReuse()  
      void setSocketTimeout​(org.apache.hc.core5.util.Timeout timeout)  
      • Methods inherited from class org.apache.hc.core5.http.nio.AsyncClientEndpoint

        execute, execute, execute, execute
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • released

        private final java.util.concurrent.atomic.AtomicBoolean released
    • Method Detail

      • isReleased

        boolean isReleased()
      • isConnected

        public boolean isConnected()
        Specified by:
        isConnected in class org.apache.hc.core5.http.nio.AsyncClientEndpoint
      • execute

        public void execute​(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)
        Specified by:
        execute in class org.apache.hc.core5.http.nio.AsyncClientEndpoint
      • setSocketTimeout

        public void setSocketTimeout​(org.apache.hc.core5.util.Timeout timeout)
      • releaseAndReuse

        public void releaseAndReuse()
        Specified by:
        releaseAndReuse in class org.apache.hc.core5.http.nio.AsyncClientEndpoint
      • releaseAndDiscard

        public void releaseAndDiscard()
        Specified by:
        releaseAndDiscard in class org.apache.hc.core5.http.nio.AsyncClientEndpoint