org.elkoserver.foundation.net
Class WebSocketRequest

java.lang.Object
  extended by org.elkoserver.foundation.net.HTTPRequest
      extended by org.elkoserver.foundation.net.WebSocketRequest

public class WebSocketRequest
extends HTTPRequest

An HTTP request descriptor, augmented for setting up a WebSocket connection.


Constructor Summary
WebSocketRequest()
           
 
Method Summary
 byte[] crazyKey()
          Get the crazy handshake key.
 
Methods inherited from class org.elkoserver.foundation.net.HTTPRequest
content, header, isNonPersistent, method, toString, URI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebSocketRequest

public WebSocketRequest()
Method Detail

crazyKey

public byte[] crazyKey()
Get the crazy handshake key.

Returns:
the 8 bytes from the start of the request body.