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 Summary
Fields inherited from class RequestFilter
allow, deny, denyStatus
Fields inherited from class FilterBase
sm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doFilter
(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 Log
Deprecated.Methods inherited from class RequestFilter
getAllow, getDeny, getDenyStatus, isConfigProblemFatal, process, setAllow, setDeny, setDenyStatus
Methods inherited from class FilterBase
init
-
Constructor Details
-
RemoteAddrFilter
public RemoteAddrFilter()Deprecated.
-
-
Method Details
-
doFilter
public 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:
doFilter
in interfaceFilter
- Specified by:
doFilter
in classRequestFilter
- Parameters:
request
- The servlet request to be processedresponse
- The servlet response to be createdchain
- The filter chain for this request- Throws:
IOException
- if an input/output error occursServletException
- if a servlet error occurs
-
getLogger
-
RemoteCIDRFilter
instead.