Class IIIF2Resource
java.lang.Object
is.galia.resource.AbstractResource
is.galia.resource.AbstractImageResource
is.galia.resource.iiif.IIIFResource
is.galia.resource.iiif.v2.IIIF2Resource
- Direct Known Subclasses:
IdentifierResource,ImageResource,InformationResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringPath that will be used if not overridden byKey.IIIF_2_ENDPOINT_PATHin the application configuration.Fields inherited from class is.galia.resource.AbstractResource
PUBLIC_IDENTIFIER_HEADER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoInit()Initialization method, called after all necessary setters have been called but before any request handler method (likeAbstractResource.doGET()etc.)static StringMethods inherited from class is.galia.resource.iiif.IIIFResource
constrainSizeToMaxPixels, getIdentifier, getIdentifierPathComponent, getMetaIdentifier, getPublicIdentifier, getPublicReference, handleAuthInfoForInfoRequest, setLastModifiedHeader, validateScaleMethods inherited from class is.galia.resource.AbstractImageResource
authorize, authorizeBeforeAccess, getPageIndex, handleAuthInfo, isBypassingCache, isBypassingCacheRead, redirectToNormalizedScaleConstraintMethods inherited from class is.galia.resource.AbstractResource
authenticateUsingBasic, decodePathComponent, destroy, doDELETE, doGET, doHEAD, doOPTIONS, doPATCH, doPOST, doPUT, getCanonicalClientIPAddress, getCommonTemplateVars, getDelegate, getLocalBasePath, getLogger, getPreferredMediaTypes, getPublicReference, getPublicRootReference, getRepresentationDisposition, getRequest, getRequestContext, getResponse, getRoutes, negotiateContentType, setRequest, setResponse
-
Field Details
-
DEFAULT_URI_PATH
Path that will be used if not overridden byKey.IIIF_2_ENDPOINT_PATHin the application configuration.- See Also:
-
-
Constructor Details
-
IIIF2Resource
public IIIF2Resource()
-
-
Method Details
-
getURIPath
- Returns:
- URI path prefix without trailing slash.
-
doInit
Description copied from class:AbstractResourceInitialization method, called after all necessary setters have been called but before any request handler method (like
AbstractResource.doGET()etc.)If an implementation class has anything to do with
image identifiers, it should add the request identifier to therequest context.Overrides must call
super.- Overrides:
doInitin classIIIFResource- Throws:
Exception- upon any error. This may be aResourceExceptionto enable a custom status.
-