org.glassfish.tyrus.grizzly
Class GrizzlySocket

java.lang.Object
  extended by org.glassfish.grizzly.websockets.DefaultWebSocket
      extended by org.glassfish.tyrus.grizzly.GrizzlySocket
All Implemented Interfaces:
org.glassfish.grizzly.websockets.WebSocket

public class GrizzlySocket
extends org.glassfish.grizzly.websockets.DefaultWebSocket

Socket used for the Grizzly SPI implementation.

Author:
Stepan Kopriva (stepan.kopriva at oracle.com)

Field Summary
 
Fields inherited from class org.glassfish.grizzly.websockets.DefaultWebSocket
protocolHandler
 
Fields inherited from interface org.glassfish.grizzly.websockets.WebSocket
ABNORMAL_CLOSE, END_POINT_GOING_DOWN, INVALID_DATA, MESSAGE_TOO_LARGE, NO_STATUS_CODE, NORMAL_CLOSURE, PROTOCOL_ERROR
 
Constructor Summary
GrizzlySocket(org.glassfish.grizzly.websockets.ProtocolHandler protocolHandler, org.glassfish.grizzly.http.HttpRequestPacket request, org.glassfish.grizzly.websockets.WebSocketListener... listeners)
           
 
Method Summary
 org.glassfish.grizzly.http.HttpRequestPacket getRequest()
          Returns the http request used for the handshake before opening this socket.
 
Methods inherited from class org.glassfish.grizzly.websockets.DefaultWebSocket
add, close, close, close, getListeners, getUpgradeRequest, isConnected, onClose, onConnect, onFragment, onFragment, onMessage, onMessage, onPing, onPong, remove, send, send, sendPing, sendPong, setClosed, stream, stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrizzlySocket

public GrizzlySocket(org.glassfish.grizzly.websockets.ProtocolHandler protocolHandler,
                     org.glassfish.grizzly.http.HttpRequestPacket request,
                     org.glassfish.grizzly.websockets.WebSocketListener... listeners)
Method Detail

getRequest

public org.glassfish.grizzly.http.HttpRequestPacket getRequest()
Returns the http request used for the handshake before opening this socket.

Returns:
http request used for the handshake.


Copyright © 2012. All Rights Reserved.