org.eclipse.jetty.websocket
Class WebSocketServletConnectionD00

java.lang.Object
  extended by org.eclipse.jetty.io.AbstractConnection
      extended by org.eclipse.jetty.websocket.WebSocketConnectionD00
          extended by org.eclipse.jetty.websocket.WebSocketServletConnectionD00
All Implemented Interfaces:
Connection, AsyncConnection, WebSocket.Connection, WebSocket.FrameConnection, WebSocketConnection, WebSocketServletConnection

public class WebSocketServletConnectionD00
extends WebSocketConnectionD00
implements WebSocketServletConnection


Field Summary
 
Fields inherited from class org.eclipse.jetty.websocket.WebSocketConnectionD00
LENGTH_FRAME, SENTINEL_FRAME
 
Fields inherited from class org.eclipse.jetty.io.AbstractConnection
_endp
 
Constructor Summary
WebSocketServletConnectionD00(WebSocketFactory factory, WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, long timestamp, int maxIdleTime, String protocol)
           
 
Method Summary
 void handshake(HttpServletRequest request, HttpServletResponse response, String subprotocol)
           
 void onClose()
          Called when the connection is closed
 
Methods inherited from class org.eclipse.jetty.websocket.WebSocketConnectionD00
binaryOpcode, close, close, continuationOpcode, disconnect, doTheHixieHixieShake, fillBuffersFrom, finMask, getConnection, getExtensions, getMaxBinaryMessageSize, getMaxIdleTime, getMaxTextMessageSize, getProtocol, handle, isAllowFrameFragmentation, isBinary, isClose, isContinuation, isControl, isIdle, isMessageComplete, isMore, isOpen, isPing, isPong, isSuspended, isText, onFrameHandshake, onInputShutdown, onWebsocketOpen, sendControl, sendFrame, sendMessage, sendMessage, setAllowFrameFragmentation, setHixieKeys, setMaxBinaryMessageSize, setMaxIdleTime, setMaxTextMessageSize, shutdown, textOpcode
 
Methods inherited from class org.eclipse.jetty.io.AbstractConnection
getEndPoint, getTimeStamp, onIdleExpired, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jetty.websocket.WebSocketConnection
fillBuffersFrom, getConnection, getExtensions, shutdown
 
Methods inherited from interface org.eclipse.jetty.io.nio.AsyncConnection
onInputShutdown
 
Methods inherited from interface org.eclipse.jetty.io.Connection
getTimeStamp, handle, isIdle, isSuspended, onIdleExpired
 

Constructor Detail

WebSocketServletConnectionD00

public WebSocketServletConnectionD00(WebSocketFactory factory,
                                     WebSocket websocket,
                                     EndPoint endpoint,
                                     WebSocketBuffers buffers,
                                     long timestamp,
                                     int maxIdleTime,
                                     String protocol)
                              throws IOException
Throws:
IOException
Method Detail

handshake

public void handshake(HttpServletRequest request,
                      HttpServletResponse response,
                      String subprotocol)
               throws IOException
Specified by:
handshake in interface WebSocketServletConnection
Throws:
IOException

onClose

public void onClose()
Description copied from interface: Connection
Called when the connection is closed

Specified by:
onClose in interface Connection
Overrides:
onClose in class WebSocketConnectionD00


Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.