
io.spotnext.spring.web.http.Status Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spot-spring-web-support Show documentation
Show all versions of spot-spring-web-support Show documentation
The spOt microservice framework.
package io.spotnext.spring.web.http;
import com.google.gson.annotations.Expose;
/**
* Status class.
*
* @author mojo2012
* @version 1.0
* @since 1.0
*/
public class Status {
@Expose
protected String code;
@Expose
protected String message;
/**
* Constructor for Status.
*
* @param code a {@link java.lang.String} object.
* @param message a {@link java.lang.String} object.
*/
public Status(final String code, final String message) {
this.code = code;
this.message = message;
}
/**
* Getter for the field code
.
*
* @return a {@link java.lang.String} object.
*/
public String getCode() {
return code;
}
/**
* Setter for the field code
.
*
* @param code a {@link java.lang.String} object.
*/
public void setCode(final String code) {
this.code = code;
}
/**
* Getter for the field message
.
*
* @return a {@link java.lang.String} object.
*/
public String getMessage() {
return message;
}
/**
* Setter for the field message
.
*
* @param message a {@link java.lang.String} object.
*/
public void setMessage(final String message) {
this.message = message;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy