com.gentics.contentnode.rest.model.response
Class VersionResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.VersionResponse
public class VersionResponse
- extends GenericResponse
Response for a request asking for the version of the REST API on the server.
- Author:
- msc
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionResponse
public VersionResponse()
- Empty constructor needed by JAXB
VersionResponse
public VersionResponse(Message message,
ResponseInfo responseInfo,
String version)
- Creates a VersionResponse with the provided single message, the ResponseInfo and the version as String
- Parameters:
message
- The messages that should be displayed to the userresponse
- ResponseInfo with the status of the response
getVersion
public String getVersion()
- Returns:
- The current server version
setVersion
public void setVersion(String version)
- Parameters:
version
- The current server version
Copyright © 2015 Gentics Software GmbH. All Rights Reserved.