|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.applicationblocks.commons.PredicateBase<RequestContext>
com.genesyslab.platform.applicationblocks.commons.broker.RequestFilter
setMessageHandler(handler)
to handle incoming messages asynchronously.
@Deprecated public class RequestFilter
RequestFilter
class is designed for filtering requests.
Constructor Summary | |
---|---|
RequestFilter(Predicate<Message> filter)
Deprecated. Creates an instance of RequestFilter class. |
Method Summary | |
---|---|
protected boolean |
evaluate(RequestContext context)
Deprecated. Evaluates a request using protocol description and endpoint name as criterias. |
Predicate<Message> |
getMessageFilter()
Deprecated. Gets message filter. |
void |
setMessageFilter(Predicate<Message> value)
Deprecated. Sets message filter. |
Methods inherited from class com.genesyslab.platform.applicationblocks.commons.PredicateBase |
---|
invoke, isNegated, setNegated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestFilter(Predicate<Message> filter)
filter
- initializes MessageFilterMethod Detail |
---|
public Predicate<Message> getMessageFilter()
public void setMessageFilter(Predicate<Message> value)
value
- message filterprotected boolean evaluate(RequestContext context)
evaluate
in class PredicateBase<RequestContext>
context
- A request targeted for evaluation
true
if protocol description and endpoint name of the request
are equal to the protocol description
and endpoint name of the message filter property,
otherwise returns false
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |