Class RenditionObject
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.ecm.restapi.server.rendition.RenditionObject
- Since:
- 8.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DocumentModelstatic final Stringprotected Stringprotected jakarta.servlet.http.HttpServletRequest -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoGet(jakarta.ws.rs.core.Request request, boolean sync) <A> AgetAdapter(Class<A> adapter) Returns an object which is an instance of the given class associated with this object.protected Blobprotected Blobprotected voidinitialize(Object... args) Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapterMethods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
Field Details
-
LEGACY_RENDERING_PROP
- See Also:
-
servletRequest
@Context protected jakarta.servlet.http.HttpServletRequest servletRequest -
renditionName
-
doc
-
-
Constructor Details
-
RenditionObject
public RenditionObject()
-
-
Method Details
-
initialize
- Overrides:
initializein classAbstractResource<ResourceTypeImpl>
-
getAdapter
Description copied from interface:AdaptableReturns an object which is an instance of the given class associated with this object. Returnsnullif no such object can be found.- Specified by:
getAdapterin interfaceAdaptable- Overrides:
getAdapterin classAbstractResource<ResourceTypeImpl>- Parameters:
adapter- the adapter class to look up- Returns:
- a object castable to the given class, or
nullif this object does not have an adapter for the given class
-
getLegacyRenditionBlob
-
getRenditionBlob
-
doGet
@GET public BlobHolder doGet(@Context jakarta.ws.rs.core.Request request, @QueryParam("sync") boolean sync)
-