@Immutable public class InterceptUrlMapPattern extends Object
| Constructor and Description | 
|---|
InterceptUrlMapPattern(String pattern,
                      List<String> access,
                      HttpMethod httpMethod)
If the provided http method is null, the pattern will match all methods. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<String> | 
getAccess()
access getter. 
 | 
Optional<HttpMethod> | 
getHttpMethod()
httpMethod getter. 
 | 
String | 
getPattern()
pattern getter. 
 | 
public InterceptUrlMapPattern(String pattern, List<String> access, @Nullable HttpMethod httpMethod)
pattern - e.g. /healthaccess - e.g. ['ROLE_USER', 'ROLE_ADMIN']httpMethod - e.g. HttpMethod.GETpublic String getPattern()
public Optional<HttpMethod> getHttpMethod()