server/src/main/java/com/github/whitepin/server/config/security/HttpMethodResourceAntMatchers.java
/**
     * Add a new Matcher with HttpMethod and URL-Path
     * @param method
     * @param antPattern
     * @return
     */
Add a new Matcher with HttpMethod and URL-Path
@param method
@param antPattern
@return
Add a new Matcher with HttpMethod and URL - Path @param method @param antPattern @return
public Role antMatchers(org.springframework.http.HttpMethod method, String antPattern) {
        HttpMethodResourceAntMatcher matcher = new HttpMethodResourceAntMatcher(method, antPattern);
        this.matcherList.add(matcher);
        Role role = new Role(matcher, this);
        return role;
    }
public Role antMatchers ( org . springframework . http . HttpMethod method , String antPattern ) { HttpMethodResourceAntMatcher matcher = new HttpMethodResourceAntMatcher ( method , antPattern ) ; this . matcherList . add ( matcher ) ; Role role = new Role ( matcher , this ) ; return role ; }
Add a new Matcher with HttpMethod and URL-Path
 @param method
 @param antPattern
 @return
Add a new Matcher with HttpMethod and URL - Path @param method @param antPattern @return
// create a new matcher // add matcher to list of matchers // return a Role wrapper object, which forces the user to add the role(s) to the matcher