Uses of Interface
com.soklet.ResponseCompressor
Packages that use ResponseCompressor
-
Uses of ResponseCompressor in com.soklet
Methods in com.soklet that return ResponseCompressorModifier and TypeMethodDescriptionstatic @NonNull ResponseCompressorResponseCompressor.disabledInstance()Acquires a compressor that always selectsResponseCompressionPlan.none().static @NonNull ResponseCompressorResponseCompressor.fromDefaultsWithMinimumBodySizeInBytes(@NonNull Integer minimumBodySizeInBytes) Acquires a compressor that selects Soklet's built-in gzip codec for common text-like response media types when the finalized uncompressed body is at leastminimumBodySizeInBytes.Methods in com.soklet with parameters of type ResponseCompressorModifier and TypeMethodDescriptionHttpServer.Builder.responseCompressor(@Nullable ResponseCompressor responseCompressor) Sets the response compressor used by the standard HTTP server to plan compression of eligible finalized in-memory byte-array and byte-buffer responses.