Interface HttpResource

    • Method Detail

      • getPath

        java.lang.String getPath()

        Obtains the path to this HttpResource.

        The path is canonical to allow using it as a key for caching this HttpResource.

        Returns:
        Canonical path to this HttpResource.
      • isExist

        boolean isExist()

        Indicates if this HttpResource exists. Should this HttpResource not exist, only the path will be available.

        This allows for caching of HttpResource instances not existing.

        Returns:
        true if this HttpResource exists.