Class PerMessageDeflateClientExtensionHandshaker

    • Constructor Detail

      • PerMessageDeflateClientExtensionHandshaker

        public PerMessageDeflateClientExtensionHandshaker()
        Constructor with default configuration.
      • PerMessageDeflateClientExtensionHandshaker

        public PerMessageDeflateClientExtensionHandshaker​(int compressionLevel,
                                                          boolean allowClientWindowSize,
                                                          int requestedServerWindowSize,
                                                          boolean allowClientNoContext,
                                                          boolean requestedServerNoContext)
        Constructor with custom configuration.
        Parameters:
        compressionLevel - Compression level between 0 and 9 (default is 6).
        allowClientWindowSize - allows WebSocket server to customize the client inflater window size (default is false).
        requestedServerWindowSize - indicates the requested sever window size to use if server inflater is customizable.
        allowClientNoContext - allows WebSocket server to activate client_no_context_takeover (default is false).
        requestedServerNoContext - indicates if client needs to activate server_no_context_takeover if server is compatible with (default is false).
      • PerMessageDeflateClientExtensionHandshaker

        public PerMessageDeflateClientExtensionHandshaker​(int compressionLevel,
                                                          boolean allowClientWindowSize,
                                                          int requestedServerWindowSize,
                                                          boolean allowClientNoContext,
                                                          boolean requestedServerNoContext,
                                                          WebSocketExtensionFilterProvider extensionFilterProvider)
        Constructor with custom configuration.
        Parameters:
        compressionLevel - Compression level between 0 and 9 (default is 6).
        allowClientWindowSize - allows WebSocket server to customize the client inflater window size (default is false).
        requestedServerWindowSize - indicates the requested sever window size to use if server inflater is customizable.
        allowClientNoContext - allows WebSocket server to activate client_no_context_takeover (default is false).
        requestedServerNoContext - indicates if client needs to activate server_no_context_takeover if server is compatible with (default is false).
        extensionFilterProvider - provides client extension filters for per message deflate encoder and decoder.