Interface TransportResourceLocator
- All Known Implementing Classes:
DefaultTransportResourceLocator
public interface TransportResourceLocator
This interface acts as an additional layer of indirection between a the WSDL fetching and the WSDL parsing.
It enables the retrieval of WSDL and XSD documents that are protected somehow.
- Since:
- 1.0
-
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.
-
Method Details
-
handles
Given the external document url this method checks if the document can be retrieved by thisTransportResourceLocatoror not.- Parameters:
url- the document's url- Returns:
- whether it can retrieve the document file or not.
-
getResource
Retrieves a document's content.- Parameters:
url- the document's url- Returns:
- an
InputStreamrepresenting the document's content.
-