Class RemoteAddrFilter
java.lang.Object
org.apache.catalina.filters.FilterBase
org.apache.catalina.filters.RequestFilter
org.apache.catalina.filters.RemoteAddrFilter
- All Implemented Interfaces:
- Filter
Deprecated.
Concrete implementation of 
RequestFilter that filters based on the string representation of the remote
client's IP address.- 
Field SummaryFields inherited from class RequestFilterallow, deny, denyStatusFields inherited from class FilterBasesm
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddoFilter(ServletRequest request, ServletResponse response, FilterChain chain) Deprecated.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 LogDeprecated.Methods inherited from class RequestFiltergetAllow, getDeny, getDenyStatus, isConfigProblemFatal, process, setAllow, setDeny, setDenyStatusMethods inherited from class FilterBaseinit
- 
Constructor Details- 
RemoteAddrFilterpublic RemoteAddrFilter()Deprecated.
 
- 
- 
Method Details- 
doFilterpublic void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException Deprecated.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:
- IOException- if an input/output error occurs
- ServletException- if a servlet error occurs
 
- 
getLogger
 
- 
RemoteCIDRFilterinstead.