io.higgs.http.server.params.ValidationResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-s3 Show documentation
Show all versions of http-s3 Show documentation
Higgs HTTP S3 (Single Site Server)
package io.higgs.http.server.params;
import java.util.HashMap;
/**
* @author Courtney Robinson
*/
public class ValidationResult extends HashMap {
private boolean valid = true;
/**
* Mark this validation as invalid
*/
public void invalid() {
this.valid = false;
}
/**
* @return true if no validation failed
*/
public boolean isValid() {
return valid;
}
public void setValid(boolean valid) {
this.valid = valid;
}
@Override
public String toString() {
return "ValidationResult{" +
"valid=" + valid +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy