Class FutureResponseListener

    • Constructor Detail

      • FutureResponseListener

        public FutureResponseListener​(Request request)
        Deprecated.
      • FutureResponseListener

        public FutureResponseListener​(Request request,
                                      int maxLength)
        Deprecated.
    • Method Detail

      • getRequest

        public Request getRequest()
        Deprecated.
      • cancel

        public boolean cancel​(boolean mayInterruptIfRunning)
        Deprecated.
        Specified by:
        cancel in interface java.util.concurrent.Future<ContentResponse>
      • isCancelled

        public boolean isCancelled()
        Deprecated.
        Specified by:
        isCancelled in interface java.util.concurrent.Future<ContentResponse>
      • isDone

        public boolean isDone()
        Deprecated.
        Specified by:
        isDone in interface java.util.concurrent.Future<ContentResponse>
      • get

        public ContentResponse get()
                            throws java.lang.InterruptedException,
                                   java.util.concurrent.ExecutionException
        Deprecated.
        Specified by:
        get in interface java.util.concurrent.Future<ContentResponse>
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
      • get

        public ContentResponse get​(long timeout,
                                   java.util.concurrent.TimeUnit unit)
                            throws java.lang.InterruptedException,
                                   java.util.concurrent.ExecutionException,
                                   java.util.concurrent.TimeoutException
        Deprecated.
        Specified by:
        get in interface java.util.concurrent.Future<ContentResponse>
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
        java.util.concurrent.TimeoutException