Class ConfluenceSitemeshNoDecorator

  • All Implemented Interfaces:
    com.opensymphony.sitemesh.Decorator

    public class ConfluenceSitemeshNoDecorator
    extends com.opensymphony.sitemesh.webapp.decorator.NoDecorator
    This class will use Confluence default charset for PrintWriter. That will prevent data to be converted to System default charset.
    Since:
    8.0.4
    • Constructor Detail

      • ConfluenceSitemeshNoDecorator

        public ConfluenceSitemeshNoDecorator()
    • Method Detail

      • setConfluenceDefaultCharsetSupplier

        public void setConfluenceDefaultCharsetSupplier​(Supplier<Charset> confluenceDefaultCharsetSupplier)
      • 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 webAppContext)
                       throws IOException,
                              javax.servlet.ServletException
        Overrides:
        render in class com.opensymphony.sitemesh.webapp.decorator.NoDecorator
        Throws:
        IOException
        javax.servlet.ServletException