Class ExtendedViewController
- java.lang.Object
-
- de.digitalcollections.iiif.hymir.frontend.ExtendedViewController
-
@Controller public class ExtendedViewController extends Object
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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringviewCanvasGet(String version, String objectIdentifier, String canvasName, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request)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)
-
-
-
Method Detail
-
viewExtendedPresentationGet
@RequestMapping(value="/presentation/{identifier}/view.html", method=GET) public String viewExtendedPresentationGet(@PathVariable String identifier, org.springframework.ui.Model model)
-
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.api.identifiable.resource.exceptions.ResourceNotFoundException, InvalidDataExceptionDirect 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.api.identifiable.resource.exceptions.ResourceNotFoundException- if manifest not foundInvalidDataException- if manifest can't be read
-
-