public class HTTPMethods extends Object
| Constructor and Description |
|---|
HTTPMethods(HTTPMethods httpMethods,
boolean complemented) |
HTTPMethods(Set<String> httpMethods,
boolean isExcluded) |
| Modifier and Type | Method and Description |
|---|---|
HTTPMethods |
add(HTTPMethods httpMethods) |
void |
add(Set<String> httpMethods,
boolean addedMethodsExcluded)
Generally speaking, add method is to perform a union action between the
caller and the parameters
|
String |
getComplementedHttpMethods() |
String |
getHttpMethods() |
StringBuilder |
getHttpMethodsBuffer() |
boolean |
isNone() |
HTTPMethods |
remove(HTTPMethods httpMethods)
Remove methods is only used while we wish to remove those configurations
in role/unchecked constraints, which are also configured in excluded
constraints
|
public HTTPMethods(HTTPMethods httpMethods, boolean complemented)
public void add(Set<String> httpMethods, boolean addedMethodsExcluded)
httpMethods - addedMethodsExcluded - public HTTPMethods add(HTTPMethods httpMethods)
public HTTPMethods remove(HTTPMethods httpMethods)
httpMethods - public String getHttpMethods()
public StringBuilder getHttpMethodsBuffer()
public String getComplementedHttpMethods()
public boolean isNone()
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.