Class GzipHttpInputInterceptor
java.lang.Object
org.eclipse.jetty.server.handler.gzip.GzipHttpInputInterceptor
- All Implemented Interfaces:
- HttpInput.Interceptor,- Destroyable
An HttpInput Interceptor that inflates GZIP encoded request content.
- 
Constructor SummaryConstructorsConstructorDescriptionGzipHttpInputInterceptor(InflaterPool inflaterPool, ByteBufferPool pool, int bufferSize) GzipHttpInputInterceptor(InflaterPool inflaterPool, ByteBufferPool pool, int bufferSize, boolean useDirectBuffers) 
- 
Method Summary
- 
Constructor Details- 
GzipHttpInputInterceptor
- 
GzipHttpInputInterceptorpublic GzipHttpInputInterceptor(InflaterPool inflaterPool, ByteBufferPool pool, int bufferSize, boolean useDirectBuffers) 
 
- 
- 
Method Details- 
readFrom- Specified by:
- readFromin interface- HttpInput.Interceptor
- Parameters:
- content- The content to be intercepted. The content will be modified with any data the interceptor consumes. There is no requirement that all the data is consumed by the interceptor but at least one byte must be consumed unless the returned content is the passed content instance.
- Returns:
- The intercepted content or null if interception is completed for that content.
 
- 
destroypublic void destroy()- Specified by:
- destroyin interface- Destroyable
 
 
-