org.eclipse.jetty.websocket
Class WebSocketServletConnectionRFC6455

java.lang.Object
  extended by org.eclipse.jetty.io.AbstractConnection
      extended by org.eclipse.jetty.websocket.WebSocketConnectionRFC6455
          extended by org.eclipse.jetty.websocket.WebSocketServletConnectionRFC6455
All Implemented Interfaces:
Connection, AsyncConnection, WebSocketConnection, WebSocketServletConnection

public class WebSocketServletConnectionRFC6455
extends WebSocketConnectionRFC6455
implements WebSocketServletConnection


Field Summary
 
Fields inherited from class org.eclipse.jetty.io.AbstractConnection
_endp
 
Constructor Summary
WebSocketServletConnectionRFC6455(WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, long timestamp, int maxIdleTime, String protocol, List<Extension> extensions, int draft)
           
WebSocketServletConnectionRFC6455(WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, long timestamp, int maxIdleTime, String protocol, List<Extension> extensions, int draft, MaskGen maskgen)
           
 
Method Summary
 void handshake(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String subprotocol)
           
 
Methods inherited from class org.eclipse.jetty.websocket.WebSocketConnectionRFC6455
closeIn, closeOut, fillBuffersFrom, getConnection, getExtensions, handle, hashKey, isIdle, isSuspended, onClose, onFrameHandshake, onIdleExpired, onInputShutdown, onWebSocketOpen, toString
 
Methods inherited from class org.eclipse.jetty.io.AbstractConnection
getEndPoint, getTimeStamp
 
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
 
Methods inherited from interface org.eclipse.jetty.io.nio.AsyncConnection
onInputShutdown
 
Methods inherited from interface org.eclipse.jetty.io.Connection
getTimeStamp, handle, isIdle, isSuspended, onClose, onIdleExpired
 

Constructor Detail

WebSocketServletConnectionRFC6455

public WebSocketServletConnectionRFC6455(WebSocket websocket,
                                         EndPoint endpoint,
                                         WebSocketBuffers buffers,
                                         long timestamp,
                                         int maxIdleTime,
                                         String protocol,
                                         List<Extension> extensions,
                                         int draft,
                                         MaskGen maskgen)
                                  throws IOException
Throws:
IOException

WebSocketServletConnectionRFC6455

public WebSocketServletConnectionRFC6455(WebSocket websocket,
                                         EndPoint endpoint,
                                         WebSocketBuffers buffers,
                                         long timestamp,
                                         int maxIdleTime,
                                         String protocol,
                                         List<Extension> extensions,
                                         int draft)
                                  throws IOException
Throws:
IOException
Method Detail

handshake

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


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