public interface PathConstructor
SymbolConstants.APPLICATION_FOLDER
(if any).| Modifier and Type | Method and Description |
|---|---|
String |
constructClientPath(String... terms)
Constructs a client path, the path portion of an absolute URL.
|
String |
constructDispatchPath(String... terms)
Constructs the dispatch path, which is like the client path, but omits the context path; this aligns
the result with the value returned from
Request.getPath(), and is used
in code, typically Dispatcher implementations, that are attempting to route based on the incoming request path. |
String constructClientPath(String... terms)
terms - additional terms (folder names, or a file name) following the context path and application folder.String constructDispatchPath(String... terms)
Request.getPath(), and is used
in code, typically Dispatcher implementations, that are attempting to route based on the incoming request path.terms - additional terms (folder names, or a file name) following the context path and application folder.5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.