| Constructor and description |
|---|
GrailsPageResponseWrapper
(HttpServletRequest request, HttpServletResponse response, PageParserSelector parserSelector) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
activateSiteMesh(java.lang.String contentType, java.lang.String encoding) |
|
void |
addHeader(java.lang.String name, java.lang.String value)Prevent content-length being set if page is parseable. |
|
protected void |
applyContentType(java.lang.String type) |
|
protected void |
clearBuffer() |
|
void |
deactivateSiteMesh() |
|
void |
flushBuffer()Prevent buffer from being flushed if this is a page being parsed. |
|
char[] |
getContents() |
|
ServletOutputStream |
getOutputStream() |
|
Page |
getPage() |
|
java.io.PrintWriter |
getWriter() |
|
boolean |
isGspSitemeshActive() |
|
boolean |
isSitemeshActive() |
|
boolean |
isUsingStream() |
|
void |
sendError(int sc) |
|
void |
sendError(int sc, java.lang.String msg) |
|
void |
sendRedirect(java.lang.String location) |
|
void |
setContentLength(int contentLength)Prevent content-length being set if page is parseable. |
|
void |
setContentType(java.lang.String type)Set the content-type of the request and store it so it can be passed to the com.opensymphony.module.sitemesh.PageParser. |
|
void |
setHeader(java.lang.String name, java.lang.String value)Prevent content-length being set if page is parseable. |
|
void |
setStatus(int sc)If 'not modified' (304) HTTP status is being sent - then abort parsing, as there shouldn't be any body |
Prevent content-length being set if page is parseable.
Prevent buffer from being flushed if this is a page being parsed.
Prevent content-length being set if page is parseable.
Set the content-type of the request and store it so it can be passed to the com.opensymphony.module.sitemesh.PageParser.
Prevent content-length being set if page is parseable.
If 'not modified' (304) HTTP status is being sent - then abort parsing, as there shouldn't be any body