public final class NullTransportResourceLocator extends Object implements TransportResourceLocator
TransportResourceLocator. It does not handle any resource.| Constructor and Description |
|---|
NullTransportResourceLocator() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getResource(String url)
Retrieves a document's content.
|
boolean |
handles(String url)
Given the external document url this method checks if the document can be retrieved by this
TransportResourceLocator
or not. |
public boolean handles(String url)
TransportResourceLocatorTransportResourceLocator
or not.handles in interface TransportResourceLocatorurl - the document's urlpublic InputStream getResource(String url)
TransportResourceLocatorgetResource in interface TransportResourceLocatorurl - the document's urlInputStream representing the document's content.Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.