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 Details

    • handles

      boolean handles(String url)
      Given the external document url this method checks if the document can be retrieved by this TransportResourceLocator or not.
      Parameters:
      url - the document's url
      Returns:
      whether it can retrieve the document file or not.
    • getResource

      InputStream getResource(String url)
      Retrieves a document's content.
      Parameters:
      url - the document's url
      Returns:
      an InputStream representing the document's content.