Class RFC6455Handler
java.lang.Object
org.glassfish.grizzly.websockets.ProtocolHandler
org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler
-
Field Summary
Fields inherited from class org.glassfish.grizzly.websockets.ProtocolHandler
connection, ctx, currentDecoder, inFragmentedType, mappingData, maskData, outFragmentedType, processingFragment, remainder, utf8 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateClientHandShake(URI uri) createServerHandShake(org.glassfish.grizzly.http.HttpContent requestContent) byte[]protected booleanisControlFrame(byte opcode) parse(org.glassfish.grizzly.Buffer buffer) Methods inherited from class org.glassfish.grizzly.websockets.ProtocolHandler
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, validate
-
Constructor Details
-
RFC6455Handler
public RFC6455Handler(boolean mask)
-
-
Method Details
-
createClientHandShake
- Specified by:
createClientHandShakein classProtocolHandler
-
createServerHandShake
- Specified by:
createServerHandShakein classProtocolHandler
-
frame
- Specified by:
framein classProtocolHandler
-
parse
- Specified by:
parsein classProtocolHandler
-
isControlFrame
protected boolean isControlFrame(byte opcode) - Specified by:
isControlFramein classProtocolHandler
-