Module org.eclipse.jetty.server
Class GzipHttpInputInterceptor
java.lang.Object
org.eclipse.jetty.server.handler.gzip.GzipHttpInputInterceptor
- All Implemented Interfaces:
HttpInput.Interceptor,org.eclipse.jetty.util.component.Destroyable
public class GzipHttpInputInterceptor
extends Object
implements HttpInput.Interceptor, org.eclipse.jetty.util.component.Destroyable
An HttpInput Interceptor that inflates GZIP encoded request content.
-
Constructor Summary
ConstructorsConstructorDescriptionGzipHttpInputInterceptor(org.eclipse.jetty.util.compression.InflaterPool inflaterPool, org.eclipse.jetty.io.ByteBufferPool pool, int bufferSize) -
Method Summary
-
Constructor Details
-
GzipHttpInputInterceptor
public GzipHttpInputInterceptor(org.eclipse.jetty.util.compression.InflaterPool inflaterPool, org.eclipse.jetty.io.ByteBufferPool pool, int bufferSize)
-
-
Method Details
-
readFrom
- Specified by:
readFromin interfaceHttpInput.Interceptor- Parameters:
content- The content to be intercepted. The content will be modified with any data the interceptor consumes, but there is no requirement that all the data is consumed by the interceptor.- Returns:
- The intercepted content or null if interception is completed for that content.
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.eclipse.jetty.util.component.Destroyable
-