Uses of Class
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig.Builder
Packages that use WebSocketServerProtocolConfig.Builder
Package
Description
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
-
Uses of WebSocketServerProtocolConfig.Builder in io.netty.handler.codec.http.websocketx
Methods in io.netty.handler.codec.http.websocketx that return WebSocketServerProtocolConfig.BuilderModifier and TypeMethodDescriptionWebSocketServerProtocolConfig.Builder.allowExtensions
(boolean allowExtensions) WebSocketServerProtocolConfig.Builder.allowMaskMismatch
(boolean allowMaskMismatch) WebSocketServerProtocolConfig.Builder.checkStartsWith
(boolean checkStartsWith) true
to handle all requests, where URI path component starts fromWebSocketServerProtocolConfig.websocketPath()
,false
for exact match (default).WebSocketServerProtocolConfig.Builder.closeOnProtocolViolation
(boolean closeOnProtocolViolation) WebSocketServerProtocolConfig.Builder.decoderConfig
(WebSocketDecoderConfig decoderConfig) Frames decoder configuration.WebSocketServerProtocolConfig.Builder.dropPongFrames
(boolean dropPongFrames) true
if pong frames should not be forwardedWebSocketServerProtocolConfig.Builder.expectMaskedFrames
(boolean expectMaskedFrames) WebSocketServerProtocolConfig.Builder.forceCloseTimeoutMillis
(long forceCloseTimeoutMillis) Close the connection if it was not closed by the client after timeout specifiedWebSocketServerProtocolConfig.Builder.handleCloseFrames
(boolean handleCloseFrames) true
if close frames should not be forwarded and just close the channelWebSocketServerProtocolConfig.Builder.handshakeTimeoutMillis
(long handshakeTimeoutMillis) Handshake timeout in mills, when handshake timeout, will trigger user eventWebSocketClientProtocolHandler.ClientHandshakeStateEvent.HANDSHAKE_TIMEOUT
WebSocketServerProtocolConfig.Builder.maxFramePayloadLength
(int maxFramePayloadLength) WebSocketServerProtocolConfig.newBuilder()
WebSocketServerProtocolConfig.Builder.sendCloseFrame
(WebSocketCloseStatus sendCloseFrame) Close frame to send, when close frame was not send manually.WebSocketServerProtocolConfig.Builder.subprotocols
(String subprotocols) CSV of supported protocolsWebSocketServerProtocolConfig.toBuilder()
WebSocketServerProtocolConfig.Builder.websocketPath
(String websocketPath) URI path component to handle websocket upgrade requests on.WebSocketServerProtocolConfig.Builder.withUTF8Validator
(boolean withUTF8Validator)