config/src/main/java/org/springframework/security/config/annotation/web/AbstractRequestMatcherRegistry.java
public C antMatchers(String... antPatterns) {
		Assert.state(!this.anyRequestConfigured, "Can't configure antMatchers after anyRequest");
		return chainRequestMatchers(RequestMatchers.antMatchers(antPatterns));
	}
public C antMatchers(String... antPatterns) {
		Assert.state(!this.anyRequestConfigured, "Can't configure antMatchers after anyRequest");
		return chainRequestMatchers(RequestMatchers.antMatchers(antPatterns));
	}
Maps a {@link List} of
{@link org.springframework.security.web.util.matcher.AntPathRequestMatcher}
instances that do not care which {@link HttpMethod} is used.

@param antPatterns the ant patterns to create
{@link org.springframework.security.web.util.matcher.AntPathRequestMatcher} from

@return the object that is chained after creating the {@link RequestMatcher}