|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebSocketStreamingHandler
A Streaming Interface for WebSocket. When implemented, the WebSocketProcessor will invoke this class
instead of reading bytes in memory.
| Method Summary | |
|---|---|
void |
onBinaryStream(WebSocket webSocket,
InputStream inputStream)
Invoked when a byte message is received. |
void |
onTextStream(WebSocket webSocket,
Reader reader)
Invoked when a String message is received |
| Methods inherited from interface org.atmosphere.websocket.WebSocketHandler |
|---|
onByteMessage, onClose, onError, onOpen, onTextMessage |
| Method Detail |
|---|
void onBinaryStream(WebSocket webSocket,
InputStream inputStream)
throws IOException
webSocket - a WebSocketinputStream -
IOException
void onTextStream(WebSocket webSocket,
Reader reader)
throws IOException
webSocket - a WebSocketreader -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||