Interface IWadlDocumentResource


public interface IWadlDocumentResource
Exposes a SpringResource Interface to access wadl extension files
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the pluginId where the SpringResource is being retrieved
    Gets the InputStream of the referenced SpringResource
    boolean
    Identifies if the resource we are fetching is from a plugin or not
  • Method Details

    • getResourceAsStream

      InputStream getResourceAsStream() throws IOException
      Gets the InputStream of the referenced SpringResource
      Returns:
      InputStream with the file that SpringResource points
      Throws:
      IOException
    • isFromPlugin

      boolean isFromPlugin()
      Identifies if the resource we are fetching is from a plugin or not
      Returns:
      true if the resource is being retrieved from a plugin
    • getPluginId

      String getPluginId()
      Gets the pluginId where the SpringResource is being retrieved
      Returns:
      String with the pluginId