public class GrailsPageResponseWrapper extends HttpServletResponseWrapper
Constructor and description |
---|
GrailsPageResponseWrapper
(HttpServletRequest request, HttpServletResponse response, PageParserSelector parserSelector) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.io.PrintWriter |
activateDestination() |
|
public java.io.PrintWriter |
activateDestination() |
|
public java.io.PrintWriter |
activateDestination() |
|
public void |
activateSiteMesh(java.lang.String contentType, java.lang.String encoding) |
|
public 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() |
|
public ServletOutputStream |
create() |
|
public ServletOutputStream |
create() |
|
public ServletOutputStream |
create() |
|
public void |
deactivateSiteMesh() |
|
public void |
flushBuffer() Prevent buffer from being flushed if this is a page being parsed. |
|
public char[] |
getContents() |
|
public ServletOutputStream |
getOutputStream() |
|
public Page |
getPage() |
|
public java.io.PrintWriter |
getWriter() |
|
public boolean |
isGspSitemeshActive() |
|
public boolean |
isSitemeshActive() |
|
public boolean |
isUsingStream() |
|
public void |
sendError(int sc) |
|
public void |
sendError(int sc, java.lang.String msg) |
|
public void |
sendRedirect(java.lang.String location) |
|
public void |
setContentLength(int contentLength) Prevent content-length being set if page is parseable. |
|
public 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. |
|
public void |
setHeader(java.lang.String name, java.lang.String value) Prevent content-length being set if page is parseable. |
|
public 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