Class HttpResourceLoader

java.lang.Object
nz.org.riskscape.engine.defaults.resource.HttpResourceLoader
All Implemented Interfaces:
nz.org.riskscape.engine.resource.ResourceLoader

public class HttpResourceLoader extends Object implements nz.org.riskscape.engine.resource.ResourceLoader

Loads Resources accessible via http(s).

  • Constructor Details

    • HttpResourceLoader

      public HttpResourceLoader(nz.org.riskscape.engine.Engine engine)
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface nz.org.riskscape.engine.resource.ResourceLoader
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface nz.org.riskscape.engine.resource.ResourceLoader
    • canLoad

      public boolean canLoad(URI target)
      Specified by:
      canLoad in interface nz.org.riskscape.engine.resource.ResourceLoader
    • load

      public nz.org.riskscape.engine.resource.Resource load(URI target)
      Specified by:
      load in interface nz.org.riskscape.engine.resource.ResourceLoader