Package org.eclipse.jetty.client
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 Summary
ConstructorsConstructorDescriptionHttpExchange(HttpDestination destination, HttpRequest request, List<Response.ResponseListener> listeners) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.longDeprecated.Returns the expiration time in nanoseconds.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.voidDeprecated.booleanrequestComplete(Throwable failure) Deprecated.voidDeprecated.booleanresponseComplete(Throwable failure) Deprecated.Deprecated.Deprecated.toString()Deprecated.
-
Constructor Details
-
HttpExchange
public HttpExchange(HttpDestination destination, HttpRequest request, List<Response.ResponseListener> listeners) Deprecated.
-
-
Method Details
-
getConversation
Deprecated. -
getRequest
Deprecated. -
getRequestFailure
Deprecated. -
getResponseListeners
Deprecated. -
getResponse
Deprecated. -
getResponseFailure
Deprecated. -
getExpireNanoTime
public long getExpireNanoTime()Deprecated.Description copied from interface:CyclicTimeouts.ExpirableReturns the expiration time in nanoseconds.
The value to return must be calculated taking into account
System.nanoTime(), for example:expireNanoTime = System.nanoTime() + timeoutNanosReturning
Long.MAX_VALUEindicates that this entity does not expire.- Specified by:
getExpireNanoTimein interfaceCyclicTimeouts.Expirable- Returns:
- the expiration time in nanoseconds, or
Long.MAX_VALUEif this entity does not expire
-
requestComplete
Deprecated. -
responseComplete
Deprecated. -
terminateRequest
Deprecated. -
terminateResponse
Deprecated. -
abort
Deprecated. -
resetResponse
public void resetResponse()Deprecated. -
proceed
Deprecated. -
toString
Deprecated.
-