Package com.sap.cds.adapter
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()Iftrue, the endpoint should be exposed to public, i.e. without authentication- Returns:
trueif public
-
publicEvents
AStreamof events that are public even ifisPublic()==false.- Returns:
- The stream of public events
-
subPaths
Stream<UrlResourcePath> subPaths()AStreamof child paths.- Returns:
- The child ResourcePaths
-