public class HttpFiltersSourceAdapter extends Object implements HttpFiltersSource
HttpFiltersSource.| Constructor and Description |
|---|
HttpFiltersSourceAdapter() |
| Modifier and Type | Method and Description |
|---|---|
HttpFilters |
filterRequest(io.netty.handler.codec.http.HttpRequest originalRequest)
Return an
HttpFilters object for this request if and only if we
want to filter the request and/or its responses. |
int |
getMaximumRequestBufferSizeInBytes()
Indicate how many (if any) bytes to buffer for incoming
HttpRequests. |
int |
getMaximumResponseBufferSizeInBytes()
Indicate how many (if any) bytes to buffer for incoming
HttpResponses. |
public HttpFilters filterRequest(io.netty.handler.codec.http.HttpRequest originalRequest)
HttpFiltersSourceHttpFilters object for this request if and only if we
want to filter the request and/or its responses.filterRequest in interface HttpFiltersSourcepublic int getMaximumRequestBufferSizeInBytes()
HttpFiltersSourceHttpRequests. A value of 0 or less indicates that no buffering
should happen and that messages will be passed to the request filters'
#filter(HttpObject) methods chunk by chunk.getMaximumRequestBufferSizeInBytes in interface HttpFiltersSourcepublic int getMaximumResponseBufferSizeInBytes()
HttpFiltersSourceHttpResponses. A value of 0 or less indicates that no buffering
should happen and that messages will be passed to the response filters'
#filter(HttpObject) methods chunk by chunk.getMaximumResponseBufferSizeInBytes in interface HttpFiltersSourceCopyright © 2009-2013 LittleShoot. All Rights Reserved.