public class HttpConversation extends Object implements Attributes
| Constructor and Description |
|---|
HttpConversation(HttpClient client,
long id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort(Throwable cause) |
void |
clearAttributes() |
void |
complete() |
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
Deque<HttpExchange> |
getExchanges() |
List<Response.ResponseListener> |
getResponseListeners() |
long |
id() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object attribute) |
void |
setResponseListeners(List<Response.ResponseListener> listeners) |
String |
toString() |
public HttpConversation(HttpClient client, long id)
public long id()
public Deque<HttpExchange> getExchanges()
public List<Response.ResponseListener> getResponseListeners()
public void setResponseListeners(List<Response.ResponseListener> listeners)
public void complete()
public Object getAttribute(String name)
getAttribute in interface Attributespublic void setAttribute(String name, Object attribute)
setAttribute in interface Attributespublic void removeAttribute(String name)
removeAttribute in interface Attributespublic Enumeration<String> getAttributeNames()
getAttributeNames in interface Attributespublic void clearAttributes()
clearAttributes in interface Attributespublic boolean abort(Throwable cause)
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.