|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.groovy.grails.web.util.IncludedContent
public class IncludedContent
Represents some content that has been used in an include request.
| Constructor Summary | |
|---|---|
IncludedContent(java.lang.String redirectURL)
|
|
IncludedContent(java.lang.String contentType,
java.lang.Object content)
|
|
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IncludedContent(java.lang.String contentType,
java.lang.Object content)
public IncludedContent(java.lang.String redirectURL)
| Method Detail |
|---|
public java.lang.String getRedirectURL()
public java.lang.String getContentType()
public java.lang.Object getContent()
public java.io.Writer writeTo(java.io.Writer target)
throws java.io.IOException
writeTo in interface groovy.lang.Writablejava.io.IOExceptionpublic char[] getContentAsCharArray()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||