CompressionEncoderBuilder

A builder for compression encoder configuration.

Functions

Link copied to clipboard

Properties

Link copied to clipboard

A list of conditions for this encoder

Link copied to clipboard
Link copied to clipboard

of encoder

Link copied to clipboard
var priority: Double = 1.0

A priority for this encoder.

Extensions

Link copied to clipboard

Appends a custom condition to the encoder or the Compression configuration. A predicate returns true when a response need to be compressed. If at least one condition is not met, a response isn't compressed.

Link copied to clipboard

Appends a content type exclusion condition to the encoder or the Compression configuration.

Link copied to clipboard

Appends a content type condition to the encoder or the Compression configuration.

Link copied to clipboard

Appends a minimum size condition to the encoder or the Compression configuration.