Class ContentDecoder.Factory

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.client.ContentDecoder.Factory
All Implemented Interfaces:
org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle
Enclosing interface:
ContentDecoder

public abstract static class ContentDecoder.Factory extends org.eclipse.jetty.util.component.ContainerLifeCycle

A factory for Content.Source that decode response content.

A Factory has an encoding and a weight that are used in the Accept-Encoding request header and in the Content-Encoding response headers.

Factory instances are configured in HttpClient via HttpClient.getContentDecoderFactories().