|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.client.filter.EncodingFilter
public final class EncodingFilter
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.
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.
| Constructor Summary | |
|---|---|
EncodingFilter()
|
|
| Method Summary | |
|---|---|
void |
filter(ClientRequestContext request)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncodingFilter()
| Method Detail |
|---|
public void filter(ClientRequestContext request)
throws java.io.IOException
filter in interface ClientRequestFilterjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||