Class WebSocketExtensionData


  • public final class WebSocketExtensionData
    extends Object
    A WebSocket Extension data from the Sec-WebSocket-Extensions header. See io.netty5.handler.codec.http.HttpHeaders.Names.SEC_WEBSOCKET_EXTENSIONS.
    • Constructor Detail

      • WebSocketExtensionData

        public WebSocketExtensionData​(String name,
                                      Map<String,​String> parameters)
    • Method Detail

      • name

        public String name()
        Returns:
        the extension name.
      • parameters

        public Map<String,​String> parameters()
        Returns:
        the extension optional parameters.