
com.bebound.spring.model.Failure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-utils Show documentation
Show all versions of spring-utils Show documentation
Handle Be-Bound requests with a spring server
The newest version!
package com.bebound.spring.model;
/**
* Created by mbiamont on 09/01/2016.
*/
public class Failure implements Response {
private String errorStatus;
public Failure(String errorStatus) {
this.errorStatus = errorStatus;
}
public String getErrorStatus() {
return errorStatus;
}
public void setErrorStatus(String errorStatus) {
this.errorStatus = errorStatus;
}
public static class Builder {
private String errorStatus = "";
public Builder withErrorStatus(String errorStatus) {
this.errorStatus = errorStatus;
return this;
}
public Failure build() {
return new Failure(errorStatus);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy