Class HttpRequestTaskCallable<V>

java.lang.Object
org.apache.http.impl.client.HttpRequestTaskCallable<V>
All Implemented Interfaces:
Callable<V>

class HttpRequestTaskCallable<V> extends Object implements Callable<V>
  • Field Details

    • request

      private final HttpUriRequest request
    • httpclient

      private final HttpClient httpclient
    • cancelled

      private final AtomicBoolean cancelled
    • scheduled

      private final long scheduled
    • started

      private long started
    • ended

      private long ended
    • context

      private final org.apache.http.protocol.HttpContext context
    • responseHandler

      private final ResponseHandler<V> responseHandler
    • callback

      private final org.apache.http.concurrent.FutureCallback<V> callback
    • metrics

      private final FutureRequestExecutionMetrics metrics
  • Constructor Details

  • Method Details

    • getScheduled

      public long getScheduled()
    • getStarted

      public long getStarted()
    • getEnded

      public long getEnded()
    • call

      public V call() throws Exception
      Specified by:
      call in interface Callable<V>
      Throws:
      Exception
    • cancel

      public void cancel()