Package org.apache.catalina.filters
Class RemoteHostFilter
- java.lang.Object
- 
- org.apache.catalina.filters.FilterBase
- 
- org.apache.catalina.filters.RequestFilter
- 
- org.apache.catalina.filters.RemoteHostFilter
 
 
 
- 
- All Implemented Interfaces:
- Filter
 
 public final class RemoteHostFilter extends RequestFilter Concrete implementation ofRequestFilterthat filters based on the remote client's host name.- Author:
- Craig R. McClanahan
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.catalina.filters.RequestFilterallow, deny, denyStatus
 - 
Fields inherited from class org.apache.catalina.filters.FilterBasesm
 
- 
 - 
Constructor SummaryConstructors Constructor Description RemoteHostFilter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoFilter(ServletRequest request, ServletResponse response, FilterChain chain)Extract the desired request property, and pass it (along with the specified request and response objects and associated filter chain) to the protectedprocess()method to perform the actual filtering.protected LoggetLogger()- 
Methods inherited from class org.apache.catalina.filters.RequestFiltergetAllow, getDeny, getDenyStatus, isConfigProblemFatal, process, setAllow, setDeny, setDenyStatus
 - 
Methods inherited from class org.apache.catalina.filters.FilterBaseinit
 
- 
 
- 
- 
- 
Method Detail- 
doFilterpublic void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws java.io.IOException, ServletException Extract the desired request property, and pass it (along with the specified request and response objects and associated filter chain) to the protectedprocess()method to perform the actual filtering.- Specified by:
- doFilterin interface- Filter
- Specified by:
- doFilterin class- RequestFilter
- Parameters:
- request- The servlet request to be processed
- response- The servlet response to be created
- chain- The filter chain for this request
- Throws:
- java.io.IOException- if an input/output error occurs
- ServletException- if a servlet error occurs
 
 - 
getLoggerprotected Log getLogger() - Specified by:
- getLoggerin class- FilterBase
 
 
- 
 
-