Class ExtendedViewController
- java.lang.Object
-
- de.digitalcollections.iiif.hymir.frontend.ExtendedViewController
-
@Deprecated(forRemoval=true) @Controller public class ExtendedViewController extends Object
Deprecated, for removal: This API element is subject to removal in a future version.Controller for serving viewer page.Provides direct access to viewer for external call. Can be overwritten with custom behaviour.
-
-
Constructor Summary
Constructors Constructor Description ExtendedViewController()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringviewCanvasGet(String version, String objectIdentifier, String canvasName, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request)Deprecated, for removal: This API element is subject to removal in a future version.Direct link for viewing a specified canvas (page) used for citation.https://api.digitale-sammlungen.de/iiif/presentation/v2/bsb00107186/canvas/1StringviewExtendedPresentationGet(String identifier, org.springframework.ui.Model model)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
viewExtendedPresentationGet
@RequestMapping(value="/presentation/{identifier}/view.html", method=GET) public String viewExtendedPresentationGet(@PathVariable String identifier, org.springframework.ui.Model model)Deprecated, for removal: This API element is subject to removal in a future version.
-
viewCanvasGet
@RequestMapping(value="/presentation/{version}/{objectIdentifier}/canvas/{canvasName}/view", method=GET) public String viewCanvasGet(@PathVariable String version, @PathVariable String objectIdentifier, @PathVariable String canvasName, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) throws ResolvingException, de.digitalcollections.model.exception.ResourceNotFoundException, InvalidDataExceptionDeprecated, for removal: This API element is subject to removal in a future version.Direct link for viewing a specified canvas (page) used for citation.https://api.digitale-sammlungen.de/iiif/presentation/v2/bsb00107186/canvas/1- Parameters:
version- api versionobjectIdentifier- object identifiercanvasName- name of canvasmodel- mvc modelrequest- request- Returns:
- canvas specific view
- Throws:
ResolvingException- if identifier of manifest can not be resolvedde.digitalcollections.model.exception.ResourceNotFoundException- if manifest not foundInvalidDataException- if manifest can't be read
-
-