Enum Class的使用
cn.renlm.plugins.MyResponse.StatusCode
使用StatusCode的程序包
-
cn.renlm.plugins.MyResponse中StatusCode的使用
修饰符和类型方法说明static StatusCodeReturns the enum constant of this class with the specified name.static StatusCode[]StatusCode.values()Returns an array containing the constants of this enum class, in the order they are declared.参数类型为StatusCode的cn.renlm.plugins.MyResponse中的方法修饰符和类型方法说明static <R> Result<R>Result.of(StatusCode status) static <R> Result<R>Result.of(StatusCode status, String message)