public enum JBHttpMethod extends Enum<JBHttpMethod>
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
matches(String method) |
static JBHttpMethod |
resolve(String method) |
static JBHttpMethod |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static JBHttpMethod[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final JBHttpMethod GET
public static final JBHttpMethod HEAD
public static final JBHttpMethod POST
public static final JBHttpMethod PUT
public static final JBHttpMethod PATCH
public static final JBHttpMethod DELETE
public static final JBHttpMethod OPTIONS
public static final JBHttpMethod TRACE
public static JBHttpMethod[] values()
for (JBHttpMethod c : JBHttpMethod.values()) System.out.println(c);
public static JBHttpMethod valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static JBHttpMethod resolve(String method)
public boolean matches(String method)
Copyright © 2019. All rights reserved.