Package | Description |
---|---|
com.caucho.distcache.websocket | |
com.caucho.hmtp | |
com.caucho.hmtp.server | |
com.caucho.jsmp | |
com.caucho.remote.websocket | |
com.caucho.server.http | |
com.caucho.websocket |
Modifier and Type | Class and Description |
---|---|
class |
WebSocketBareClient
WebSocketClient
|
Modifier and Type | Method and Description |
---|---|
void |
HmtpWebSocketListener.onDisconnect(WebSocketContext context) |
void |
HmtpWebSocketListener.onReadBinary(WebSocketContext context,
java.io.InputStream is)
Reads the next HMTP packet from the stream, returning false on
end of file.
|
void |
HmtpWebSocketListener.onStart(WebSocketContext context) |
Constructor and Description |
---|
HmtpWebSocketContextWriter(WebSocketContext ws) |
Modifier and Type | Method and Description |
---|---|
void |
HmtpClientWebSocketListener.onDisconnect(WebSocketContext context) |
void |
HmtpClientWebSocketListener.onReadBinary(WebSocketContext context,
java.io.InputStream is)
Reads the next HMTP packet from the stream, returning false on
end of file.
|
void |
HmtpClientWebSocketListener.onStart(WebSocketContext context) |
Constructor and Description |
---|
JsmpWebSocketWriter(WebSocketContext context) |
Modifier and Type | Class and Description |
---|---|
class |
WebSocketClient
WebSocketClient
|
class |
WebSocketContextStreamImpl
User facade for http requests.
|
Modifier and Type | Method and Description |
---|---|
WebSocketContext |
FrameInputStream.getContext() |
Modifier and Type | Method and Description |
---|---|
void |
MaskedFrameInputStream.init(WebSocketContext cxt,
java.io.InputStream is) |
void |
FrameInputStream.init(WebSocketContext cxt,
java.io.InputStream is) |
void |
UnmaskedFrameInputStream.init(WebSocketContext cxt,
java.io.InputStream is) |
Constructor and Description |
---|
WebSocketBlockingQueue(WebSocketContext ws,
WebSocketEncoder<T> encoder,
int capacity) |
Modifier and Type | Method and Description |
---|---|
WebSocketContext |
HttpServletRequestImpl.startWebSocket(WebSocketListener listener) |
Modifier and Type | Method and Description |
---|---|
WebSocketContext |
WebSocketServletRequest.startWebSocket(WebSocketListener listener)
Upgrade the current HTTP connection to a WebSocket connection
|
Modifier and Type | Method and Description |
---|---|
void |
WebSocketEncoder.encode(WebSocketContext ws,
T value) |
void |
WebSocketEncoder.flush(WebSocketContext ws) |
void |
WebSocketListener.onClose(WebSocketContext context)
Called when the peer closes the connection gracefully.
|
void |
AbstractWebSocketListener.onClose(WebSocketContext context)
Called when the peer closes the connection gracefully.
|
void |
WebSocketListener.onDisconnect(WebSocketContext context)
Called when the connection disconnects.
|
void |
AbstractWebSocketListener.onDisconnect(WebSocketContext context)
Called when the connection terminates.
|
void |
WebSocketListener.onReadBinary(WebSocketContext context,
java.io.InputStream is)
Called when a binary message is available
|
void |
AbstractWebSocketListener.onReadBinary(WebSocketContext context,
java.io.InputStream is)
Called when a binary message is available
|
void |
WebSocketListener.onReadText(WebSocketContext context,
java.io.Reader is)
Called when a text message is available
|
void |
AbstractWebSocketListener.onReadText(WebSocketContext context,
java.io.Reader is)
Called when a text message is available
|
void |
WebSocketListener.onStart(WebSocketContext context)
Called after the server sends its handshake response.
|
void |
AbstractWebSocketListener.onStart(WebSocketContext context)
Called when the connection is established
|
void |
WebSocketListener.onTimeout(WebSocketContext context)
Called when the connection times out
|
void |
AbstractWebSocketListener.onTimeout(WebSocketContext context)
Called when the connection times out
|