public class RemoteAddrFilter extends AbstractRegExpFilter
Command that filters incoming requests based on matching the remote
address against regular expression patterns that are configured on
this instance. See AbstractRegExpFilter
for details of the
matching algorithm.
USAGE NOTE: - This command will only be effective if
used before the regular filter chain is processed. In other words, you
should invoke it as part of a preprocess
chain in the
shale
catalog.
AbstractRegExpFilter
Constructor and Description |
---|
RemoteAddrFilter() |
Modifier and Type | Method and Description |
---|---|
protected String |
value(ShaleWebContext context)
Return the value to be tested against exclude and include patterns.
|
accept, execute, getExcludes, getIncludes, getIncludesPatterns, matches, reject, setExcludes, setIncludes
protected String value(ShaleWebContext context)
Return the value to be tested against exclude and include patterns.
This will be the value of the remoteAddr
property.
value
in class AbstractRegExpFilter
context
- Context
for the current requestCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.