Interface RequestMatcherProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RequestMatcherProvider
Interface that can be used to provide a RequestMatcher that can be used with Spring Security.
Since:
3.5.0
Author:
Madhura Bhave, Chris Bono
  • Method Details

    • getRequestMatcher

      RequestMatcher getRequestMatcher(String pattern, HttpMethod httpMethod)
      Return the RequestMatcher to be used for the specified pattern and http method.
      Parameters:
      pattern - the request pattern
      httpMethod - the http method
      Returns:
      a request matcher