枚举类的使用
org.springframework.boot.actuate.endpoint.web.WebEndpointHttpMethod
使用WebEndpointHttpMethod的程序包
-
org.springframework.boot.actuate.endpoint.web中WebEndpointHttpMethod的使用
修饰符和类型方法说明WebOperationRequestPredicate.getHttpMethod()
Returns the HTTP method for the operation.static WebEndpointHttpMethod
返回带有指定名称的该类的枚举常量。static WebEndpointHttpMethod[]
WebEndpointHttpMethod.values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同限定符构造器说明WebOperationRequestPredicate
(String path, WebEndpointHttpMethod httpMethod, Collection<String> consumes, Collection<String> produces) Creates a newOperationRequestPredicate
.