Class NoDecorator
java.lang.Object
com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
com.opensymphony.sitemesh.webapp.decorator.NoDecorator
- All Implemented Interfaces:
Decorator
If no decorator is to be applied to a page, this will ensure the original content gets written out.
- Since:
- SiteMesh 3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidrender(Content content, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.ServletContext servletContext, SiteMeshWebAppContext webAppContext) More convenient version ofBaseWebAppDecorator.render(com.opensymphony.sitemesh.Content, com.opensymphony.sitemesh.SiteMeshContext)suited for Servlet API calls.Methods inherited from class com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
render
-
Constructor Details
-
NoDecorator
public NoDecorator()
-
-
Method Details
-
render
protected void render(Content content, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.ServletContext servletContext, SiteMeshWebAppContext webAppContext) throws IOException, jakarta.servlet.ServletException Description copied from class:BaseWebAppDecoratorMore convenient version ofBaseWebAppDecorator.render(com.opensymphony.sitemesh.Content, com.opensymphony.sitemesh.SiteMeshContext)suited for Servlet API calls.- Specified by:
renderin classBaseWebAppDecorator- Throws:
IOExceptionjakarta.servlet.ServletException
-