|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shale.remoting.impl.FilteringProcessor
public abstract class FilteringProcessor
Abstract base class for Processor implementations that filter
requests based on matching the resource identifier against a set of
includes and excludes regular expressions.
| Constructor Summary | |
|---|---|
FilteringProcessor()
|
|
| Method Summary | |
|---|---|
protected boolean |
accept(java.lang.String resourceId)
Return true if we should accept a request for the
specified resource identifier, based upon our configured includes
and excludes patterns (if any). |
java.lang.String |
getExcludes()
Return the comma-delimited regular expresson patterns to exclude remote host names that match, if any; otherwise, return null. |
java.lang.String |
getIncludes()
Return the comma-delimited regular expresson patterns to include remote host names that match, if any; otherwise, return null. |
void |
setExcludes(java.lang.String excludes)
Set the comma-delimited regular expression patterns to exclude remote host names that match, if any; or null for no
restrictions. |
void |
setIncludes(java.lang.String includes)
Set the comma-delimited regular expression patterns to include remote host names that match, if any; or null for no
restrictions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.shale.remoting.Processor |
|---|
process |
| Constructor Detail |
|---|
public FilteringProcessor()
| Method Detail |
|---|
public java.lang.String getExcludes()
Return the comma-delimited regular expresson patterns to exclude
remote host names that match, if any; otherwise, return
null.
public void setExcludes(java.lang.String excludes)
Set the comma-delimited regular expression patterns to exclude
remote host names that match, if any; or null for no
restrictions.
excludes - New exclude pattern(s)public java.lang.String getIncludes()
Return the comma-delimited regular expresson patterns to include
remote host names that match, if any; otherwise, return
null.
public void setIncludes(java.lang.String includes)
Set the comma-delimited regular expression patterns to include
remote host names that match, if any; or null for no
restrictions.
includes - New include pattern(s)protected boolean accept(java.lang.String resourceId)
Return true if we should accept a request for the
specified resource identifier, based upon our configured includes
and excludes patterns (if any).
resourceId - Resource identifier to validate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||