| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final boolean | |
| private final boolean | |
| pack-priv static final WebSocketDecoderConfig | |
| private final boolean | |
| private final int | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| private | WebSocketDecoderConfig(int
Maximum length of a frame's payload. Setting this to an appropriate value for you application
helps check for denial of services attacks. maxFramePayloadLength, boolean Web socket servers must set this to true processed incoming masked payload. Client implementations
must set this to false. expectMaskedFrames, boolean Allows to loosen the masking requirement on received frames. When this is set to false then also
frames which are not masked properly according to the standard will still be accepted. allowMaskMismatch, boolean Flag to allow reserved extension bits to be used or not allowExtensions, boolean Flag to send close frame immediately on any protocol violation.ion. closeOnProtocolViolation, boolean Allows you to avoid adding of Utf8FrameValidator to the pipeline on the
WebSocketServerProtocolHandler creation. This is useful (less overhead)
when you use only BinaryWebSocketFrame within your web socket connection. withUTF8Validator)Constructor |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public int | |
| public static WebSocketDecoderConfig. | |
| public WebSocketDecoderConfig. | |
| public String | |
| public boolean |
| allowExtensions | back to summary |
|---|---|
| private final boolean allowExtensions | |
| allowMaskMismatch | back to summary |
|---|---|
| private final boolean allowMaskMismatch | |
| closeOnProtocolViolation | back to summary |
|---|---|
| private final boolean closeOnProtocolViolation | |
| DEFAULT | back to summary |
|---|---|
| pack-priv static final WebSocketDecoderConfig DEFAULT | |
| expectMaskedFrames | back to summary |
|---|---|
| private final boolean expectMaskedFrames | |
| maxFramePayloadLength | back to summary |
|---|---|
| private final int maxFramePayloadLength | |
| withUTF8Validator | back to summary |
|---|---|
| private final boolean withUTF8Validator | |
| WebSocketDecoderConfig | back to summary |
|---|---|
| private WebSocketDecoderConfig(int maxFramePayloadLength, boolean expectMaskedFrames, boolean allowMaskMismatch, boolean allowExtensions, boolean closeOnProtocolViolation, boolean withUTF8Validator) Constructor
| |
| allowExtensions | back to summary |
|---|---|
| public boolean allowExtensions() | |
| allowMaskMismatch | back to summary |
|---|---|
| public boolean allowMaskMismatch() | |
| closeOnProtocolViolation | back to summary |
|---|---|
| public boolean closeOnProtocolViolation() | |
| expectMaskedFrames | back to summary |
|---|---|
| public boolean expectMaskedFrames() | |
| maxFramePayloadLength | back to summary |
|---|---|
| public int maxFramePayloadLength() | |
| newBuilder | back to summary |
|---|---|
| public static WebSocketDecoderConfig. | |
| toBuilder | back to summary |
|---|---|
| public WebSocketDecoderConfig. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| withUTF8Validator | back to summary |
|---|---|
| public boolean withUTF8Validator() | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public WebSocketDecoderConfig. | |
| public WebSocketDecoderConfig. | |
| public WebSocketDecoderConfig | |
| public WebSocketDecoderConfig. | |
| public WebSocketDecoderConfig. | |
| public WebSocketDecoderConfig. | |
| public WebSocketDecoderConfig. |
| allowExtensions | back to summary |
|---|---|
| private boolean allowExtensions | |
| allowMaskMismatch | back to summary |
|---|---|
| private boolean allowMaskMismatch | |
| closeOnProtocolViolation | back to summary |
|---|---|
| private boolean closeOnProtocolViolation | |
| expectMaskedFrames | back to summary |
|---|---|
| private boolean expectMaskedFrames | |
| maxFramePayloadLength | back to summary |
|---|---|
| private int maxFramePayloadLength | |
| withUTF8Validator | back to summary |
|---|---|
| private boolean withUTF8Validator | |
| Builder | back to summary |
|---|---|
| private Builder(WebSocketDecoderConfig decoderConfig) | |
| allowExtensions | back to summary |
|---|---|
| public WebSocketDecoderConfig. | |
| allowMaskMismatch | back to summary |
|---|---|
| public WebSocketDecoderConfig. | |
| build | back to summary |
|---|---|
| public WebSocketDecoderConfig build() | |
| closeOnProtocolViolation | back to summary |
|---|---|
| public WebSocketDecoderConfig. | |
| expectMaskedFrames | back to summary |
|---|---|
| public WebSocketDecoderConfig. | |
| maxFramePayloadLength | back to summary |
|---|---|
| public WebSocketDecoderConfig. | |
| withUTF8Validator | back to summary |
|---|---|
| public WebSocketDecoderConfig. | |