com.sun.grizzly.websockets
Class BaseServerWebSocket

java.lang.Object
  extended by com.sun.grizzly.websockets.BaseWebSocket
      extended by com.sun.grizzly.websockets.BaseServerWebSocket
All Implemented Interfaces:
WebSocket
Direct Known Subclasses:
ChatWebSocket

public class BaseServerWebSocket
extends BaseWebSocket


Field Summary
 
Fields inherited from class com.sun.grizzly.websockets.BaseWebSocket
logger
 
Fields inherited from interface com.sun.grizzly.websockets.WebSocket
END_POINT_GOING_DOWN, INVALID_DATA, MESSAGE_TOO_LARGE, NORMAL_CLOSURE, PROTOCOL_ERROR
 
Constructor Summary
BaseServerWebSocket(WebSocketListener... listeners)
           
 
Method Summary
 HttpServletRequest getRequest()
           
 HttpServletResponse getResponse()
           
 
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
 

Constructor Detail

BaseServerWebSocket

public BaseServerWebSocket(WebSocketListener... listeners)
Method Detail

getRequest

public HttpServletRequest getRequest()
                              throws IOException
Throws:
IOException

getResponse

public HttpServletResponse getResponse()
                                throws IOException
Throws:
IOException


Copyright © 2012 Oracle Corporation. All Rights Reserved.