public enum HttpMethodWrapper extends Enum<HttpMethodWrapper>
HttpMethods into an enum, allowing us to use them in switches.| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpMethod |
getNettyHttpMethod() |
static HttpMethodWrapper |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static HttpMethodWrapper[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final HttpMethodWrapper GET
public static final HttpMethodWrapper POST
public static final HttpMethodWrapper DELETE
public static final HttpMethodWrapper PATCH
public static final HttpMethodWrapper PUT
public static HttpMethodWrapper[] values()
for (HttpMethodWrapper c : HttpMethodWrapper.values()) System.out.println(c);
public static HttpMethodWrapper valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpMethod getNettyHttpMethod()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.