com.gentics.contentnode.rest.model.response
Class ResponseInfo
java.lang.Object
com.gentics.contentnode.rest.model.response.ResponseInfo
public class ResponseInfo
- extends Object
Response information that contains a response code and a response message.
The response message should not be internationalized.
If you want to provide a user friendly message use the message object instead.
- Author:
- floriangutmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponseInfo
public ResponseInfo()
- Empty construtor.
Necessary for JAXB.
ResponseInfo
public ResponseInfo(ResponseCode responseCode,
String responseMessage)
- Constructor for a ResponseInfo with all parameters.
- Parameters:
responseCode
- Code for the responseresponseMessage
- Message for the response
getResponseCode
public ResponseCode getResponseCode()
setResponseCode
public void setResponseCode(ResponseCode responseCode)
getResponseMessage
public String getResponseMessage()
setResponseMessage
public void setResponseMessage(String responseMessage)
Copyright © 2013 Gentics Software GmbH. All Rights Reserved.