|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.littleshoot.proxy.NoOpHttpFilter
public class NoOpHttpFilter
HTTP filter that does nothing.
| Constructor Summary | |
|---|---|
NoOpHttpFilter()
|
|
| Method Summary | |
|---|---|
org.jboss.netty.handler.codec.http.HttpResponse |
filterResponse(org.jboss.netty.handler.codec.http.HttpRequest httpRequest,
org.jboss.netty.handler.codec.http.HttpResponse response)
Filters the HTTP response. |
boolean |
filterResponses(org.jboss.netty.handler.codec.http.HttpRequest httpRequest)
Returns whether or not to filter responses received from the specified HTTP request. |
int |
getMaxResponseSize()
Returns the maximum response size to expect in bytes for this filter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoOpHttpFilter()
| Method Detail |
|---|
public boolean filterResponses(org.jboss.netty.handler.codec.http.HttpRequest httpRequest)
HttpRequestMatcher
filterResponses in interface HttpRequestMatcherhttpRequest - The request to check.
true if we should apply this set of rules,
otherwise false.
public org.jboss.netty.handler.codec.http.HttpResponse filterResponse(org.jboss.netty.handler.codec.http.HttpRequest httpRequest,
org.jboss.netty.handler.codec.http.HttpResponse response)
HttpFilter
filterResponse in interface HttpFilterhttpRequest - The HTTP request associated with the response.response - The response to filter.
public int getMaxResponseSize()
HttpFilter
getMaxResponseSize in interface HttpFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||