Uses of Class
com.soklet.ResponseCompressionPlan
Packages that use ResponseCompressionPlan
-
Uses of ResponseCompressionPlan in com.soklet
Methods in com.soklet that return ResponseCompressionPlanModifier and TypeMethodDescriptionstatic @NonNull ResponseCompressionPlanResponseCompressionPlan.compress(@NonNull ResponseCompressionCodec codec) Selects a codec, letting Soklet invoke it lazily when the response needs compressed body bytes.static @NonNull ResponseCompressionPlanResponseCompressionPlan.compress(@NonNull ResponseCompressionCodec codec, @NonNull Function<@NonNull Supplier<byte @NonNull []>, byte @NonNull []> compressedBodyProvider) Selects a codec and wraps its lazy body computation with application behavior, such as caching.static @NonNull ResponseCompressionPlanResponseCompressionPlan.none()Acquires the shared plan that declines response compression.ResponseCompressor.plan(@NonNull Request request, @NonNull MarshaledResponse marshaledResponse) Selects a compression plan for the finalized uncompressed representation.