Class PageRenderResponse
- java.lang.Object
-
- com.gentics.contentnode.rest.model.response.GenericResponse
-
- com.gentics.contentnode.rest.model.response.PageRenderResponse
-
- All Implemented Interfaces:
Serializable
public class PageRenderResponse extends GenericResponse
Response for request to render a page- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PageRenderResponse.Editable
Class for instances of editablesstatic class
PageRenderResponse.MetaEditable
Class for instances of meta editablesstatic class
PageRenderResponse.Tag
Class for instances of tags
-
Field Summary
Fields Modifier and Type Field Description protected String
content
Rendered contentprotected String
inheritedContent
Rendered Inherit Contentprotected Map<String,String>
inheritedProperties
Map of Inherit Propertiesprotected List<PageRenderResponse.MetaEditable>
metaeditables
List of meta editables found in the rendered pageprotected Map<String,String>
properties
Map of propertiesprotected List<PageRenderResponse.Tag>
tags
List of tags found in the rendered pageprotected Long
time
Render time
-
Constructor Summary
Constructors Constructor Description PageRenderResponse()
Create an instancePageRenderResponse(Message message, ResponseInfo responseInfo)
Create an instance with a message and response info
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContent()
Get the contentString
getInheritedContent()
Get inheritedContentMap<String,String>
getInheritedProperties()
Get inheritedPropertiesList<PageRenderResponse.MetaEditable>
getMetaeditables()
Get the meta editablesMap<String,String>
getProperties()
Get the propertiesList<PageRenderResponse.Tag>
getTags()
Get the tagsLong
getTime()
Rrender time in millisecondsvoid
setContent(String content)
Set the contentvoid
setInheritedContent(String inheritedContent)
Set inheritedContentvoid
setInheritedProperties(Map<String,String> inheritedProperties)
Set inheritedPropertiesvoid
setMetaeditables(List<PageRenderResponse.MetaEditable> metaeditables)
Set the meta editablesvoid
setProperties(Map<String,String> properties)
Set the propertiesvoid
setTags(List<PageRenderResponse.Tag> tags)
Set the tagsvoid
setTime(Long time)
Set the render time in milliseconds-
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
-
-
-
Field Detail
-
content
protected String content
Rendered content
-
inheritedContent
protected String inheritedContent
Rendered Inherit Content
-
tags
protected List<PageRenderResponse.Tag> tags
List of tags found in the rendered page
-
metaeditables
protected List<PageRenderResponse.MetaEditable> metaeditables
List of meta editables found in the rendered page
-
time
protected Long time
Render time
-
-
Constructor Detail
-
PageRenderResponse
public PageRenderResponse()
Create an instance
-
PageRenderResponse
public PageRenderResponse(Message message, ResponseInfo responseInfo)
Create an instance with a message and response info- Parameters:
message
- messageresponseInfo
- response info
-
-
Method Detail
-
getContent
public String getContent()
Get the content- Returns:
- content
-
getTags
public List<PageRenderResponse.Tag> getTags()
Get the tags- Returns:
- tags
-
getMetaeditables
public List<PageRenderResponse.MetaEditable> getMetaeditables()
Get the meta editables- Returns:
- meta editables
-
getTime
public Long getTime()
Rrender time in milliseconds- Returns:
- render time in milliseconds
-
setContent
public void setContent(String content)
Set the content- Parameters:
content
- content
-
setProperties
public void setProperties(Map<String,String> properties)
Set the properties- Parameters:
properties
- properties
-
setTags
public void setTags(List<PageRenderResponse.Tag> tags)
Set the tags- Parameters:
tags
- tags
-
setMetaeditables
public void setMetaeditables(List<PageRenderResponse.MetaEditable> metaeditables)
Set the meta editables- Parameters:
metaeditables
- meta editables
-
setTime
public void setTime(Long time)
Set the render time in milliseconds- Parameters:
time
- render time in milliseconds
-
getInheritedContent
public String getInheritedContent()
Get inheritedContent- Returns:
- the inheritedContent
-
setInheritedContent
public void setInheritedContent(String inheritedContent)
Set inheritedContent- Parameters:
inheritedContent
- the inheritedContent to set
-
getInheritedProperties
public Map<String,String> getInheritedProperties()
Get inheritedProperties- Returns:
- the inheritedProperties
-
-