|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.amazonaws.mturk.filter.Filter
public abstract class Filter
Abstract class which handles execution of Filters and also linking them together. User should subclass this for creating their own Filters
| Constructor Summary | |
|---|---|
Filter()
|
|
| Method Summary | |
|---|---|
abstract Reply |
execute(Message m)
Implement this to perform processing on Message and Reply in your Filter |
boolean |
isRemovable()
retun true if it can be removed from the chain of filters else false |
static void |
linkFilters(java.util.List<Filter> filterList)
Sets the nextfilter on each of the Filters |
protected Reply |
passMessage(Message m)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Filter()
| Method Detail |
|---|
public boolean isRemovable()
public static void linkFilters(java.util.List<Filter> filterList)
filterList - - list of filters which need to be linked together to form the filter chain
protected Reply passMessage(Message m)
throws ServiceException
m - - the request message that should be passed to the next filter
ServiceException
public abstract Reply execute(Message m)
throws ServiceException
m - - request message got from previous filter
ServiceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||