public class HttpConversation extends Object implements Attributes
Constructor and Description |
---|
HttpConversation(HttpClient client,
long id) |
Modifier and Type | Method and Description |
---|---|
void |
clearAttributes() |
void |
complete() |
Deque<HttpExchange> |
exchanges() |
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
long |
id() |
HttpExchange |
last() |
void |
last(HttpExchange exchange) |
Response.Listener |
listener() |
void |
listener(Response.Listener listener) |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object attribute) |
String |
toString() |
public HttpConversation(HttpClient client, long id)
public long id()
public Deque<HttpExchange> exchanges()
public Response.Listener listener()
public void listener(Response.Listener listener)
public HttpExchange last()
public void last(HttpExchange exchange)
public void complete()
public Object getAttribute(String name)
getAttribute
in interface Attributes
public void setAttribute(String name, Object attribute)
setAttribute
in interface Attributes
public void removeAttribute(String name)
removeAttribute
in interface Attributes
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface Attributes
public void clearAttributes()
clearAttributes
in interface Attributes
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.