api

http4k / org.http4k.filter / ResponseFilters / GZipContentTypes

GZipContentTypes

class GZipContentTypes : Filter

GZipping of the response where the content-type (sans-charset) matches an allowed list of compressible types.

Constructors

Name Summary
<init> GZipping of the response where the content-type (sans-charset) matches an allowed list of compressible types.GZipContentTypes(compressibleContentTypes: Set<ContentType>, compressionMode: GzipCompressionMode = Memory)

Functions

Name Summary
invoke fun invoke(next: HttpHandler): HttpHandler