com.sun.grizzly.websockets
Class ServerHandShake
java.lang.Object
com.sun.grizzly.websockets.HandShake
com.sun.grizzly.websockets.ServerHandShake
public class ServerHandShake
- 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 |
ServerHandShake
public ServerHandShake(boolean secure,
String origin,
String serverHostName,
String port,
String resourcePath,
String subProtocol,
SecKey key1,
SecKey key2,
byte[] key3)
throws HandshakeException
- Throws:
HandshakeException
getKey
public byte[] getKey()
respond
public void respond(Response response)
throws IOException
- Throws:
IOException
Copyright © 2011 Oracle Corpration. All Rights Reserved.