Class HandshakeRFC6455
- java.lang.Object
-
- org.eclipse.jetty.websocket.server.HandshakeRFC6455
-
- All Implemented Interfaces:
WebSocketHandshake
public class HandshakeRFC6455 extends java.lang.Object implements WebSocketHandshake
WebSocket Handshake for RFC 6455.
-
-
Field Summary
Fields Modifier and Type Field Description static int
VERSION
RFC 6455 - Sec-WebSocket-Version
-
Constructor Summary
Constructors Constructor Description HandshakeRFC6455()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doHandshakeResponse(ServletUpgradeRequest request, ServletUpgradeResponse response)
Formulate a WebSocket upgrade handshake response.
-
-
-
Field Detail
-
VERSION
public static final int VERSION
RFC 6455 - Sec-WebSocket-Version- See Also:
- Constant Field Values
-
-
Method Detail
-
doHandshakeResponse
public void doHandshakeResponse(ServletUpgradeRequest request, ServletUpgradeResponse response) throws java.io.IOException
Description copied from interface:WebSocketHandshake
Formulate a WebSocket upgrade handshake response.- Specified by:
doHandshakeResponse
in interfaceWebSocketHandshake
- Parameters:
request
- the requestresponse
- the response- Throws:
java.io.IOException
- if unable to handshake
-
-