public class GzipHttpInputInterceptor extends java.lang.Object implements HttpInput.Interceptor
| Constructor and Description |
|---|
GzipHttpInputInterceptor(ByteBufferPool pool,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
HttpInput.Content |
readFrom(HttpInput.Content content) |
public GzipHttpInputInterceptor(ByteBufferPool pool,
int bufferSize)
public HttpInput.Content readFrom(HttpInput.Content content)
readFrom in interface HttpInput.Interceptorcontent - The content to be intercepted (may be empty or a HttpInput.SentinelContent.
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.public void destroy()