Class PreviewAdapter

All Implemented Interfaces:
AdapterResource, Resource, Adaptable

@Produces("application/json") public class PreviewAdapter extends DefaultAdapter
Since:
8.2
  • Field Details

  • 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

      protected List<Blob> previewBlobs(DocumentModel doc, String xpath, boolean blobPostProcessing)