|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.websockets.ProtocolHandler
org.glassfish.grizzly.websockets.draft07.Draft07Handler
org.glassfish.grizzly.websockets.draft08.Draft08Handler
org.glassfish.grizzly.websockets.draft17.Draft17Handler
org.glassfish.tyrus.grizzly.GrizzlyProtocolHandler
public class GrizzlyProtocolHandler
ProtocolHandler that supports sub-protocol and extension insertion.
| Field Summary |
|---|
| Fields inherited from class org.glassfish.grizzly.websockets.ProtocolHandler |
|---|
connection, currentDecoder, inFragmentedType, maskData, outFragmentedType, processingFragment, remainder, utf8 |
| Constructor Summary | |
|---|---|
GrizzlyProtocolHandler(boolean mask,
String subprotocol,
List<String> extensions)
Construct new GrizzlyProtocolHandler. |
|
| Method Summary | |
|---|---|
org.glassfish.grizzly.websockets.HandShake |
createHandShake(org.glassfish.grizzly.http.HttpContent requestContent)
|
| Methods inherited from class org.glassfish.grizzly.websockets.draft17.Draft17Handler |
|---|
createHandShake |
| Methods inherited from class org.glassfish.grizzly.websockets.draft07.Draft07Handler |
|---|
frame, isControlFrame, parse |
| 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 |
| Constructor Detail |
|---|
public GrizzlyProtocolHandler(boolean mask,
String subprotocol,
List<String> extensions)
GrizzlyProtocolHandler.
mask - data mask, see ProtocolHandler.subprotocol - selected by server.extensions - supported by server.| Method Detail |
|---|
public org.glassfish.grizzly.websockets.HandShake createHandShake(org.glassfish.grizzly.http.HttpContent requestContent)
createHandShake in class org.glassfish.grizzly.websockets.draft17.Draft17Handler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||