package com.jreaper.web;

/**
 * Created by roman on 21.03.15.
 */
public enum ResponseStatus {

    SUCCESS(20, "SUCCESS"),
    ERROR(40, "ERROR");

    private int statusCode;
    private String statusPhrase;

    ResponseStatus(int statusCode, String statusPhrase) {
        this.statusCode = statusCode;
        this.statusPhrase = statusPhrase;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public String getStatusPhrase() {
        return statusPhrase;
    }
}
