Uses of Class
io.netty.handler.codec.http.websocketx.WebSocketClientProtocolConfig.Builder
Packages that use WebSocketClientProtocolConfig.Builder
Package
Description
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
-
Uses of WebSocketClientProtocolConfig.Builder in io.netty.handler.codec.http.websocketx
Methods in io.netty.handler.codec.http.websocketx that return WebSocketClientProtocolConfig.BuilderModifier and TypeMethodDescriptionWebSocketClientProtocolConfig.Builder.absoluteUpgradeUrl(boolean absoluteUpgradeUrl) Use an absolute url for the Upgrade request, typically when connecting through an HTTP proxy over clear HTTPWebSocketClientProtocolConfig.Builder.allowExtensions(boolean allowExtensions) Allow extensions to be used in the reserved bits of the web socket frameWebSocketClientProtocolConfig.Builder.allowMaskMismatch(boolean allowMaskMismatch) When set to true, frames which are not masked properly according to the standard will still be accepted.WebSocketClientProtocolConfig.Builder.customHeaders(HttpHeaders customHeaders) Map of custom headers to add to the client requestWebSocketClientProtocolConfig.Builder.dropPongFrames(boolean dropPongFrames) trueif pong frames should not be forwardedWebSocketClientProtocolConfig.Builder.forceCloseTimeoutMillis(long forceCloseTimeoutMillis) Close the connection if it was not closed by the server after timeout specifiedWebSocketClientProtocolConfig.Builder.generateOriginHeader(boolean generateOriginHeader) Allows to generate the `Origin`|`Sec-WebSocket-Origin` header value for handshake request according the given webSocketURI.WebSocketClientProtocolConfig.Builder.handleCloseFrames(boolean handleCloseFrames) trueif close frames should not be forwarded and just close the channelWebSocketClientProtocolConfig.Builder.handshakeTimeoutMillis(long handshakeTimeoutMillis) Handshake timeout in mills, when handshake timeout, will trigger user eventWebSocketClientProtocolHandler.ClientHandshakeStateEvent.HANDSHAKE_TIMEOUTWebSocketClientProtocolConfig.Builder.maxFramePayloadLength(int maxFramePayloadLength) Maximum length of a frame's payloadWebSocketClientProtocolConfig.newBuilder()WebSocketClientProtocolConfig.Builder.performMasking(boolean performMasking) Whether to mask all written websocket frames.WebSocketClientProtocolConfig.Builder.sendCloseFrame(WebSocketCloseStatus sendCloseFrame) Close frame to send, when close frame was not send manually.WebSocketClientProtocolConfig.Builder.subprotocol(String subprotocol) Sub protocol request sent to the server.WebSocketClientProtocolConfig.toBuilder()WebSocketClientProtocolConfig.Builder.version(WebSocketVersion version) Version of web socket specification to use to connect to the serverWebSocketClientProtocolConfig.Builder.webSocketUri(String webSocketUri) URL for web socket communications. e.g "ws://myhost.com/mypath".WebSocketClientProtocolConfig.Builder.webSocketUri(URI webSocketUri) URL for web socket communications. e.g "ws://myhost.com/mypath".WebSocketClientProtocolConfig.Builder.withUTF8Validator(boolean withUTF8Validator) Toggles UTF8 validation for payload of text websocket frames.