Uses of Class
io.goobi.viewer.model.urlresolution.ViewerPath
-
Uses of ViewerPath in io.goobi.viewer.model.urlresolution
Modifier and TypeMethodDescriptionstatic Optional<ViewerPath>
ViewerPathBuilder.createPath
(String applicationUrl, String applicationName, String serviceUrl, String queryString) Create a combined path from the given url.static Optional<ViewerPath>
ViewerPathBuilder.createPath
(javax.servlet.http.HttpServletRequest httpRequest) Returns the request path of the givenhttpRequest
as aViewerPath
, including information on associated CMSPage and targeted PageType If the url has a pretty-url context and only consists of the server url, "/index" is appended to the url to redirect to the index pretty-mapping Any occurrences of "index.static Optional<ViewerPath>
ViewerPathBuilder.createPath
(javax.servlet.http.HttpServletRequest request, String baseUrl) createPath.static Optional<ViewerPath>
ViewHistory.getCurrentView
(javax.servlet.ServletRequest request) Retrieves the stored currentPath from the session associated the the passedrequest
static Optional<ViewerPath>
ViewHistory.getPreviousView
(javax.servlet.ServletRequest request) Retrieves the stored previousPath from the session associated the the passedrequest
Modifier and TypeMethodDescriptionstatic void
ViewHistory.setCurrentView
(ViewerPath currentPath, javax.servlet.http.HttpSession session) Saves the givencurrentPath
to the session map, keeping the previously stored currentPath as previousPath if it has a different PageType than the current path The path stored as currentPath can be retrieved byViewHistory.getCurrentView(ServletRequest)
; the previously stored path can be retrieved byViewHistory.getPreviousView(ServletRequest)
ModifierConstructorDescriptionViewerPath
(ViewerPath blueprint) Creates an exact copy of the passedblueprint
.