io.dinject.javalin.generator.WebMethod Maven / Gradle / Ivy
package io.dinject.javalin.generator;
enum WebMethod {
GET(200),
PUT(200),
POST(201),
PATCH(200),
DELETE(200);
private int statusCode;
WebMethod(int statusCode) {
this.statusCode = statusCode;
}
int statusCode() {
return statusCode;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy