Class GZIPFeature.Portable
java.lang.Object
org.apache.cxf.transport.common.gzip.GZIPFeature.Portable
- All Implemented Interfaces:
AbstractPortableFeature,Feature
- Enclosing class:
- GZIPFeature
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoInitializeProvider(InterceptorProvider provider, Bus bus) booleangetForce()Retrieve the value set withsetForce(boolean).intvoidsetForce(boolean b) Set if GZIP is always used without negotiationvoidsetThreshold(int threshold) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.feature.AbstractPortableFeature
initialize, initialize, initialize, initialize
-
Constructor Details
-
Portable
public Portable()
-
-
Method Details
-
doInitializeProvider
- Specified by:
doInitializeProviderin interfaceAbstractPortableFeature
-
setThreshold
public void setThreshold(int threshold) -
getThreshold
public int getThreshold() -
setForce
public void setForce(boolean b) Set if GZIP is always used without negotiation- Parameters:
b-
-
getForce
public boolean getForce()Retrieve the value set withsetForce(boolean).
-