public class Draft07Handler extends ProtocolHandler
connection, ctx, currentDecoder, inFragmentedType, mapper, maskData, outFragmentedType, processingFragment, remainder, utf8
Constructor and Description |
---|
Draft07Handler(boolean maskData) |
Modifier and Type | Method and Description |
---|---|
HandShake |
createHandShake(HttpContent requestContent) |
HandShake |
createHandShake(URI uri) |
byte[] |
frame(DataFrame frame) |
protected boolean |
isControlFrame(byte opcode) |
DataFrame |
parse(Buffer buffer) |
checkForLastFrame, close, decodeLength, doClose, encodeLength, getByteBuffer, getConnection, getFilterChainContext, getMapper, getWebSocket, handshake, isMaskData, send, send, send, send, setConnection, setFilterChainContext, setMapper, setWebSocket, stream, stream, toDataFrame, toDataFrame, toDataFrame, toDataFrame, unframe, utf8Decode, validate
public byte[] frame(DataFrame frame)
frame
in class ProtocolHandler
public DataFrame parse(Buffer buffer)
parse
in class ProtocolHandler
protected boolean isControlFrame(byte opcode)
isControlFrame
in class ProtocolHandler
public HandShake createHandShake(HttpContent requestContent)
createHandShake
in class ProtocolHandler
public HandShake createHandShake(URI uri)
createHandShake
in class ProtocolHandler
Copyright © 2013 Oracle Corporation. All Rights Reserved.