com.sun.grizzly.websockets
Class ServerHandShake

java.lang.Object
  extended by com.sun.grizzly.websockets.HandShake
      extended by com.sun.grizzly.websockets.ServerHandShake

public class ServerHandShake
extends HandShake


Constructor Summary
ServerHandShake(boolean secure, String origin, String serverHostName, String port, String resourcePath, String subProtocol, SecKey key1, SecKey key2, byte[] key3)
           
 
Method Summary
 byte[] getKey()
           
 void respond(Response response)
           
 
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
 

Constructor Detail

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
Method Detail

getKey

public byte[] getKey()

respond

public void respond(Response response)
             throws IOException
Throws:
IOException


Copyright © 2011 Oracle Corpration. All Rights Reserved.