org.lastbamboo.common.sip.proxy
Class CanHandleRequestPredicate
java.lang.Object
org.lastbamboo.common.sip.proxy.CanHandleRequestPredicate
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate
public final class CanHandleRequestPredicate
- extends Object
- implements org.apache.commons.collections.Predicate
A predicate that evaluates a location service to see if it can handle a
request provided in this class's constructor.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CanHandleRequestPredicate
public CanHandleRequestPredicate(URI requestUri)
- Constructs a new predicate.
- Parameters:
requestUri - The request URI that the location could potentially handle.
evaluate
public boolean evaluate(Object object)
-
- Specified by:
evaluate in interface org.apache.commons.collections.Predicate
Copyright © 2013 LittleShoot. All Rights Reserved.