com.sun.grizzly.websockets
Class ClientHandShake
java.lang.Object
com.sun.grizzly.websockets.HandShake
com.sun.grizzly.websockets.ClientHandShake
public class ClientHandShake
- extends HandShake
| Methods inherited from class com.sun.grizzly.websockets.HandShake |
getLocation, getOrigin, getPort, getResourcePath, getServerHostName, getSubProtocol, isSecure, setLocation, setOrigin, setPort, setResourcePath, setSecure, setServerHostName, setSubProtocol |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientHandShake
public ClientHandShake(boolean isSecure,
String origin,
String serverHostName,
String portNumber,
String path)
ClientHandShake
public ClientHandShake(Request request,
boolean secure,
ByteChunk chunk)
throws IOException,
HandshakeException
- Throws:
IOException
HandshakeException
getKey1
public SecKey getKey1()
getKey2
public SecKey getKey2()
getKey3
public byte[] getKey3()
validateServerResponse
public void validateServerResponse(byte[] key)
throws HandshakeException
- Throws:
HandshakeException
getBytes
public byte[] getBytes()
throws IOException
- Throws:
IOException
Copyright © 2011 Oracle Corpration. All Rights Reserved.