public class WebSocketServletConnectionRFC6455 extends WebSocketConnectionRFC6455 implements WebSocketServletConnection
_endp| Constructor and Description |
|---|
WebSocketServletConnectionRFC6455(WebSocketFactory factory,
WebSocket websocket,
EndPoint endpoint,
WebSocketBuffers buffers,
long timestamp,
int maxIdleTime,
String protocol,
List<Extension> extensions,
int draft) |
| Modifier and Type | Method and Description |
|---|---|
void |
handshake(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String subprotocol) |
void |
onClose()
Called after the connection is closed
|
closeIn, closeOut, fillBuffersFrom, getConnection, getExtensions, handle, hashKey, isIdle, isSuspended, onFrameHandshake, onIdleExpired, onInputShutdown, onWebSocketOpen, shutdown, toStringgetEndPoint, getTimeStampclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfillBuffersFrom, getConnection, getExtensions, shutdownonInputShutdowngetTimeStamp, handle, isIdle, isSuspended, onIdleExpiredpublic WebSocketServletConnectionRFC6455(WebSocketFactory factory, WebSocket websocket, EndPoint endpoint, WebSocketBuffers buffers, long timestamp, int maxIdleTime, String protocol, List<Extension> extensions, int draft) throws IOException
IOExceptionpublic void handshake(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String subprotocol)
throws IOException
handshake in interface WebSocketServletConnectionIOExceptionpublic void onClose()
ConnectiononClose in interface ConnectiononClose in class WebSocketConnectionRFC6455Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.