org.jboss.websockets.oio.internal.protocol.ietf00
Class Hybi00Handshake
java.lang.Object
org.jboss.websockets.oio.internal.Handshake
org.jboss.websockets.oio.internal.protocol.ietf00.Hybi00Handshake
public class Hybi00Handshake
- extends Handshake
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hybi00Handshake
public Hybi00Handshake()
matches
public boolean matches(HttpRequestBridge request)
- Specified by:
matches
in class Handshake
getWebSocket
public OioWebSocket getWebSocket(HttpRequestBridge request,
HttpResponseBridge response,
ClosingStrategy closingStrategy)
throws IOException
- Specified by:
getWebSocket
in class Handshake
- Throws:
IOException
generateResponse
public byte[] generateResponse(HttpRequestBridge request,
HttpResponseBridge response)
throws IOException
- Specified by:
generateResponse
in class Handshake
- Throws:
IOException
solve
public static byte[] solve(String hashAlgorithm,
String encodedKey1,
String encodedKey2,
byte[] key3)
solve
public static byte[] solve(String hashAlgorithm,
long key1,
long key2,
byte[] key3)
decodeKey
public static long decodeKey(String encoded)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.