Class PreviewAdapter
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
org.nuxeo.ecm.restapi.server.jaxrs.adapters.PreviewAdapter
- All Implemented Interfaces:
AdapterResource
,Resource
,Adaptable
- Since:
- 8.2
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
preview
(boolean postProcessing, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) previewBlobs
(DocumentModel doc, String xpath, boolean blobPostProcessing) subPath
(String subPath, boolean postProcessing, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
disptachAdapter, getTarget, isAdapter
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapter
Methods inherited from interface org.nuxeo.ecm.webengine.model.Resource
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
-
Field Details
-
NAME
- See Also:
-
LEGACY_PEVIEW_PROP
- See Also:
-
-
Constructor Details
-
PreviewAdapter
public PreviewAdapter()
-
-
Method Details
-
preview
public Object preview(boolean postProcessing, @Context javax.servlet.http.HttpServletRequest request, @Context javax.servlet.http.HttpServletResponse response) -
buildPreviewNotAvailable
-
subPath
-
previewBlobs
-