public class ConfigurableHttpMethods extends Object implements HttpMethods
HttpMethods that expose methods to create different ConfigurableHttpMethods.| Modifier and Type | Field and Description |
|---|---|
static ConfigurableHttpMethods |
ALL |
static ConfigurableHttpMethods |
NONE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(HttpMethod method)
Returns whether the given
HttpMethod is contained in the current HttpMethods. |
ConfigurableHttpMethods |
disable(HttpMethod... methods)
Disables the given
HttpMethods. |
ConfigurableHttpMethods |
enable(HttpMethod... methods)
Enables the given
HttpMethods. |
Iterator<HttpMethod> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, butWithout, none, toSetand, and, and, empty, filter, flatMap, get, isEmpty, map, of, of, of, stream, toList, toStreamable, toStreamableforEach, spliteratorpublic static final ConfigurableHttpMethods NONE
public static final ConfigurableHttpMethods ALL
public ConfigurableHttpMethods disable(HttpMethod... methods)
HttpMethods.methods - must not be null.public ConfigurableHttpMethods enable(HttpMethod... methods)
HttpMethods.methods - must not be null.public boolean contains(HttpMethod method)
HttpMethodsHttpMethod is contained in the current HttpMethods.contains in interface HttpMethodsmethod - must not be null.public Iterator<HttpMethod> iterator()
iterator in interface Iterable<HttpMethod>Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.