Package org.grails.web.sitemesh
Class GrailsNoDecorator
java.lang.Object
com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
org.grails.web.sitemesh.GrailsNoDecorator
- All Implemented Interfaces:
com.opensymphony.module.sitemesh.Decorator,com.opensymphony.sitemesh.Decorator
public class GrailsNoDecorator
extends com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
implements com.opensymphony.module.sitemesh.Decorator
Grails version of Sitemesh's NoDecorator
original version always calls response.setContentLength which would require the calculation of
resulting bytes. Calculation would be extra overhead.
bug exists for OutputStream / byte version: http://jira.opensymphony.com/browse/SIM-196
skip setting ContentLength because of that bug.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInitParameter(String paramName) getName()getPage()getRole()protected voidrender(com.opensymphony.sitemesh.Content content, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.ServletContext servletContext, com.opensymphony.sitemesh.webapp.SiteMeshWebAppContext webAppContext) Methods inherited from class com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
render
-
Constructor Details
-
GrailsNoDecorator
public GrailsNoDecorator()
-
-
Method Details
-
render
protected void render(com.opensymphony.sitemesh.Content content, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.ServletContext servletContext, com.opensymphony.sitemesh.webapp.SiteMeshWebAppContext webAppContext) throws IOException, jakarta.servlet.ServletException - Specified by:
renderin classcom.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator- Throws:
IOExceptionjakarta.servlet.ServletException
-
getPage
- Specified by:
getPagein interfacecom.opensymphony.module.sitemesh.Decorator
-
getName
- Specified by:
getNamein interfacecom.opensymphony.module.sitemesh.Decorator
-
getURIPath
- Specified by:
getURIPathin interfacecom.opensymphony.module.sitemesh.Decorator
-
getRole
- Specified by:
getRolein interfacecom.opensymphony.module.sitemesh.Decorator
-
getInitParameter
- Specified by:
getInitParameterin interfacecom.opensymphony.module.sitemesh.Decorator
-
getInitParameterNames
- Specified by:
getInitParameterNamesin interfacecom.opensymphony.module.sitemesh.Decorator
-