|
||||||||||
| 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
org.mortbay.jetty.client.ContentExchange
org.mortbay.cometd.client.BayeuxClient.Exchange
org.mortbay.cometd.client.BayeuxClient.Handshake
protected class BayeuxClient.Handshake
The Bayeux handshake exchange. Negotiates a client Id and initializes the protocol.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.mortbay.jetty.client.HttpExchange |
|---|
HttpExchange.CachedExchange, HttpExchange.ContentExchange |
| Field Summary | |
|---|---|
static java.lang.String |
__HANDSHAKE
|
| Fields inherited from class org.mortbay.jetty.client.ContentExchange |
|---|
_contentLength, _encoding, _fileForUpload, _responseContent, _responseStatus |
| Fields inherited from class org.mortbay.jetty.client.CachedExchange |
|---|
_responseFields |
| 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 |
| Method Summary | |
|---|---|
protected void |
onConnectionFailed(java.lang.Throwable ex)
|
protected void |
onException(java.lang.Throwable ex)
|
protected void |
onExpire()
|
protected void |
onResponseComplete()
|
| Methods inherited from class org.mortbay.cometd.client.BayeuxClient.Exchange |
|---|
getBackoff, incBackoff, onResponseHeader, onResponseStatus, recycle, resend, setJson, setMessage |
| Methods inherited from class org.mortbay.jetty.client.ContentExchange |
|---|
getFileForUpload, getResponseBytes, getResponseContent, getResponseStatus, onResponseContent, onRetry, setFileForUpload, writeResponseBytesTo |
| Methods inherited from class org.mortbay.jetty.client.CachedExchange |
|---|
getResponseFields |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String __HANDSHAKE
| Method Detail |
|---|
protected void onResponseComplete()
throws java.io.IOException
onResponseComplete in class BayeuxClient.Exchangejava.io.IOExceptionprotected void onExpire()
onExpire in class HttpExchangeprotected void onConnectionFailed(java.lang.Throwable ex)
onConnectionFailed in class HttpExchangeprotected void onException(java.lang.Throwable ex)
onException in class HttpExchange
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||