public class IncludedContent extends java.lang.Object
Represents some content that has been used in an include request.
Constructor and description |
---|
IncludedContent
(java.lang.String contentType, java.lang.Object content) |
IncludedContent
(java.lang.String redirectURL) |
Type Params | Return Type | Name and description |
---|---|---|
|
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 | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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() |
Returns the included content
Returns the included content type (default is text/html;charset=UTF=8)
Returns the URL of a redirect if a redirect was issue in the Include otherwise it returns null if there was no redirect.