
net.eusashead.parquet.http.HttpStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of parquet-web Show documentation
Show all versions of parquet-web Show documentation
Parquet is a Java REST framework built on Yoke and Vert.x
The newest version!
package net.eusashead.parquet.http;
public enum HttpStatus {
OK(200),
CREATED(201),
NO_CONTENT(204),
NOT_MODIFIED(304),
BAD_REQUEST(400),
UNAUTHORIZED(401),
NOT_FOUND(404),
METHOD_NOT_ALLOWED(405),
NOT_ACCEPTABLE(406),
PRECONDITION_FAILED(412),
UNSUPPORTED_MEDIA_TYPE(415),
PRECONDITION_REQUIRED(428),
INTERNAL_SERVER_ERROR(500),
NOT_IMPLEMENTED(501);
private int statusCode;
private HttpStatus(int statusCode) {
this.statusCode = statusCode;
}
public int getCode() {
return this.statusCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy