org.codehaus.groovy.grails.web.sitemesh
[Java] Class GrailsNoDecorator
java.lang.Object
com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
org.codehaus.groovy.grails.web.sitemesh.GrailsNoDecorator
public class GrailsNoDecorator
extends com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
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.
- Authors:
- Lari Hotari, Sagire Software Oy
|
Method Summary |
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
|
| com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator#render(com.opensymphony.sitemesh.Content, com.opensymphony.sitemesh.SiteMeshContext), com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator#wait(), com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator#wait(long), com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator#wait(long, int), com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator#equals(java.lang.Object), com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator#toString(), com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator#hashCode(), com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator#getClass(), com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator#notify(), com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator#notifyAll() |
|
Methods inherited from class java.lang.Object
|
| java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
render
@Override
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)
-
Groovy Documentation