public static final class WebSocketDecoderConfig.Builder extends Object
Modifier and Type | Method and Description |
---|---|
WebSocketDecoderConfig.Builder |
allowExtensions(boolean allowExtensions) |
WebSocketDecoderConfig.Builder |
allowMaskMismatch(boolean allowMaskMismatch) |
WebSocketDecoderConfig |
build() |
WebSocketDecoderConfig.Builder |
closeOnProtocolViolation(boolean closeOnProtocolViolation) |
WebSocketDecoderConfig.Builder |
expectMaskedFrames(boolean expectMaskedFrames) |
WebSocketDecoderConfig.Builder |
maxFramePayloadLength(int maxFramePayloadLength) |
WebSocketDecoderConfig.Builder |
withUTF8Validator(boolean withUTF8Validator) |
public WebSocketDecoderConfig.Builder maxFramePayloadLength(int maxFramePayloadLength)
public WebSocketDecoderConfig.Builder expectMaskedFrames(boolean expectMaskedFrames)
public WebSocketDecoderConfig.Builder allowMaskMismatch(boolean allowMaskMismatch)
public WebSocketDecoderConfig.Builder allowExtensions(boolean allowExtensions)
public WebSocketDecoderConfig.Builder closeOnProtocolViolation(boolean closeOnProtocolViolation)
public WebSocketDecoderConfig.Builder withUTF8Validator(boolean withUTF8Validator)
public WebSocketDecoderConfig build()
Copyright © 2008–2024 The Netty Project. All rights reserved.