Uses of Class
io.goobi.viewer.model.urlresolution.ViewerPath
Packages that use ViewerPath
Package
Description
Provides URL resolution and navigation history support for the Goobi viewer web application.
-
Uses of ViewerPath in io.goobi.viewer.model.urlresolution
Methods in io.goobi.viewer.model.urlresolution that return types with arguments of type ViewerPathModifier and TypeMethodDescriptionstatic Optional<ViewerPath> ViewerPathBuilder.createPath(HttpServletRequest httpRequest) Returns the request path of the givenhttpRequestas aViewerPath, including information on associated CMSPage and targeted PageType.static Optional<ViewerPath> ViewerPathBuilder.createPath(HttpServletRequest request, String baseUrl) createPath.static Optional<ViewerPath> ViewerPathBuilder.createPath(String applicationUrl, String applicationName, String serviceUrl, String queryString) Create a combined path from the given url.static Optional<ViewerPath> ViewHistory.getCurrentView(ServletRequest request) Retrieves the stored currentPath from the session associated the the passedrequest.static Optional<ViewerPath> ViewHistory.getPreviousView(ServletRequest request) Retrieves the stored previousPath from the session associated the the passedrequest.Methods in io.goobi.viewer.model.urlresolution with parameters of type ViewerPathModifier and TypeMethodDescriptionbooleanViewerPath.isNavigationallyEquivalent(ViewerPath other) Depending on the page type, a page is considered the same in the context of the navigation history if its base pagePath is the same vs also considering page parameters for certain pagesPath values.static voidViewHistory.setCurrentView(ViewerPath currentPath, HttpSession session) Saves the givencurrentPathto the session map, keeping the previously stored currentPath as previousPath if it has a different PageType than the current path.Constructors in io.goobi.viewer.model.urlresolution with parameters of type ViewerPathModifierConstructorDescriptionViewerPath(ViewerPath blueprint) Creates an exact copy of the passedblueprint.