org.apache.synapse.rest.dispatch
Class URLMappingBasedDispatcher
java.lang.Object
org.apache.synapse.rest.dispatch.URLMappingBasedDispatcher
- All Implemented Interfaces:
- RESTDispatcher
public class URLMappingBasedDispatcher
- extends Object
- implements RESTDispatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLMappingBasedDispatcher
public URLMappingBasedDispatcher()
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 Resourceresources
- Collection of available Resource instances
- Returns:
- A matching Resource instance or null
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.