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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.Response.ResponseBuilder
addHeaders
(jakarta.ws.rs.core.Response.ResponseBuilder builder) jakarta.ws.rs.core.Response
getAnnotation
(String impl, String identifier, String name, String cacheControl) jakarta.ws.rs.core.Response
getAnnotationList
(String impl, String identifier, String name, String cacheControl) jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
getCollection
(String impl, String name) jakarta.ws.rs.core.Response
getContent
(String impl, String identifier, String name, String format) protected com.google.gson.Gson
getGson()
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
getManifest
(String impl, String identifier, String cacheControl) protected MCRIIIFPresentationManifestQuickAccess
getManifestQuickAccess
(String impl, String identifier) protected MCRIIIFPresentationManifestQuickAccess
getManifestQuickAccess
(String impl, String identifier, boolean noCache) jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
getSequence
(String impl, String identifier, String name, String cacheControl)
-
Constructor Details
-
MCRIIIFPresentationResource
public MCRIIIFPresentationResource()
-
-
Method Details
-
getCollection
-
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
-
getCanvas
-
getAnnotation
-
getAnnotationList
-
getRange
-
getLayer
-
getContent
-