Interface UrlResourcePath


public interface UrlResourcePath
A UrlResourcePath describes the hierarchical structure of a resource along with additional meta information.
  • Method Details

    • getPath

      String getPath()
      The path including the resource's base path. Ant patterns to specify collections of endpoints are allowed.
      Returns:
      The path of the resource endpoint
    • isPublic

      boolean isPublic()
      If true, the endpoint should be exposed to public, i.e. without authentication
      Returns:
      true if public
    • publicEvents

      Stream<String> publicEvents()
      A Stream of events that are public even if isPublic()==false.
      Returns:
      The stream of public events
    • subPaths

      Stream<UrlResourcePath> subPaths()
      A Stream of child paths.
      Returns:
      The child ResourcePaths