public class HTTPMethods
extends java.lang.Object
Constructor and Description |
---|
HTTPMethods(HTTPMethods httpMethods,
boolean complemented) |
HTTPMethods(java.util.Set<java.lang.String> httpMethods,
boolean isExcluded) |
Modifier and Type | Method and Description |
---|---|
HTTPMethods |
add(HTTPMethods httpMethods) |
void |
add(java.util.Set<java.lang.String> httpMethods,
boolean addedMethodsExcluded)
Generally speaking, add method is to perform a union action between the
caller and the parameters
|
java.lang.String |
getComplementedHttpMethods() |
java.lang.String |
getHttpMethods() |
java.lang.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(java.util.Set<java.lang.String> httpMethods, boolean isExcluded)
public HTTPMethods(HTTPMethods httpMethods, boolean complemented)
public void add(java.util.Set<java.lang.String> httpMethods, boolean addedMethodsExcluded)
httpMethods
- addedMethodsExcluded
- public HTTPMethods add(HTTPMethods httpMethods)
public HTTPMethods remove(HTTPMethods httpMethods)
httpMethods
- public java.lang.String getHttpMethods()
public java.lang.StringBuilder getHttpMethodsBuffer()
public java.lang.String getComplementedHttpMethods()
public boolean isNone()