org.atmosphere.container
Class TomcatWebSocketHandler
java.lang.Object
org.apache.catalina.websocket.StreamInbound
org.atmosphere.container.TomcatWebSocketHandler
- All Implemented Interfaces:
- org.apache.coyote.http11.upgrade.UpgradeInbound
public class TomcatWebSocketHandler
- extends org.apache.catalina.websocket.StreamInbound
| Methods inherited from class org.apache.catalina.websocket.StreamInbound |
getOutboundByteBufferSize, getOutboundCharBufferSize, getWsOutbound, onData, onUpgradeComplete, setOutboundByteBufferSize, setOutboundCharBufferSize, setUpgradeOutbound, setUpgradeProcessor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TomcatWebSocketHandler
public TomcatWebSocketHandler(AtmosphereRequest request,
AtmosphereFramework framework,
WebSocketProcessor webSocketProcessor)
onOpen
protected void onOpen(org.apache.catalina.websocket.WsOutbound outbound)
- Overrides:
onOpen in class org.apache.catalina.websocket.StreamInbound
onClose
protected void onClose(int closeCode)
- Overrides:
onClose in class org.apache.catalina.websocket.StreamInbound
onTextMessage
protected void onTextMessage(CharBuffer message)
throws IOException
- Throws:
IOException
onBinaryData
protected final void onBinaryData(InputStream is)
throws IOException
- Specified by:
onBinaryData in class org.apache.catalina.websocket.StreamInbound
- Throws:
IOException
onTextData
protected final void onTextData(Reader r)
throws IOException
- Specified by:
onTextData in class org.apache.catalina.websocket.StreamInbound
- Throws:
IOException
Copyright © 2012. All Rights Reserved.