Class HttpExchange

java.lang.Object
org.eclipse.jetty.client.HttpExchange
All Implemented Interfaces:
CyclicTimeouts.Expirable

@Deprecated(since="2021-05-27") public class HttpExchange extends Object implements CyclicTimeouts.Expirable
Deprecated.
  • Constructor Details

  • Method Details

    • getConversation

      public HttpConversation getConversation()
      Deprecated.
    • getRequest

      public HttpRequest getRequest()
      Deprecated.
    • getRequestFailure

      public Throwable getRequestFailure()
      Deprecated.
    • getResponseListeners

      public List<Response.ResponseListener> getResponseListeners()
      Deprecated.
    • getResponse

      public HttpResponse getResponse()
      Deprecated.
    • getResponseFailure

      public Throwable getResponseFailure()
      Deprecated.
    • getExpireNanoTime

      public long getExpireNanoTime()
      Deprecated.
      Description copied from interface: CyclicTimeouts.Expirable

      Returns the expiration time in nanoseconds.

      The value to return must be calculated taking into account System.nanoTime(), for example:

      expireNanoTime = System.nanoTime() + timeoutNanos

      Returning Long.MAX_VALUE indicates that this entity does not expire.

      Specified by:
      getExpireNanoTime in interface CyclicTimeouts.Expirable
      Returns:
      the expiration time in nanoseconds, or Long.MAX_VALUE if this entity does not expire
    • requestComplete

      public boolean requestComplete(Throwable failure)
      Deprecated.
    • responseComplete

      public boolean responseComplete(Throwable failure)
      Deprecated.
    • terminateRequest

      public Result terminateRequest()
      Deprecated.
    • terminateResponse

      public Result terminateResponse()
      Deprecated.
    • abort

      public boolean abort(Throwable failure)
      Deprecated.
    • resetResponse

      public void resetResponse()
      Deprecated.
    • proceed

      public void proceed(Throwable failure)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object