org.apache.synapse.rest.dispatch
Class DefaultDispatcher

java.lang.Object
  extended by org.apache.synapse.rest.dispatch.DefaultDispatcher
All Implemented Interfaces:
RESTDispatcher

public class DefaultDispatcher
extends Object
implements RESTDispatcher


Constructor Summary
DefaultDispatcher()
           
 
Method Summary
 Resource findResource(MessageContext synCtx, Collection<Resource> resources)
          Find a Resource instance suitable for processing the given message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDispatcher

public DefaultDispatcher()
Method Detail

findResource

public Resource findResource(MessageContext synCtx,
                             Collection<Resource> resources)
Description copied from interface: RESTDispatcher
Find a Resource instance suitable for processing the given message

Specified by:
findResource in interface RESTDispatcher
Parameters:
synCtx - MessageContext to be processed through a Resource
resources - Collection of available Resource instances
Returns:
A matching Resource instance or null


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.