org.apache.synapse.rest.dispatch
Class URLMappingBasedDispatcher

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

public class URLMappingBasedDispatcher
extends Object
implements RESTDispatcher


Constructor Summary
URLMappingBasedDispatcher()
           
 
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

URLMappingBasedDispatcher

public URLMappingBasedDispatcher()
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.