public class GzipHttpInputInterceptor extends Object implements HttpInput.Interceptor, Destroyable
| 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()
destroy in interface DestroyableCopyright © 1995–2017 Webtide. All rights reserved.