org.glassfish.grizzly.websockets.draft06
Class Draft06Handler
java.lang.Object
org.glassfish.grizzly.websockets.ProtocolHandler
org.glassfish.grizzly.websockets.draft06.Draft06Handler
public class Draft06Handler
- extends ProtocolHandler
| Methods inherited from class org.glassfish.grizzly.websockets.ProtocolHandler |
checkForLastFrame, close, decodeLength, doClose, encodeLength, getByteBuffer, getConnection, getWebSocket, handshake, isMaskData, send, send, send, send, setConnection, setWebSocket, stream, stream, unframe, utf8Decode, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Draft06Handler
public Draft06Handler()
Draft06Handler
public Draft06Handler(boolean maskData)
createHandShake
public HandShake createHandShake(HttpContent requestContent)
- Specified by:
createHandShake in class ProtocolHandler
createHandShake
public HandShake createHandShake(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 © 2012 Oracle Corporation. All Rights Reserved.