Class IIIFPresentationApiController


  • @Controller
    @RequestMapping("${custom.iiif.presentation.urlPrefix:/presentation/v2}")
    @Deprecated(forRemoval=true)
    public class IIIFPresentationApiController
    extends Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected CustomResponseHeaders customResponseHeaders
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      static String VERSION
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      IIIFPresentationApiController()
      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
      void checkManifest​(String identifier, javax.servlet.http.HttpServletResponse resp)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      de.digitalcollections.iiif.model.sharedcanvas.AnnotationList getAnnotationList​(String identifier, String name, String canvasId, javax.servlet.http.HttpServletResponse resp)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      de.digitalcollections.iiif.model.sharedcanvas.Canvas getCanvas​(String manifestId, String canvasId, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      de.digitalcollections.iiif.model.sharedcanvas.Collection getCollection​(String identifier, org.springframework.web.context.request.WebRequest request, javax.servlet.http.HttpServletResponse resp)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      de.digitalcollections.iiif.model.sharedcanvas.Manifest getManifest​(String identifier, org.springframework.web.context.request.WebRequest request, javax.servlet.http.HttpServletResponse resp)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      de.digitalcollections.iiif.model.sharedcanvas.Range getRange​(String manifestId, String rangeId, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      de.digitalcollections.iiif.model.sharedcanvas.Sequence getSequence​(String manifestId, String sequenceId, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Field Detail

      • VERSION

        public static final String VERSION
        Deprecated, for removal: This API element is subject to removal in a future version.
        See Also:
        Constant Field Values
      • customResponseHeaders

        @Autowired
        protected CustomResponseHeaders customResponseHeaders
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Constructor Detail

      • IIIFPresentationApiController

        public IIIFPresentationApiController()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getManifest

        @RequestMapping(value={"{identifier}/manifest","{identifier}"},
                        method=GET,
                        produces="application/json")
        @ResponseBody
        public de.digitalcollections.iiif.model.sharedcanvas.Manifest getManifest​(@PathVariable
                                                                                  String identifier,
                                                                                  org.springframework.web.context.request.WebRequest request,
                                                                                  javax.servlet.http.HttpServletResponse resp)
                                                                           throws ResolvingException,
                                                                                  de.digitalcollections.model.exception.ResourceNotFoundException,
                                                                                  InvalidDataException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        ResolvingException
        de.digitalcollections.model.exception.ResourceNotFoundException
        InvalidDataException
      • checkManifest

        @RequestMapping(value={"{identifier}/manifest","{identifier}"},
                        method=HEAD)
        public void checkManifest​(@PathVariable
                                  String identifier,
                                  javax.servlet.http.HttpServletResponse resp)
                           throws ResolvingException,
                                  de.digitalcollections.model.exception.ResourceNotFoundException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        ResolvingException
        de.digitalcollections.model.exception.ResourceNotFoundException
      • getCanvas

        @RequestMapping(value="{manifestId}/canvas/{canvasId}",
                        method=GET)
        @ResponseBody
        public de.digitalcollections.iiif.model.sharedcanvas.Canvas getCanvas​(@PathVariable
                                                                              String manifestId,
                                                                              @PathVariable
                                                                              String canvasId,
                                                                              javax.servlet.http.HttpServletRequest req,
                                                                              javax.servlet.http.HttpServletResponse resp)
                                                                       throws ResolvingException,
                                                                              de.digitalcollections.model.exception.ResourceNotFoundException,
                                                                              InvalidDataException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        ResolvingException
        de.digitalcollections.model.exception.ResourceNotFoundException
        InvalidDataException
      • getRange

        @RequestMapping(value="{manifestId}/range/{rangeId}",
                        method=GET)
        @ResponseBody
        public de.digitalcollections.iiif.model.sharedcanvas.Range getRange​(@PathVariable
                                                                            String manifestId,
                                                                            @PathVariable
                                                                            String rangeId,
                                                                            javax.servlet.http.HttpServletRequest req,
                                                                            javax.servlet.http.HttpServletResponse resp)
                                                                     throws ResolvingException,
                                                                            de.digitalcollections.model.exception.ResourceNotFoundException,
                                                                            InvalidDataException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        ResolvingException
        de.digitalcollections.model.exception.ResourceNotFoundException
        InvalidDataException
      • getSequence

        @RequestMapping(value="{manifestId}/sequence/{sequenceId}",
                        method=GET)
        @ResponseBody
        public de.digitalcollections.iiif.model.sharedcanvas.Sequence getSequence​(@PathVariable
                                                                                  String manifestId,
                                                                                  @PathVariable
                                                                                  String sequenceId,
                                                                                  javax.servlet.http.HttpServletRequest req,
                                                                                  javax.servlet.http.HttpServletResponse resp)
                                                                           throws ResolvingException,
                                                                                  de.digitalcollections.model.exception.ResourceNotFoundException,
                                                                                  InvalidDataException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        ResolvingException
        de.digitalcollections.model.exception.ResourceNotFoundException
        InvalidDataException
      • getCollection

        @RequestMapping(value="collection/{identifier}",
                        method={GET,HEAD},
                        produces="application/json")
        @ResponseBody
        public de.digitalcollections.iiif.model.sharedcanvas.Collection getCollection​(@PathVariable
                                                                                      String identifier,
                                                                                      org.springframework.web.context.request.WebRequest request,
                                                                                      javax.servlet.http.HttpServletResponse resp)
                                                                               throws ResolvingException,
                                                                                      de.digitalcollections.model.exception.ResourceNotFoundException,
                                                                                      InvalidDataException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        ResolvingException
        de.digitalcollections.model.exception.ResourceNotFoundException
        InvalidDataException
      • getAnnotationList

        @GetMapping(value="{identifier}/list/{name}/{canvasId}",
                    produces="application/json")
        @ResponseBody
        public de.digitalcollections.iiif.model.sharedcanvas.AnnotationList getAnnotationList​(@PathVariable
                                                                                              String identifier,
                                                                                              @PathVariable
                                                                                              String name,
                                                                                              @PathVariable
                                                                                              String canvasId,
                                                                                              javax.servlet.http.HttpServletResponse resp)
                                                                                       throws ResolvingException,
                                                                                              de.digitalcollections.model.exception.ResourceNotFoundException,
                                                                                              InvalidDataException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        ResolvingException
        de.digitalcollections.model.exception.ResourceNotFoundException
        InvalidDataException