Package io.bdeploy.jersey
Class JerseyGZipFilter
java.lang.Object
io.bdeploy.jersey.JerseyGZipFilter
- All Implemented Interfaces:
jakarta.ws.rs.client.ClientRequestFilter
public final class JerseyGZipFilter
extends Object
implements jakarta.ws.rs.client.ClientRequestFilter
Client filter adding support for
content encoding. The filter adds
list of supported encodings to the Accept-Header values.
Supported encodings are determined by looking
up all the ContentEncoder implementations registered in the corresponding
client configuration.
Based on org.glassfish.jersey.client.filter.EncodingFilter which suffers from problems when used together with multipart feature (it doesn't work).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JerseyGZipFilter
public JerseyGZipFilter()
-
-
Method Details
-
filter
- Specified by:
filterin interfacejakarta.ws.rs.client.ClientRequestFilter- Throws:
IOException
-