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.adapters.PreviewAdapter
- All Implemented Interfaces:
AdapterResource
,Resource
,Adaptable
- Since:
- 8.2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
preview
(boolean postProcessing, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) previewBlobs
(DocumentModel doc, String xpath, boolean blobPostProcessing) jakarta.ws.rs.core.Response
subPath
(String subPath, boolean postProcessing, jakarta.servlet.http.HttpServletRequest request, jakarta.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
@GET public jakarta.ws.rs.core.Response preview(@QueryParam("blobPostProcessing") boolean postProcessing, @Context jakarta.servlet.http.HttpServletRequest request, @Context jakarta.servlet.http.HttpServletResponse response) -
buildPreviewNotAvailable
protected jakarta.ws.rs.core.Response buildPreviewNotAvailable() -
subPath
@GET @Path("{subPath}") public jakarta.ws.rs.core.Response subPath(@PathParam("subPath") String subPath, @QueryParam("blobPostProcessing") boolean postProcessing, @Context jakarta.servlet.http.HttpServletRequest request, @Context jakarta.servlet.http.HttpServletResponse response) -
previewBlobs
-