接口 RequestMatcherProvider

函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface RequestMatcherProvider
Interface that can be used to provide a RequestMatcher that can be used with Spring Security.
从以下版本开始:
3.5.0
作者:
Madhura Bhave, Chris Bono
  • 方法详细资料

    • getRequestMatcher

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