HttpInput.Interceptor, Destroyablepublic class GzipHttpInputInterceptor extends java.lang.Object implements HttpInput.Interceptor, Destroyable
| Constructor | Description |
|---|---|
GzipHttpInputInterceptor(ByteBufferPool pool,
int bufferSize) |
| Modifier and Type | Method | 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–2018 Webtide. All rights reserved.