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.BuilderallowExtensions(boolean allowExtensions)WebSocketDecoderConfig.BuilderallowMaskMismatch(boolean allowMaskMismatch)WebSocketDecoderConfigbuild()WebSocketDecoderConfig.BuildercloseOnProtocolViolation(boolean closeOnProtocolViolation)WebSocketDecoderConfig.BuilderexpectMaskedFrames(boolean expectMaskedFrames)WebSocketDecoderConfig.BuildermaxFramePayloadLength(int maxFramePayloadLength)WebSocketDecoderConfig.BuilderwithUTF8Validator(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()
-
-