public interface HttpFilter extends HttpRequestMatcher
Modifier and Type | Method and Description |
---|---|
org.jboss.netty.handler.codec.http.HttpResponse |
filterResponse(org.jboss.netty.handler.codec.http.HttpRequest request,
org.jboss.netty.handler.codec.http.HttpResponse response)
Filters the HTTP response.
|
int |
getMaxResponseSize()
Returns the maximum response size to expect in bytes for this filter.
|
filterResponses
org.jboss.netty.handler.codec.http.HttpResponse filterResponse(org.jboss.netty.handler.codec.http.HttpRequest request, org.jboss.netty.handler.codec.http.HttpResponse response)
request
- The HTTP request associated with the response.response
- The response to filter.int getMaxResponseSize()
Copyright © 2009–2015 LittleShoot. All rights reserved.