Class CompressionFeature

    • Constructor Detail

    • Method Detail

      • getMethods

        public final List<String> getMethods()
        Gets the available compression methods.
        Returns:
        The compression methods.
      • getPriority

        public final int getPriority()
        Description copied from class: StreamFeature
        Gets the priority of the feature, i.e. when it will be negotiated during feature negotiation.
        Overrides:
        getPriority in class StreamFeature
        Returns:
        The priority.
      • requiresRestart

        public boolean requiresRestart()
        Description copied from class: StreamFeature
        If this feature requires a stream restart after it has been negotiated.
        Overrides:
        requiresRestart in class StreamFeature
        Returns:
        True, if a stream restart is required.