Module io.netty5.codec.http
Class WebSocketDecoderConfig.Builder
- java.lang.Object
-
- io.netty5.handler.codec.http.websocketx.WebSocketDecoderConfig.Builder
-
- Enclosing class:
- WebSocketDecoderConfig
public static final class WebSocketDecoderConfig.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
maxFramePayloadLength
public WebSocketDecoderConfig.Builder maxFramePayloadLength(int maxFramePayloadLength)
-
expectMaskedFrames
public WebSocketDecoderConfig.Builder expectMaskedFrames(boolean expectMaskedFrames)
-
allowMaskMismatch
public WebSocketDecoderConfig.Builder allowMaskMismatch(boolean allowMaskMismatch)
-
allowExtensions
public WebSocketDecoderConfig.Builder allowExtensions(boolean allowExtensions)
-
closeOnProtocolViolation
public WebSocketDecoderConfig.Builder closeOnProtocolViolation(boolean closeOnProtocolViolation)
-
withUTF8Validator
public WebSocketDecoderConfig.Builder withUTF8Validator(boolean withUTF8Validator)
-
build
public WebSocketDecoderConfig build()
-
-