public class ServletUrlResourcePaths extends Object
UrlResourcePaths of Servlets created by ServletAdapterFactory
according to the passed CdsRuntime.
Define an instance of ServletUrlResourcePaths.UrlResourcePathVisitor to take further action on public endpoints.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServletUrlResourcePaths.UrlResourcePathVisitor
The interface of a visitor
|
| Constructor and Description |
|---|
ServletUrlResourcePaths(CdsRuntime runtime)
Create an instance based on the underlying
CdsRuntime. |
| Modifier and Type | Method and Description |
|---|---|
Stream<UrlResourcePath> |
getBasePaths()
Returns the base paths found in the model.
|
void |
visit(ServletUrlResourcePaths.UrlResourcePathVisitor visitor)
Starts enumerating all cds servlet paths recursively (depth-first order).
|
public ServletUrlResourcePaths(CdsRuntime runtime)
CdsRuntime.runtime - the CdsRuntime.public Stream<UrlResourcePath> getBasePaths()
Stream of UrlResourcePath defining the base endpoints.public void visit(ServletUrlResourcePaths.UrlResourcePathVisitor visitor)
visitor - a visitor being notified during iterationCopyright © 2023. All rights reserved.