org.apache.catalina.valves
Class RemoteAddrValve
- Contained, MBeanRegistration, Valve
public final class RemoteAddrValve
Concrete implementation of RequestFilterValve
that filters
based on the string representation of the remote client's IP address.
Version:
- Craig R. McClanahan
String | getInfo() - Return descriptive information about this Valve implementation.
|
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.
|
createObjectName , getContainer , getContainerName , getController , getDebug , getDomain , getInfo , getObjectName , getParentName , invoke , postDeregister , postRegister , preDeregister , preRegister , setContainer , setController , setDebug , setObjectName |
getInfo
public String getInfo()
Return descriptive information about this Valve implementation.
- getInfo in interface Valve
- getInfo in interface RequestFilterValve
invoke
public void invoke(Request request,
Response response,
ValveContext context)
throws IOException,
ServletException
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.
- invoke in interface Valve
- invoke in interface RequestFilterValve
request
- The servlet request to be processedresponse
- The servlet response to be createdcontext
- The valve context used to invoke the next valve
in the current processing pipeline
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.