org.jboss.websockets.oio.internal.protocol.ietf07
Class Hybi07Handshake
java.lang.Object
org.jboss.websockets.oio.internal.Handshake
org.jboss.websockets.oio.internal.protocol.ietf07.Hybi07Handshake
- Direct Known Subclasses:
- Hybi08Handshake, Hybi13Handshake
public class Hybi07Handshake
- extends Handshake
The handshaking protocol implementation for Hybi-07.
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hybi07Handshake
protected Hybi07Handshake(String version)
Hybi07Handshake
public Hybi07Handshake()
getWebSocket
public OioWebSocket getWebSocket(HttpRequestBridge request,
HttpResponseBridge response,
ClosingStrategy closingStrategy)
throws IOException
- Specified by:
getWebSocket
in class Handshake
- Throws:
IOException
matches
public boolean matches(HttpRequestBridge request)
- Specified by:
matches
in class Handshake
generateResponse
public byte[] generateResponse(HttpRequestBridge request,
HttpResponseBridge response)
throws IOException
- Specified by:
generateResponse
in class Handshake
- Throws:
IOException
solve
public String solve(String nonceBase64)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.