DeflateCompressor

org.apache.pekko.http.scaladsl.coding.DeflateCompressor

Internal API

Attributes

Deprecated
[Since version Akka HTTP 10.2.0]
Source
DeflateCompressor.scala
Graph
Supertypes
class Compressor
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this()

Attributes

Source
DeflateCompressor.scala

Concrete methods

final override def compress(input: ByteString): ByteString

Compresses the given input and returns compressed data. The implementation can and will choose to buffer output data to improve compression. Use flush or compressAndFlush to make sure that all input data has been compressed and pending output data has been returned.

Compresses the given input and returns compressed data. The implementation can and will choose to buffer output data to improve compression. Use flush or compressAndFlush to make sure that all input data has been compressed and pending output data has been returned.

Attributes

Definition Classes
Source
DeflateCompressor.scala
final override def compressAndFinish(input: ByteString): ByteString

Combines compress + finish

Combines compress + finish

Attributes

Definition Classes
Source
DeflateCompressor.scala
final override def compressAndFlush(input: ByteString): ByteString

Combines compress + flush

Combines compress + flush

Attributes

Definition Classes
Source
DeflateCompressor.scala
final override def finish(): ByteString

Closes this compressed stream and return the remaining compressed data. After calling this method, this Compressor cannot be used any further.

Closes this compressed stream and return the remaining compressed data. After calling this method, this Compressor cannot be used any further.

Attributes

Definition Classes
Source
DeflateCompressor.scala
final override def flush(): ByteString

Flushes any output data and returns the currently remaining compressed data.

Flushes any output data and returns the currently remaining compressed data.

Attributes

Definition Classes
Source
DeflateCompressor.scala