com.sun.grizzly.websockets
Class BaseServerWebSocket
java.lang.Object
com.sun.grizzly.websockets.BaseWebSocket
com.sun.grizzly.websockets.BaseServerWebSocket
- All Implemented Interfaces:
- WebSocket
- Direct Known Subclasses:
- ChatWebSocket
public class BaseServerWebSocket
- extends BaseWebSocket
Methods inherited from class com.sun.grizzly.websockets.BaseWebSocket |
add, close, close, close, getListeners, getNetworkHandler, isConnected, onClose, onConnect, onFragment, onMessage, onMessage, onPing, onPong, remove, send, send, setNetworkHandler, stream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseServerWebSocket
public BaseServerWebSocket(WebSocketListener... listeners)
getRequest
public HttpServletRequest getRequest()
throws IOException
- Throws:
IOException
getResponse
public HttpServletResponse getResponse()
throws IOException
- Throws:
IOException
Copyright © 2012 Oracle Corporation. All Rights Reserved.