public class RFC6455Handler extends ProtocolHandler
connection, ctx, currentDecoder, inFragmentedType, mappingData, maskData, outFragmentedType, processingFragment, remainder, utf8| Constructor and Description |
|---|
RFC6455Handler(boolean mask) |
| Modifier and Type | Method and Description |
|---|---|
HandShake |
createClientHandShake(URI uri) |
HandShake |
createServerHandShake(org.glassfish.grizzly.http.HttpContent requestContent) |
byte[] |
frame(DataFrame frame) |
protected boolean |
isControlFrame(byte opcode) |
DataFrame |
parse(org.glassfish.grizzly.Buffer buffer) |
checkForLastFrame, close, decodeLength, doClose, encodeLength, getByteBuffer, getConnection, getFilterChainContext, getMappingData, getWebSocket, handshake, isMaskData, send, send, send, send, setConnection, setFilterChainContext, setMappingData, setWebSocket, stream, stream, toDataFrame, toDataFrame, toDataFrame, toDataFrame, unframe, utf8Decode, validatepublic HandShake createClientHandShake(URI uri)
createClientHandShake in class ProtocolHandlerpublic HandShake createServerHandShake(org.glassfish.grizzly.http.HttpContent requestContent)
createServerHandShake in class ProtocolHandlerpublic byte[] frame(DataFrame frame)
frame in class ProtocolHandlerpublic DataFrame parse(org.glassfish.grizzly.Buffer buffer)
parse in class ProtocolHandlerprotected boolean isControlFrame(byte opcode)
isControlFrame in class ProtocolHandlerCopyright © 2020 Oracle Corporation. All Rights Reserved.