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 |
getExtensions, getLocation, getOrigin, getPort, getResourcePath, getServerHostName, getSubProtocol, isSecure, join, setExtensions, 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)
getKey
public SecKey getKey()
validateServerResponse
public void validateServerResponse(Map<String,String> headers)
throws HandshakeException
- Throws:
HandshakeException
getBytes
public byte[] getBytes()
throws IOException
- Throws:
IOException
Copyright © 2012 Oracle Corporation. All Rights Reserved.