Class WebSocketServerHandshaker00

    • Constructor Detail

      • WebSocketServerHandshaker00

        public WebSocketServerHandshaker00​(java.lang.String webSocketURL,
                                           java.lang.String subprotocols,
                                           int maxFramePayloadLength)
        Constructor specifying the destination web socket location
        Parameters:
        webSocketURL - URL for web socket communications. e.g "ws://myhost.com/mypath". Subsequent web socket frames will be sent to this URL.
        subprotocols - CSV of supported protocols
        maxFramePayloadLength - Maximum allowable frame payload length. Setting this value to your application's requirement may reduce denial of service attacks using long data frames.
      • WebSocketServerHandshaker00

        public WebSocketServerHandshaker00​(java.lang.String webSocketURL,
                                           java.lang.String subprotocols,
                                           WebSocketDecoderConfig decoderConfig)
        Constructor specifying the destination web socket location
        Parameters:
        webSocketURL - URL for web socket communications. e.g "ws://myhost.com/mypath". Subsequent web socket frames will be sent to this URL.
        subprotocols - CSV of supported protocols
        decoderConfig - Frames decoder configuration.