Interface Resource<T>

All Known Subinterfaces:
MappedResource<T1,T2,A1,A2>, S9ApiResource<T>
All Known Implementing Classes:
DOMResource, MappedDOMResource, XdmValueResource

public interface Resource<T>
A Resource is a Java representation of a web resource identified by a URI. A Resource is parametrized with the parsed content type, returned by the getContents() method.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the contents of the resource as parsed type.
    Returns the URI identifying this resource.
  • Method Details

    • getUri

      URI getUri()
      Returns the URI identifying this resource.
    • getContents

      T getContents()
      Returns the contents of the resource as parsed type.