Class ConfluenceSitemeshDecorator

java.lang.Object
com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator
All Implemented Interfaces:
com.opensymphony.sitemesh.Decorator
Direct Known Subclasses:
ConfluenceSitemeshErrorDecorator

@Deprecated(forRemoval=true) public class ConfluenceSitemeshDecorator extends com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
Deprecated, for removal: This API element is subject to removal in a future version.
Renders Velocity decorators with a context map of objects provided by Confluence.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static interface 
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyDecorator(com.opensymphony.module.sitemesh.Page page, com.opensymphony.module.sitemesh.Decorator decorator, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected com.opensymphony.module.sitemesh.Decorator
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    render(com.opensymphony.sitemesh.Content content, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext, com.opensymphony.sitemesh.webapp.SiteMeshWebAppContext siteMeshWebAppContext)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    renderInternal(com.opensymphony.sitemesh.Content content, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator

    render

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • HTTP_REQUEST_ATTR_KEY_WEB_INTERFACE_CONTEXT

      public static final String HTTP_REQUEST_ATTR_KEY_WEB_INTERFACE_CONTEXT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • BUFFER_RESPONSE

      public static final boolean BUFFER_RESPONSE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ERROR_SENDING_STRATEGY

      protected static final ConfluenceSitemeshDecorator.ErrorHandlingStrategy ERROR_SENDING_STRATEGY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ERROR_THROWING_STRATEGY

      protected static final ConfluenceSitemeshDecorator.ErrorHandlingStrategy ERROR_THROWING_STRATEGY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • CONFLUENCE_SITEMESH_DECORATOR_ATTRIBUTE

      public static final String CONFLUENCE_SITEMESH_DECORATOR_ATTRIBUTE
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Method Details

    • render

      protected void render(com.opensymphony.sitemesh.Content content, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext, com.opensymphony.sitemesh.webapp.SiteMeshWebAppContext siteMeshWebAppContext) throws IOException, javax.servlet.ServletException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      render in class com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
      Throws:
      IOException
      javax.servlet.ServletException
    • renderInternal

      protected void renderInternal(com.opensymphony.sitemesh.Content content, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
      javax.servlet.ServletException
    • applyDecorator

      public void applyDecorator(com.opensymphony.module.sitemesh.Page page, com.opensymphony.module.sitemesh.Decorator decorator, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      javax.servlet.ServletException
      IOException
    • getDecorator

      protected com.opensymphony.module.sitemesh.Decorator getDecorator()
      Deprecated, for removal: This API element is subject to removal in a future version.