public interface HttpFiltersSource
HttpFilters.| 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. |
HttpFilters filterRequest(io.netty.handler.codec.http.HttpRequest originalRequest)
HttpFilters object for this request if and only if we
want to filter the request and/or its responses.originalRequest - int getMaximumRequestBufferSizeInBytes()
HttpRequests. 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.int getMaximumResponseBufferSizeInBytes()
HttpResponses. 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.Copyright © 2009-2013 LittleShoot. All Rights Reserved.