Class HttpExchange
java.lang.Object
org.eclipse.jetty.client.transport.HttpExchange
- All Implemented Interfaces:
 CyclicTimeouts.Expirable
- 
Constructor Summary
ConstructorsConstructorDescriptionHttpExchange(HttpDestination destination, HttpRequest request) HttpExchange(HttpDestination destination, HttpRequest request, ResponseListeners listeners)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidlongReturns the expiration time in nanoseconds.booleanvoidbooleanrequestComplete(Throwable failure) voidbooleanresponseComplete(Throwable failure) toString() 
- 
Constructor Details
- 
HttpExchange
 - 
HttpExchange
 
 - 
 - 
Method Details
- 
getHttpDestination
 - 
getConversation
 - 
getRequest
 - 
getRequestFailure
 - 
getResponseListeners
 - 
getResponse
 - 
getResponseFailure
 - 
getExpireNanoTime
public long getExpireNanoTime()Description copied from interface:CyclicTimeouts.ExpirableReturns the expiration time in nanoseconds.
The value to return must be calculated taking into account the current nanoTime, for example:
expireNanoTime = NanoTime.now() + 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
 - 
isResponseComplete
public boolean isResponseComplete() - 
responseComplete
 - 
terminateRequest
 - 
terminateResponse
 - 
abort
 - 
resetResponse
public void resetResponse() - 
proceed
 - 
toString
 
 -