org.lastbamboo.common.sip.proxy
Class CanHandleRequestPredicate

java.lang.Object
  extended by 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.


Constructor Summary
CanHandleRequestPredicate(URI requestUri)
          Constructs a new predicate.
 
Method Summary
 boolean evaluate(Object object)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CanHandleRequestPredicate

public CanHandleRequestPredicate(URI requestUri)
Constructs a new predicate.

Parameters:
requestUri - The request URI that the location could potentially handle.
Method Detail

evaluate

public boolean evaluate(Object object)

Specified by:
evaluate in interface org.apache.commons.collections.Predicate


Copyright © 2013 LittleShoot. All Rights Reserved.