Class 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 Detail

      • ExtendedViewController

        public ExtendedViewController()
        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,
                                    InvalidDataException
        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/1
        Parameters:
        version - api version
        objectIdentifier - object identifier
        canvasName - name of canvas
        model - mvc model
        request - request
        Returns:
        canvas specific view
        Throws:
        ResolvingException - if identifier of manifest can not be resolved
        de.digitalcollections.model.exception.ResourceNotFoundException - if manifest not found
        InvalidDataException - if manifest can't be read