Interface CompressionInformation

All Superinterfaces:
NamedResource
All Known Subinterfaces:
Compression, CompressionFactory
All Known Implementing Classes:
BaseCompression, BuiltinCompressions, CompressionConfigValue, CompressionDelayedZlib, CompressionNone, CompressionZlib

public interface CompressionInformation extends NamedResource
  • Field Summary

    Fields inherited from interface org.apache.sshd.common.NamedResource

    BY_NAME_COMPARATOR, NAME_EXTRACTOR
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    Delayed compression is an Open-SSH specific feature which informs both the client and server to not compress data before the session has been authenticated.

    Methods inherited from interface org.apache.sshd.common.NamedResource

    getName
  • Method Details

    • isDelayed

      boolean isDelayed()
      Delayed compression is an Open-SSH specific feature which informs both the client and server to not compress data before the session has been authenticated.
      Returns:
      if the compression is delayed after authentication or not
    • isCompressionExecuted

      boolean isCompressionExecuted()
      Returns:
      true if there is any compression executed by this "compressor" - special case for 'none'