Class MCRIIIFPresentationResource

java.lang.Object
org.mycore.iiif.presentation.resources.MCRIIIFPresentationResource

@Path("/presentation/v2{noop: /?}{impl: ([a-zA-Z0-9]+)?}") public class MCRIIIFPresentationResource extends Object
  • Constructor Details

    • MCRIIIFPresentationResource

      public MCRIIIFPresentationResource()
  • Method Details

    • getCollection

      @GET @Produces("application/ld+json") @Path("collection/{name}") public jakarta.ws.rs.core.Response getCollection(@PathParam("impl") String impl, @PathParam("name") String name)
    • getManifest

      @GET @Produces("application/ld+json") @Path("{identifier}/manifest") public jakarta.ws.rs.core.Response getManifest(@PathParam("impl") String impl, @PathParam("identifier") String identifier, @HeaderParam("Cache-Control") String cacheControl) throws CloneNotSupportedException
      Throws:
      CloneNotSupportedException
    • getManifestQuickAccess

      protected MCRIIIFPresentationManifestQuickAccess getManifestQuickAccess(String impl, String identifier)
    • getManifestQuickAccess

      protected MCRIIIFPresentationManifestQuickAccess getManifestQuickAccess(String impl, String identifier, boolean noCache)
    • addHeaders

      protected jakarta.ws.rs.core.Response.ResponseBuilder addHeaders(jakarta.ws.rs.core.Response.ResponseBuilder builder)
    • getGson

      protected com.google.gson.Gson getGson()
    • getSequence

      @GET @Produces("application/ld+json") @Path("{identifier}/sequence/{name}") public jakarta.ws.rs.core.Response getSequence(@PathParam("impl") String impl, @PathParam("identifier") String identifier, @PathParam("name") String name, @HeaderParam("Cache-Control") String cacheControl)
    • getCanvas

      @GET @Produces("application/ld+json") @Path("{identifier}/canvas/{name}") public jakarta.ws.rs.core.Response getCanvas(@PathParam("impl") String impl, @PathParam("identifier") String identifier, @PathParam("name") String name, @HeaderParam("Cache-Control") String cacheControl)
    • getAnnotation

      @GET @Produces("application/ld+json") @Path("{identifier}/annotation/{name}") public jakarta.ws.rs.core.Response getAnnotation(@PathParam("impl") String impl, @PathParam("identifier") String identifier, @PathParam("name") String name, @HeaderParam("Cache-Control") String cacheControl)
    • getAnnotationList

      @GET @Produces("application/ld+json") @Path("{identifier}/list/{name}") public jakarta.ws.rs.core.Response getAnnotationList(@PathParam("impl") String impl, @PathParam("identifier") String identifier, @PathParam("name") String name, @HeaderParam("Cache-Control") String cacheControl)
    • getRange

      @GET @Produces("application/ld+json") @Path("{identifier}/range/{name}") public jakarta.ws.rs.core.Response getRange(@PathParam("impl") String impl, @PathParam("identifier") String identifier, @PathParam("name") String name, @HeaderParam("Cache-Control") String cacheControl)
    • getLayer

      @GET @Produces("application/ld+json") @Path("{identifier}/layer/{name}") public jakarta.ws.rs.core.Response getLayer(@PathParam("impl") String impl, @PathParam("identifier") String identifier, @PathParam("name") String name)
    • getContent

      @GET @Path("{identifier}/res/{name}[.]{format}") public jakarta.ws.rs.core.Response getContent(@PathParam("impl") String impl, @PathParam("identifier") String identifier, @PathParam("name") String name, @PathParam("format") String format)