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.DecoratorGrails 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 Constructor Description GrailsNoDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetInitParameter(java.lang.String paramName)java.util.IteratorgetInitParameterNames()java.lang.StringgetName()java.lang.StringgetPage()java.lang.StringgetRole()java.lang.StringgetURIPath()protected voidrender(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)
-
-
-
Method Detail
-
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 java.io.IOException, javax.servlet.ServletException- Specified by:
renderin classcom.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
getPage
public java.lang.String getPage()
- Specified by:
getPagein interfacecom.opensymphony.module.sitemesh.Decorator
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacecom.opensymphony.module.sitemesh.Decorator
-
getURIPath
public java.lang.String getURIPath()
- Specified by:
getURIPathin interfacecom.opensymphony.module.sitemesh.Decorator
-
getRole
public java.lang.String getRole()
- Specified by:
getRolein interfacecom.opensymphony.module.sitemesh.Decorator
-
getInitParameter
public java.lang.String getInitParameter(java.lang.String paramName)
- Specified by:
getInitParameterin interfacecom.opensymphony.module.sitemesh.Decorator
-
getInitParameterNames
public java.util.Iterator getInitParameterNames()
- Specified by:
getInitParameterNamesin interfacecom.opensymphony.module.sitemesh.Decorator
-
-