|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.web.util.IncludedContent
public class IncludedContent extends java.lang.Object
Represents some content that has been used in an include request.
Constructor Summary | |
IncludedContent(java.lang.String contentType, java.lang.Object content)
|
|
IncludedContent(java.lang.String redirectURL)
|
Method Summary | |
---|---|
java.lang.Object
|
getContent()
Returns the included content |
char[]
|
getContentAsCharArray()
|
java.lang.String
|
getContentType()
Returns the included content type (default is text/html;charset=UTF=8) |
java.lang.String
|
getRedirectURL()
Returns the URL of a redirect if a redirect was issue in the Include otherwise it returns null if there was no redirect. |
java.io.Writer
|
writeTo(java.io.Writer target)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
Constructor Detail |
---|
public IncludedContent(java.lang.String contentType, java.lang.Object content)
public IncludedContent(java.lang.String redirectURL)
Method Detail |
---|
public java.lang.Object getContent()
public char[] getContentAsCharArray()
public java.lang.String getContentType()
public java.lang.String getRedirectURL()
public java.io.Writer writeTo(java.io.Writer target)
Groovy Documentation