RemoteAddrValvepublic final class RemoteAddrValve extends RequestFilterValve Concrete implementation of RequestFilterValve that filters
based on the string representation of the remote client's IP address. |
Fields Summary |
---|
private static final String | infoThe descriptive information related to this implementation. |
Methods Summary |
---|
public java.lang.String | getInfo()Return descriptive information about this Valve implementation.
// ------------------------------------------------------------- Properties
return (info);
| public void | invoke(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response)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.
process(request.getRequest().getRemoteAddr(), request, response);
|
|