Enum Class的使用
io.github.wooenrico.http.common.Method
使用Method的程序包
-
io.github.wooenrico.http.common中Method的使用
修饰符和类型方法说明HttpRequest.getMethod()
Returns the HTTP method of the request.static Method
Returns the enum constant of this class with the specified name.static Method[]
Method.values()
Returns an array containing the constants of this enum class, in the order they are declared.参数类型为Method的io.github.wooenrico.http.common中的方法修饰符和类型方法说明Sets the HTTP method for the HttpRequest.参数类型为Method的io.github.wooenrico.http.common中的构造器