Class RenditionObject

All Implemented Interfaces:
Resource, Adaptable

public class RenditionObject extends DefaultObject
Since:
8.2
  • Field Details

    • LEGACY_RENDERING_PROP

      public static final String LEGACY_RENDERING_PROP
      See Also:
    • servletRequest

      @Context protected javax.servlet.http.HttpServletRequest servletRequest
    • renditionName

      protected String renditionName
    • doc

      protected DocumentModel doc
  • Constructor Details

    • RenditionObject

      public RenditionObject()
  • Method Details

    • initialize

      protected void initialize(Object... args)
      Overrides:
      initialize in class AbstractResource<ResourceTypeImpl>
    • getAdapter

      public <A> A getAdapter(Class<A> adapter)
      Description copied from interface: Adaptable
      Returns an object which is an instance of the given class associated with this object. Returns null if no such object can be found.
      Specified by:
      getAdapter in interface Adaptable
      Overrides:
      getAdapter in class AbstractResource<ResourceTypeImpl>
      Parameters:
      adapter - the adapter class to look up
      Returns:
      a object castable to the given class, or null if this object does not have an adapter for the given class
    • getLegacyRenditionBlob

      protected Blob getLegacyRenditionBlob()
    • getRenditionBlob

      protected Blob getRenditionBlob()
    • doGet

      public Object doGet(@Context javax.ws.rs.core.Request request, boolean sync)