http4k / org.http4k.filter / ResponseFilters / GZipContentTypes
class GZipContentTypes :
Filter
GZipping of the response where the content-type (sans-charset) matches an allowed list of compressible types.
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) |
Name | Summary |
---|---|
invoke | fun invoke(next: HttpHandler ): HttpHandler |