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
public class CompressionDelayedZlib extends CompressionZlib
ZLib delayed compression.- Author:
- Apache MINA SSHD Project
- See Also:
CompressionInformation.isDelayed()
-
-
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
Constructors Constructor Description CompressionDelayedZlib()
Create a new instance of a delayed ZLib compression
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class org.apache.sshd.common.compression.CompressionZlib
compress, init, uncompress
-
Methods inherited from class org.apache.sshd.common.compression.BaseCompression
getName, isCompressionExecuted, toString
-
-
-
-
Method Detail
-
isDelayed
public boolean isDelayed()
Description copied from interface:CompressionInformation
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.- Specified by:
isDelayed
in interfaceCompressionInformation
- Overrides:
isDelayed
in classCompressionZlib
- Returns:
- if the compression is delayed after authentication or not
-
-