Enum Class RequestMethodEnum
- 所有已实现的接口:
Serializable,Comparable<RequestMethodEnum>,Constable
IJPay 让支付触手可及,封装了微信支付、支付宝支付、银联支付常用的支付方式以及各种常用的接口。
不依赖任何第三方 mvc 框架,仅仅作为工具使用简单快速完成支付模块的开发,可轻松嵌入到任何系统里。
IJPay 交流群: 723992875、864988890
Node.js 版: https://gitee.com/javen205/TNWX
HTTP 请求的方法
- 作者:
- Javen
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量 -
方法概要
修饰符和类型方法说明toString()static RequestMethodEnumReturns the enum constant of this class with the specified name.static RequestMethodEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
UPLOAD
上传实质是 post 请求 -
POST
post 请求 -
GET
get 请求 -
PUT
put 请求 -
DELETE
delete 请求 -
OPTIONS
options 请求 -
HEAD
head 请求 -
TRACE
trace 请求 -
CONNECT
connect 请求 -
PATCH
PATCH 请求
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
toString
- 覆盖:
toString在类中Enum<RequestMethodEnum>
-