Class ImageResource
java.lang.Object
is.galia.resource.AbstractResource
is.galia.resource.AbstractImageResource
is.galia.resource.iiif.IIIFResource
is.galia.resource.iiif.v2.IIIF2Resource
is.galia.resource.iiif.v2.ImageResource
-
Field Summary
Fields inherited from class is.galia.resource.iiif.v2.IIIF2Resource
DEFAULT_URI_PATH
Fields inherited from class is.galia.resource.AbstractResource
PUBLIC_IDENTIFIER_HEADER
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class is.galia.resource.iiif.v2.IIIF2Resource
doInit, getURIPath
Methods inherited from class is.galia.resource.iiif.IIIFResource
constrainSizeToMaxPixels, getIdentifier, getIdentifierPathComponent, getMetaIdentifier, getPublicIdentifier, getPublicReference, handleAuthInfoForInfoRequest, setLastModifiedHeader, validateScale
Methods inherited from class is.galia.resource.AbstractImageResource
authorize, authorizeBeforeAccess, getPageIndex, handleAuthInfo, isBypassingCache, isBypassingCacheRead, redirectToNormalizedScaleConstraint
Methods inherited from class is.galia.resource.AbstractResource
authenticateUsingBasic, decodePathComponent, destroy, doDELETE, doHEAD, doOPTIONS, doPATCH, doPOST, doPUT, getCanonicalClientIPAddress, getCommonTemplateVars, getDelegate, getLocalBasePath, getPreferredMediaTypes, getPublicReference, getPublicRootReference, getRepresentationDisposition, getRequest, getRequestContext, getResponse, negotiateContentType, setRequest, setResponse
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface is.galia.resource.Resource
destroy, doDELETE, doHEAD, doInit, doOPTIONS, doPATCH, doPOST, doPUT, getRequest, getResponse, setRequest, setResponse
-
Constructor Details
-
ImageResource
public ImageResource()
-
-
Method Details
-
getLogger
protected org.slf4j.Logger getLogger()- Specified by:
getLogger
in classAbstractResource
-
getRoutes
Description copied from class:AbstractResource
Part of theResource
contract.- Specified by:
getRoutes
in interfaceResource
- Specified by:
getRoutes
in classAbstractResource
- Returns:
- All routes to which the instance responds.
-
doGET
Responds to image requests.- Specified by:
doGET
in interfaceResource
- Overrides:
doGET
in classAbstractResource
- Throws:
Exception
- upon any error. This may be aResourceException
to enable a custom status.- See Also:
-