Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » catalina » valves » [javadoc | source]
org.apache.catalina.valves
public final class: RemoteHostValve [javadoc | source]
java.lang.Object
   org.apache.catalina.valves.ValveBase
      org.apache.catalina.valves.RequestFilterValve
         org.apache.catalina.valves.RemoteHostValve

All Implemented Interfaces:
    Valve, MBeanRegistration, Contained

Concrete implementation of RequestFilterValve that filters based on the remote client's host name.
Fields inherited from org.apache.catalina.valves.RequestFilterValve:
sm,  allow,  allows,  denies,  deny
Fields inherited from org.apache.catalina.valves.ValveBase:
container,  containerLog,  info,  next,  sm,  domain,  oname,  mserver,  controller
Method from org.apache.catalina.valves.RemoteHostValve Summary:
getInfo,   invoke
Methods from org.apache.catalina.valves.RequestFilterValve:
getAllow,   getDeny,   getInfo,   invoke,   precalculate,   process,   setAllow,   setDeny
Methods from org.apache.catalina.valves.ValveBase:
backgroundProcess,   createObjectName,   event,   getContainer,   getContainerName,   getController,   getDomain,   getInfo,   getNext,   getObjectName,   getParentName,   invoke,   postDeregister,   postRegister,   preDeregister,   preRegister,   setContainer,   setController,   setNext,   setObjectName,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.valves.RemoteHostValve Detail:
 public String getInfo() 
    Return descriptive information about this Valve implementation.
 public  void invoke(Request request,
    Response response) 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.