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 org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer, Dumpable.DumpAppendableNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener -
Field Summary
Fields inherited from class org.eclipse.jetty.client.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 org.eclipse.jetty.client.ContentDecoder.Factory
equals, getEncoding, getWeight, hashCodeMethods inherited from class org.eclipse.jetty.util.component.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 org.eclipse.jetty.util.component.AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Container
getCachedBeans, getEventListenersMethods inherited from interface org.eclipse.jetty.util.component.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
-