|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.PageRenderResponse
public class PageRenderResponse
Response for request to render a page
Nested Class Summary | |
---|---|
static class |
PageRenderResponse.Editable
Class for instances of editables |
static class |
PageRenderResponse.MetaEditable
Class for instances of meta editables |
static class |
PageRenderResponse.Tag
Class for instances of tags |
Field Summary | |
---|---|
protected java.lang.String |
content
Rendered content |
protected java.lang.String |
inheritedContent
Rendered Inherit Content |
protected java.util.Map<java.lang.String,java.lang.String> |
inheritedProperties
Map of Inherit Properties |
protected java.util.List<PageRenderResponse.MetaEditable> |
metaeditables
List of meta editables found in the rendered page |
protected java.util.Map<java.lang.String,java.lang.String> |
properties
Map of properties |
protected java.util.List<PageRenderResponse.Tag> |
tags
List of tags found in the rendered page |
protected java.lang.Long |
time
Render time |
Constructor Summary | |
---|---|
PageRenderResponse()
Create an instance |
|
PageRenderResponse(Message message,
ResponseInfo responseInfo)
Create an instance with a message and response info |
Method Summary | |
---|---|
java.lang.String |
getContent()
Get the content |
java.lang.String |
getInheritedContent()
Get inheritedContent |
java.util.Map<java.lang.String,java.lang.String> |
getInheritedProperties()
Get inheritedProperties |
java.util.List<PageRenderResponse.MetaEditable> |
getMetaeditables()
Get the meta editables |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Get the properties |
java.util.List<PageRenderResponse.Tag> |
getTags()
Get the tags |
java.lang.Long |
getTime()
Rrender time in milliseconds |
void |
setContent(java.lang.String content)
Set the content |
void |
setInheritedContent(java.lang.String inheritedContent)
Set inheritedContent |
void |
setInheritedProperties(java.util.Map<java.lang.String,java.lang.String> inheritedProperties)
Set inheritedProperties |
void |
setMetaeditables(java.util.List<PageRenderResponse.MetaEditable> metaeditables)
Set the meta editables |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Set the properties |
void |
setTags(java.util.List<PageRenderResponse.Tag> tags)
Set the tags |
void |
setTime(java.lang.Long time)
Set the render time in milliseconds |
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse |
---|
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String content
protected java.lang.String inheritedContent
protected java.util.Map<java.lang.String,java.lang.String> properties
protected java.util.Map<java.lang.String,java.lang.String> inheritedProperties
protected java.util.List<PageRenderResponse.Tag> tags
protected java.util.List<PageRenderResponse.MetaEditable> metaeditables
protected java.lang.Long time
Constructor Detail |
---|
public PageRenderResponse()
public PageRenderResponse(Message message, ResponseInfo responseInfo)
message
- messageresponseInfo
- response infoMethod Detail |
---|
public java.lang.String getContent()
public java.util.Map<java.lang.String,java.lang.String> getProperties()
public java.util.List<PageRenderResponse.Tag> getTags()
public java.util.List<PageRenderResponse.MetaEditable> getMetaeditables()
public java.lang.Long getTime()
public void setContent(java.lang.String content)
content
- contentpublic void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- propertiespublic void setTags(java.util.List<PageRenderResponse.Tag> tags)
tags
- tagspublic void setMetaeditables(java.util.List<PageRenderResponse.MetaEditable> metaeditables)
metaeditables
- meta editablespublic void setTime(java.lang.Long time)
time
- render time in millisecondspublic java.lang.String getInheritedContent()
public void setInheritedContent(java.lang.String inheritedContent)
inheritedContent
- the inheritedContent to setpublic java.util.Map<java.lang.String,java.lang.String> getInheritedProperties()
public void setInheritedProperties(java.util.Map<java.lang.String,java.lang.String> inheritedProperties)
inheritedProperties
- the inheritedProperties to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |