Packages

c

akka.http.scaladsl.coding

DeflateCompressor

class DeflateCompressor extends Compressor

Source
Deflate.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeflateCompressor
  2. Compressor
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DeflateCompressor()

Value Members

  1. final def compress(input: ByteString): ByteString

    Compresses the given input and returns compressed data.

    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.

    Definition Classes
    DeflateCompressorCompressor
  2. final def compressAndFinish(input: ByteString): ByteString

    Combines compress + finish

    Combines compress + finish

    Definition Classes
    DeflateCompressorCompressor
  3. final def compressAndFlush(input: ByteString): ByteString

    Combines compress + flush

    Combines compress + flush

    Definition Classes
    DeflateCompressorCompressor
  4. final def finish(): ByteString

    Closes this compressed stream and return the remaining compressed data.

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

    Definition Classes
    DeflateCompressorCompressor
  5. final 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.

    Definition Classes
    DeflateCompressorCompressor