|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.shale.application.AbstractRegExpFilter
org.apache.shale.application.RemoteAddrFilter
public class RemoteAddrFilter
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
Field Summary |
---|
Fields inherited from interface org.apache.commons.chain.Command |
---|
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Constructor Summary | |
---|---|
RemoteAddrFilter()
|
Method Summary | |
---|---|
protected java.lang.String |
value(ShaleWebContext context)
Return the value to be tested against exclude and include patterns. |
Methods inherited from class org.apache.shale.application.AbstractRegExpFilter |
---|
accept, execute, getExcludes, getIncludes, getIncludesPatterns, matches, reject, setExcludes, setIncludes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteAddrFilter()
Method Detail |
---|
protected java.lang.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 request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |