Class CompressionContentDecoderFactory
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.client.ContentDecoder.Factory
org.eclipse.jetty.compression.client.CompressionContentDecoderFactory
- All Implemented Interfaces:
 Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
Utility class that applications can use to explicitly configure
a Compression implementation in
ContentDecoder.Factories.put(ContentDecoder.Factory).
- 
Nested Class Summary
Nested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainer, Dumpable.DumpAppendableNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener - 
Field Summary
Fields inherited from class ContentDecoder.Factory
NO_WEIGHT - 
Constructor Summary
ConstructorsConstructorDescriptionCompressionContentDecoderFactory(Compression compression) CompressionContentDecoderFactory(Compression compression, float weight)  - 
Method Summary
Modifier and TypeMethodDescriptionnewDecoderContentSource(Content.Source contentSource) Creates aContent.Sourcethat decodes the chunks of the givenContent.Sourceparameter.Methods inherited from class ContentDecoder.Factory
equals, getEncoding, getWeight, hashCodeMethods inherited from class ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, installBean, installBean, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeansMethods inherited from class AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop, toStringMethods inherited from interface Container
getCachedBeans, getEventListenersMethods inherited from interface Dumpable.DumpableContainer
isDumpable 
- 
Constructor Details
- 
CompressionContentDecoderFactory
 - 
CompressionContentDecoderFactory
 
 - 
 - 
Method Details
- 
newDecoderContentSource
Description copied from class:ContentDecoder.FactoryCreates a
Content.Sourcethat decodes the chunks of the givenContent.Sourceparameter.- Specified by:
 newDecoderContentSourcein classContentDecoder.Factory- Parameters:
 contentSource- the encodedContent.Source- Returns:
 - the decoded 
Content.Source 
 
 -