| java.lang.Object | |
| ↳ | net.schmizz.sshj.transport.compression.ZlibCompression |
Known Direct Subclasses
|
ZLib based Compression.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ZlibCompression.Factory | Named factory for the ZLib Compression. | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | BUF_SIZE | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| stream | |||||||||||
| tempBuf | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Compress the given buffer in place.
| |||||||||||
Initialize this object to either compress or uncompress data.
| |||||||||||
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.
| |||||||||||
Uncompress the data in a buffer into another buffer.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
net.schmizz.sshj.transport.compression.Compression
| |||||||||||
Compress the given buffer in place.
| buffer | The buffer containing the data to compress s |
|---|
Initialize this object to either compress or uncompress data. This method must be called prior to any calls to
either compress or uncompress. Once the object has been initialized, only one of
compress or uncompress method can be called.
| mode |
|---|
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.
Uncompress the data in a buffer into another buffer.
| from | The buffer containing the data to uncompress |
|---|---|
| to | The buffer receiving the uncompressed data |
| TransportException |
|---|