Class CompressionDelayedZlib
java.lang.Object
org.apache.sshd.common.compression.BaseCompression
org.apache.sshd.common.compression.CompressionZlib
org.apache.sshd.common.compression.CompressionDelayedZlib
- All Implemented Interfaces:
Compression,CompressionInformation,NamedResource
ZLib delayed compression.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.sshd.common.compression.Compression
Compression.Type -
Field Summary
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new instance of a delayed ZLib compression -
Method Summary
Modifier and TypeMethodDescriptionbooleanDelayed 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 class org.apache.sshd.common.compression.CompressionZlib
compress, init, uncompressMethods inherited from class org.apache.sshd.common.compression.BaseCompression
getName, isCompressionExecuted, toString
-
Constructor Details
-
CompressionDelayedZlib
public CompressionDelayedZlib()Create a new instance of a delayed ZLib compression
-
-
Method Details
-
isDelayed
public boolean isDelayed()Description copied from interface:CompressionInformationDelayed compression is an Open-SSH specific feature which informs both the client and server to not compress data before the session has been authenticated.- Specified by:
isDelayedin interfaceCompressionInformation- Overrides:
isDelayedin classCompressionZlib- Returns:
- if the compression is delayed after authentication or not
-