public final class EncodingFilter
extends java.lang.Object
implements javax.ws.rs.client.ClientRequestFilter
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.
If ClientProperties.USE_ENCODING client property is set, the filter will add Content-Encoding header with
the value of the property, unless Content-Encoding header has already been set.
| Modifier and Type | Field and Description |
|---|---|
private org.glassfish.hk2.api.ServiceLocator |
serviceLocator |
private java.util.List<java.lang.Object> |
supportedEncodings |
| Constructor and Description |
|---|
EncodingFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
filter(javax.ws.rs.client.ClientRequestContext request) |
(package private) java.util.List<java.lang.Object> |
getSupportedEncodings() |