Class PagePreviewResponse
- java.lang.Object
-
- com.gentics.contentnode.rest.model.response.GenericResponse
-
- com.gentics.contentnode.rest.model.response.PagePreviewResponse
-
- All Implemented Interfaces:
Serializable
public class PagePreviewResponse extends GenericResponse
Response for a page preview request- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PagePreviewResponse()
Empty constructor needed by JAXBPagePreviewResponse(Message message, ResponseInfo responseInfo, String preview)
Creates a PageLoadResponse with the provided single message and ResponseInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPreview()
void
setPreview(String preview)
-
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
-
-
-
Constructor Detail
-
PagePreviewResponse
public PagePreviewResponse()
Empty constructor needed by JAXB
-
PagePreviewResponse
public PagePreviewResponse(Message message, ResponseInfo responseInfo, String preview)
Creates a PageLoadResponse with the provided single message and ResponseInfo.- Parameters:
message
- The messages that should be displayed to the userresponse
- ResponseInfo with the status of the response
-
-