public final class RemoteAddrFilter extends RequestFilter
RequestFilter
that filters
based on the string representation of the remote client's IP address.allow, deny, denyStatus
sm
Constructor and Description |
---|
RemoteAddrFilter() |
Modifier and Type | Method and Description |
---|---|
void |
doFilter(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 protected
process() method to perform the actual
filtering. |
protected Log |
getLogger() |
getAllow, getDeny, getDenyStatus, isConfigProblemFatal, process, setAllow, setDeny, setDenyStatus
init
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException
process()
method to perform the actual
filtering.doFilter
in interface Filter
doFilter
in class RequestFilter
request
- The servlet request to be processedresponse
- The servlet response to be createdchain
- The filter chain for this requestIOException
- if an input/output error occursServletException
- if a servlet error occursprotected Log getLogger()
getLogger
in class FilterBase
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.