|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.transport.http.gzip.GZIPInInterceptor
public class GZIPInInterceptor
CXF interceptor that uncompresses those incoming messages that have "gzip"
content-encoding. An instance of this class should be added as an in and
inFault interceptor on clients that need to talk to a service that returns
gzipped responses or on services that want to accept gzipped requests. For
clients, you probably also want to use
HTTPClientPolicy.setAcceptEncoding(java.lang.String)
to let the server know you can handle compressed responses. To compress
outgoing messages, see GZIPOutInterceptor
. This class was originally
based on one of the CXF samples (configuration_interceptor).
Constructor Summary | |
---|---|
GZIPInInterceptor()
|
Method Summary | |
---|---|
void |
handleMessage(Message message)
Intercepts a message. |
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
---|
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, handleFault, isGET, setAfter, setBefore |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GZIPInInterceptor()
Method Detail |
---|
public void handleMessage(Message message) throws Fault
Interceptor
Fault
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |