Class DefaultTransportResourceLocator
java.lang.Object
org.mule.soap.api.transport.locator.DefaultTransportResourceLocator
- All Implemented Interfaces:
TransportResourceLocator
public final class DefaultTransportResourceLocator
extends Object
implements TransportResourceLocator
Default implementation of a
TransportResourceLocator. Tries to handle every resource by delegating to a
GlobalResourceLocator.- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResource(String url) Retrieves a document's content.booleanGiven the external document url this method checks if the document can be retrieved by thisTransportResourceLocatoror not.
-
Constructor Details
-
DefaultTransportResourceLocator
public DefaultTransportResourceLocator()
-
-
Method Details
-
handles
Description copied from interface:TransportResourceLocatorGiven the external document url this method checks if the document can be retrieved by thisTransportResourceLocatoror not.- Specified by:
handlesin interfaceTransportResourceLocator- Parameters:
url- the document's url- Returns:
- whether it can retrieve the document file or not.
-
getResource
Description copied from interface:TransportResourceLocatorRetrieves a document's content.- Specified by:
getResourcein interfaceTransportResourceLocator- Parameters:
url- the document's url- Returns:
- an
InputStreamrepresenting the document's content.
-