jizcode.netty.contract.RequestStatus Maven / Gradle / Ivy
package jizcode.netty.contract;
public enum RequestStatus{
OK(200),
NotFound(404),
Timeout(408);
private final int code;
private RequestStatus(int code) {
this.code = code;
}
public int getCode() {
return this.code;
}
}