org.codehaus.groovy.grails.web.sitemesh
Class GrailsNoDecorator

java.lang.Object
  extended by com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
      extended by org.codehaus.groovy.grails.web.sitemesh.GrailsNoDecorator
All Implemented Interfaces:
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
GrailsNoDecorator()
           
 
Method Summary
 java.lang.String getInitParameter(java.lang.String paramName)
           
 java.util.Iterator getInitParameterNames()
           
 java.lang.String getName()
           
 java.lang.String getPage()
           
 java.lang.String getRole()
           
 java.lang.String getURIPath()
           
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)
           
 
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
 

Constructor Detail

GrailsNoDecorator

public GrailsNoDecorator()
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:
render in class com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
Throws:
java.io.IOException
javax.servlet.ServletException

getPage

public java.lang.String getPage()

getName

public java.lang.String getName()

getURIPath

public java.lang.String getURIPath()

getRole

public java.lang.String getRole()

getInitParameter

public java.lang.String getInitParameter(java.lang.String paramName)

getInitParameterNames

public java.util.Iterator getInitParameterNames()