public class HttpExchange extends Object
Constructor and Description |
---|
HttpExchange(HttpDestination destination,
HttpRequest request,
List<Response.ResponseListener> listeners) |
Modifier and Type | Method and Description |
---|---|
boolean |
abort(Throwable cause) |
void |
associate(HttpChannel channel) |
void |
disassociate(HttpChannel channel) |
HttpConversation |
getConversation() |
Request |
getRequest() |
Throwable |
getRequestFailure() |
HttpResponse |
getResponse() |
Throwable |
getResponseFailure() |
List<Response.ResponseListener> |
getResponseListeners() |
void |
proceed(Throwable failure) |
boolean |
requestComplete() |
void |
resetResponse(boolean success) |
boolean |
responseComplete() |
Result |
terminateRequest(Throwable failure) |
Result |
terminateResponse(Throwable failure) |
String |
toString() |
public HttpExchange(HttpDestination destination, HttpRequest request, List<Response.ResponseListener> listeners)
public HttpConversation getConversation()
public Request getRequest()
public Throwable getRequestFailure()
public List<Response.ResponseListener> getResponseListeners()
public HttpResponse getResponse()
public Throwable getResponseFailure()
public void associate(HttpChannel channel)
public void disassociate(HttpChannel channel)
public boolean requestComplete()
public boolean responseComplete()
public boolean abort(Throwable cause)
public void resetResponse(boolean success)
public void proceed(Throwable failure)
Copyright © 1995-2015 Webtide. All Rights Reserved.