org.eclipse.jetty.websocket
Class WebSocketServletConnectionRFC6455
java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.websocket.WebSocketConnectionRFC6455
org.eclipse.jetty.websocket.WebSocketServletConnectionRFC6455
- All Implemented Interfaces:
- Connection, AsyncConnection, WebSocketConnection, WebSocketServletConnection
public class WebSocketServletConnectionRFC6455
- extends WebSocketConnectionRFC6455
- implements WebSocketServletConnection
Methods inherited from class org.eclipse.jetty.websocket.WebSocketConnectionRFC6455 |
closeIn, closeOut, fillBuffersFrom, getConnection, getExtensions, handle, hashKey, isIdle, isSuspended, onFrameHandshake, onIdleExpired, onInputShutdown, onWebSocketOpen, shutdown, toString |
WebSocketServletConnectionRFC6455
public WebSocketServletConnectionRFC6455(WebSocketFactory factory,
WebSocket websocket,
EndPoint endpoint,
WebSocketBuffers buffers,
long timestamp,
int maxIdleTime,
String protocol,
List<Extension> extensions,
int draft)
throws IOException
- Throws:
IOException
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 WebSocketConnectionRFC6455
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.