|
||||||||||
| PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.web.tomcat.filters.RemoteHostFilter
Accept or deny a request based on the IP address of the client who made the request. JDK 1.4 or higher is required.
This filter is configured by setting the "allow" and/or "deny" properties to a comma-delimited list of regular expressions (in the syntax supported by the java.util.regex package) to which the client IP address will be compared.
| Constructor Summary | |
RemoteHostFilter()
|
|
| Method Summary | |
void |
destroy()
Destroy method for this filter |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
|
void |
init(FilterConfig filterConfig)
Init method for this filter |
java.lang.String |
toString()
Return a String representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RemoteHostFilter()
| Method Detail |
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws java.io.IOException,
ServletException
request - The servlet request we are processingresponse - The servlet response we are creatingchain - The filter chain we are processing
java.io.IOException - if an input/output error occurs
ServletException - if a servlet error occurspublic void destroy()
public void init(FilterConfig filterConfig)
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||