| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: returns whether the websocket compression extension is enabled.Returns whether the websocket compression extension is enabled. |
| public boolean | Returns: returns whether to proxy websocket PING frames or respond to them.Returns whether to proxy websocket PING frames or respond to them. |
| public int | Returns: returns the configured maximum allowable frame payload length.Returns the configured maximum allowable frame payload length. |
| public String |
| compress | back to summary |
|---|---|
| public boolean compress() Returns whether the websocket compression extension is enabled.
| |
| handlePing | back to summary |
|---|---|
| public boolean handlePing() Returns whether to proxy websocket PING frames or respond to them.
| |
| maxFramePayloadLength | back to summary |
|---|---|
| public int maxFramePayloadLength() Returns the configured maximum allowable frame payload length.
| |
| protocols | back to summary |
|---|---|
| public String protocols() Returns the configured sub protocols. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final SPEC | Returns: thiswhether the websocket compression extension is enabled
if the client request presents websocket extensions headers. compress)Sets flag whether the websocket compression extension is enabled if the client request presents websocket extensions headers. |
| public SPEC | |
| public final SPEC | Returns: thiswhether to proxy websocket ping frames or respond to them handlePing)Sets flag whether to proxy websocket ping frames or respond to them. |
| public final SPEC | Returns: thismaximum allowable frame payload length maxFramePayloadLength)Sets specifies a custom maximum allowable frame payload length. |
| public final SPEC |
| compress | back to summary |
|---|---|
| pack-priv boolean compress | |
| handlePing | back to summary |
|---|---|
| pack-priv boolean handlePing | |
| maxFramePayloadLength | back to summary |
|---|---|
| pack-priv int maxFramePayloadLength | |
| protocols | back to summary |
|---|---|
| pack-priv String protocols | |
| Builder | back to summary |
|---|---|
| protected Builder() | |
| compress | back to summary |
|---|---|
| public final SPEC compress(boolean compress) Sets flag whether the websocket compression extension is enabled if the client request presents websocket extensions headers. By default, compression is disabled.
| |
| get | back to summary |
|---|---|
| public SPEC get() Implements java. Doc from java. Gets a result.
| |
| handlePing | back to summary |
|---|---|
| public final SPEC handlePing(boolean handlePing) Sets flag whether to proxy websocket ping frames or respond to them. False by default.
| |
| maxFramePayloadLength | back to summary |
|---|---|
| public final SPEC maxFramePayloadLength(int maxFramePayloadLength) Sets specifies a custom maximum allowable frame payload length. 65536 by default.
| |
| protocols | back to summary |
|---|---|
| public final SPEC protocols(String protocols) Sets sub-protocol to use in websocket handshake signature. Null by default.
| |