org.glassfish.grizzly.websockets.draft06
Class Draft06Handler

java.lang.Object
  extended by org.glassfish.grizzly.websockets.ProtocolHandler
      extended by org.glassfish.grizzly.websockets.draft06.Draft06Handler

public class Draft06Handler
extends ProtocolHandler


Field Summary
 
Fields inherited from class org.glassfish.grizzly.websockets.ProtocolHandler
connection, inFragmentedType, maskData, outFragmentedType
 
Constructor Summary
Draft06Handler()
           
Draft06Handler(boolean maskData)
           
 
Method Summary
protected  HandShake createHandShake(HttpContent requestContent)
           
protected  HandShake createHandShake(java.net.URI uri)
           
 byte[] frame(DataFrame frame)
           
protected  boolean isControlFrame(byte opcode)
           
 DataFrame parse(Buffer buffer)
           
 
Methods inherited from class org.glassfish.grizzly.websockets.ProtocolHandler
checkForLastFrame, close, decodeLength, doClose, encodeLength, getConnection, getWebSocket, handshake, isMaskData, send, send, send, send, setConnection, setWebSocket, stream, stream, unframe, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Draft06Handler

public Draft06Handler()

Draft06Handler

public Draft06Handler(boolean maskData)
Method Detail

createHandShake

protected HandShake createHandShake(HttpContent requestContent)
Specified by:
createHandShake in class ProtocolHandler

createHandShake

protected HandShake createHandShake(java.net.URI uri)
Specified by:
createHandShake in class ProtocolHandler

frame

public byte[] frame(DataFrame frame)
Specified by:
frame in class ProtocolHandler

parse

public DataFrame parse(Buffer buffer)
Specified by:
parse in class ProtocolHandler

isControlFrame

protected boolean isControlFrame(byte opcode)
Specified by:
isControlFrame in class ProtocolHandler


Copyright © 2011 Oracle Corpration. All Rights Reserved.