Enum Class的使用
cool.scx.enumeration.HttpResponseStatus
使用HttpResponseStatus的程序包
-
cool.scx.enumeration中HttpResponseStatus的使用
修饰符和类型方法说明static HttpResponseStatusHttpResponseStatus.of(int code) static HttpResponseStatusReturns the enum constant of this class with the specified name.static HttpResponseStatus[]HttpResponseStatus.values()Returns an array containing the constants of this enum class, in the order they are declared.