| java.lang.Object org.apache.catalina.valves.ValveBase org.apache.catalina.valves.RequestFilterValve org.apache.catalina.valves.RemoteHostValve
RemoteHostValve | final public class RemoteHostValve extends RequestFilterValve (Code) | | Concrete implementation of RequestFilterValve that filters
based on the string representation of the remote client's IP address.
author: Craig R. McClanahan version: $Revision: 1.2 $ $Date: 2004/02/27 14:58:52 $ |
Method Summary | |
public String | getInfo() Return descriptive information about this Valve implementation. | public void | invoke(Request request, Response response, ValveContext context) Extract the desired request property, and pass it (along with the
specified request and response objects) to the protected
process() method to perform the actual filtering. |
getInfo | public String getInfo()(Code) | | Return descriptive information about this Valve implementation.
|
invoke | public void invoke(Request request, Response response, ValveContext context) throws IOException, ServletException(Code) | | Extract the desired request property, and pass it (along with the
specified request and response objects) to the protected
process() method to perform the actual filtering.
This method must be implemented by a concrete subclass.
Parameters: request - The servlet request to be processed Parameters: response - The servlet response to be created Parameters: context - The valve context used to invoke the next valvein the current processing pipeline exception: IOException - if an input/output error occurs exception: ServletException - if a servlet error occurs |
|
|