|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mortbay.jetty.client.HttpExchange
org.mortbay.jetty.client.CachedExchange
public class CachedExchange
An exchange that caches response status and fields for later use.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.mortbay.jetty.client.HttpExchange |
---|
HttpExchange.CachedExchange, HttpExchange.ContentExchange |
Field Summary |
---|
Fields inherited from class org.mortbay.jetty.client.HttpExchange |
---|
STATUS_COMPLETED, STATUS_EXCEPTED, STATUS_EXPIRED, STATUS_PARSING_CONTENT, STATUS_PARSING_HEADERS, STATUS_SENDING_REQUEST, STATUS_START, STATUS_WAITING_FOR_COMMIT, STATUS_WAITING_FOR_CONNECTION, STATUS_WAITING_FOR_RESPONSE |
Constructor Summary | |
---|---|
CachedExchange(boolean cacheFields)
|
Method Summary | |
---|---|
HttpFields |
getResponseFields()
|
int |
getResponseStatus()
|
protected void |
onResponseHeader(Buffer name,
Buffer value)
|
protected void |
onResponseStatus(Buffer version,
int status,
Buffer reason)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CachedExchange(boolean cacheFields)
Method Detail |
---|
public int getResponseStatus()
public HttpFields getResponseFields()
protected void onResponseStatus(Buffer version, int status, Buffer reason) throws java.io.IOException
onResponseStatus
in class HttpExchange
java.io.IOException
protected void onResponseHeader(Buffer name, Buffer value) throws java.io.IOException
onResponseHeader
in class HttpExchange
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |