Uses of Class
io.netty5.handler.codec.http.websocketx.WebSocketVersion
-
Packages that use WebSocketVersion Package Description io.netty5.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames. -
-
Uses of WebSocketVersion in io.netty5.handler.codec.http.websocketx
Methods in io.netty5.handler.codec.http.websocketx that return WebSocketVersion Modifier and Type Method Description static WebSocketVersion
WebSocketVersion. valueOf(String name)
Returns the enum constant of this type with the specified name.static WebSocketVersion[]
WebSocketVersion. values()
Returns an array containing the constants of this enum type, in the order they are declared.WebSocketVersion
WebSocketClientHandshaker. version()
Version of the web socket specification that is being usedWebSocketVersion
WebSocketClientProtocolConfig. version()
WebSocketVersion
WebSocketHandshakeCompletionEvent. version()
Return theWebSocketVersion
of the handshake ornull
in case of a failure.WebSocketVersion
WebSocketServerHandshaker. version()
Returns the version of the specification being supportedMethods in io.netty5.handler.codec.http.websocketx with parameters of type WebSocketVersion Modifier and Type Method Description static WebSocketClientHandshaker
WebSocketClientHandshakerFactory. newHandshaker(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders)
Creates a new handshaker.static WebSocketClientHandshaker
WebSocketClientHandshakerFactory. newHandshaker(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength)
Creates a new handshaker.static WebSocketClientHandshaker
WebSocketClientHandshakerFactory. newHandshaker(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch)
Creates a new handshaker.static WebSocketClientHandshaker
WebSocketClientHandshakerFactory. newHandshaker(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis)
Creates a new handshaker.static WebSocketClientHandshaker
WebSocketClientHandshakerFactory. newHandshaker(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl)
Creates a new handshaker.WebSocketClientProtocolConfig.Builder
WebSocketClientProtocolConfig.Builder. version(WebSocketVersion version)
Version of web socket specification to use to connect to the serverConstructors in io.netty5.handler.codec.http.websocketx with parameters of type WebSocketVersion Constructor Description WebSocketClientHandshakeCompletionEvent(WebSocketVersion version)
Create a new event that indicate a successful websocket handshake.WebSocketClientHandshaker(URI uri, WebSocketVersion version, String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength)
Base constructorWebSocketClientHandshaker(URI uri, WebSocketVersion version, String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength, long forceCloseTimeoutMillis)
Base constructorWebSocketClientHandshaker(URI uri, WebSocketVersion version, String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl)
Base constructorWebSocketClientProtocolHandler(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength)
Base constructorWebSocketClientProtocolHandler(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean handleCloseFrames)
Base constructorWebSocketClientProtocolHandler(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean handleCloseFrames, boolean performMasking, boolean allowMaskMismatch)
Base constructorWebSocketClientProtocolHandler(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean handleCloseFrames, boolean performMasking, boolean allowMaskMismatch, long handshakeTimeoutMillis)
Base constructorWebSocketClientProtocolHandler(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean handleCloseFrames, long handshakeTimeoutMillis)
Base constructorWebSocketClientProtocolHandler(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, long handshakeTimeoutMillis)
Base constructorWebSocketServerHandshakeCompletionEvent(WebSocketVersion version, String requestUri, HttpHeaders requestHeaders, String selectedSubprotocol)
Create a new event that indicate a successful websocket handshake.WebSocketServerHandshaker(WebSocketVersion version, String uri, String subprotocols, int maxFramePayloadLength)
Constructor specifying the destination web socket locationWebSocketServerHandshaker(WebSocketVersion version, String uri, String subprotocols, WebSocketDecoderConfig decoderConfig)
Constructor specifying the destination web socket location
-