|
||||||||||
PREV CLASS NEXT CLASS | 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
A class that represents some content that has been used in an include request
Constructor Summary | |
---|---|
IncludedContent(String redirectURL)
|
|
IncludedContent(String contentType,
Object content)
|
Method Summary | |
---|---|
Object |
getContent()
Returns the included content |
char[] |
getContentAsCharArray()
|
String |
getContentType()
Returns the included content type (default is text/html;charset=UTF=8) |
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 |
Writer |
writeTo(Writer target)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IncludedContent(String contentType, Object content)
public IncludedContent(String redirectURL)
Method Detail |
---|
public String getRedirectURL()
public String getContentType()
public Object getContent()
public Writer writeTo(Writer target) throws IOException
writeTo
in interface groovy.lang.Writable
IOException
public char[] getContentAsCharArray()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |