Package org.apache.synapse.api.dispatch
Interface RESTDispatcher
-
- All Known Implementing Classes:
DefaultDispatcher
,URITemplateBasedDispatcher
,URLMappingBasedDispatcher
public interface RESTDispatcher
Interface for finding a Resource through which a given request can be mediated. Implementations of this interface should attempt to find a Resource out of the provided collection using which the given message can br further processed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resource
findResource(MessageContext synCtx, Collection<Resource> resources)
Find a Resource instance suitable for processing the given message
-
-
-
Method Detail
-
findResource
Resource findResource(MessageContext synCtx, Collection<Resource> resources)
Find a Resource instance suitable for processing the given message- Parameters:
synCtx
- MessageContext to be processed through a Resourceresources
- Collection of available Resource instances- Returns:
- A matching Resource instance or null
-
-