public static final class WebSocketDecoderConfig.Builder
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
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()