Class ContentEncodingHttpServiceFilter

java.lang.Object
io.servicetalk.http.api.ContentEncodingHttpServiceFilter
All Implemented Interfaces:
HttpExecutionStrategyInfluencer, StreamingHttpServiceFilterFactory, ExecutionStrategyInfluencer<HttpExecutionStrategy>

public final class ContentEncodingHttpServiceFilter extends Object implements StreamingHttpServiceFilterFactory
A StreamingHttpService that adds encoding / decoding functionality for responses and requests respectively, as these are specified by the spec Content-Encoding.

Append this filter before others that are expected to to see compressed content for this request/response, and after other filters that expect to see/manipulate the original payload.