org.apache.catalina.valves
public final class RemoteAddrValve extends RequestFilterValve
RequestFilterValve
that filters
based on the string representation of the remote client's IP address.allow, allows, denies, deny, sm
container, containerLog, controller, domain, mserver, next, oname
Constructor and Description |
---|
RemoteAddrValve() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInfo()
Return descriptive information about this Valve implementation.
|
void |
invoke(Request request,
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. |
getAllow, getDeny, precalculate, process, setAllow, setDeny
backgroundProcess, createObjectName, event, getContainer, getContainerName, getController, getDomain, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setNext, setObjectName, toString
public java.lang.String getInfo()
getInfo
in interface Valve
getInfo
in class RequestFilterValve
public void invoke(Request request, Response response) throws java.io.IOException, javax.servlet.ServletException
process()
method to perform the actual filtering.
This method must be implemented by a concrete subclass.invoke
in interface Valve
invoke
in class RequestFilterValve
request
- The servlet request to be processedresponse
- The servlet response to be createdjava.io.IOException
- if an input/output error occursjavax.servlet.ServletException
- if a servlet error occursCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.