类 RequestMatcherFactories

java.lang.Object
spring.turbo.module.security.util.RequestMatcherFactories

public final class RequestMatcherFactories extends Object
RequestMatcher 相关生成工具
从以下版本开始:
2.0.4
作者:
应卓
  • 方法概要

    修饰符和类型
    方法
    说明
    static org.springframework.security.web.util.matcher.RequestMatcher
     
    static org.springframework.security.web.util.matcher.RequestMatcher
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    and(org.springframework.security.web.util.matcher.RequestMatcher... matchers)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    antPaths(org.springframework.http.HttpMethod method, boolean caseSensitive, String... patterns)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    antPaths(org.springframework.http.HttpMethod method, String... patterns)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    defaultKubernetesProps(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    dispatcherType(jakarta.servlet.DispatcherType dispatcherType)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    dispatcherType(jakarta.servlet.DispatcherType dispatcherType, org.springframework.http.HttpMethod method)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    fromPredicate(Predicate<jakarta.servlet.http.HttpServletRequest> predicate)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    header(String headerName, String regex)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    ipAddress(String ipAddress)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
     
    static org.springframework.security.web.util.matcher.RequestMatcher
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    kubernetesProps(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector, org.springframework.http.HttpMethod method, String... patterns)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    mediaType(org.springframework.http.MediaType... mediaTypes)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    mvcPatterns(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector, String... patterns)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    mvcPatterns(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector, org.springframework.http.HttpMethod method, String... patterns)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    not(org.springframework.security.web.util.matcher.RequestMatcher matcher)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    or(org.springframework.security.web.util.matcher.RequestMatcher... matchers)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    query(String parameterName, String regex)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    regexPatterns(String... patterns)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    regexPatterns(org.springframework.http.HttpMethod method, boolean caseInsensitive, String... patterns)
     
    static org.springframework.security.web.util.matcher.RequestMatcher
    regexPatterns(org.springframework.http.HttpMethod method, String... patterns)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 方法详细资料

    • or

      public static org.springframework.security.web.util.matcher.RequestMatcher or(org.springframework.security.web.util.matcher.RequestMatcher... matchers)
    • and

      public static org.springframework.security.web.util.matcher.RequestMatcher and(org.springframework.security.web.util.matcher.RequestMatcher... matchers)
    • not

      public static org.springframework.security.web.util.matcher.RequestMatcher not(org.springframework.security.web.util.matcher.RequestMatcher matcher)
    • alwaysTrue

      public static org.springframework.security.web.util.matcher.RequestMatcher alwaysTrue()
    • alwaysFalse

      public static org.springframework.security.web.util.matcher.RequestMatcher alwaysFalse()
    • fromPredicate

      public static org.springframework.security.web.util.matcher.RequestMatcher fromPredicate(Predicate<jakarta.servlet.http.HttpServletRequest> predicate)
    • antPaths

      public static org.springframework.security.web.util.matcher.RequestMatcher antPaths(org.springframework.http.HttpMethod method, String... patterns)
    • antPaths

      public static org.springframework.security.web.util.matcher.RequestMatcher antPaths(org.springframework.http.HttpMethod method, boolean caseSensitive, String... patterns)
    • mvcPatterns

      public static org.springframework.security.web.util.matcher.RequestMatcher mvcPatterns(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector, String... patterns)
    • mvcPatterns

      public static org.springframework.security.web.util.matcher.RequestMatcher mvcPatterns(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector, org.springframework.http.HttpMethod method, String... patterns)
    • regexPatterns

      public static org.springframework.security.web.util.matcher.RequestMatcher regexPatterns(String... patterns)
    • regexPatterns

      public static org.springframework.security.web.util.matcher.RequestMatcher regexPatterns(org.springframework.http.HttpMethod method, String... patterns)
    • regexPatterns

      public static org.springframework.security.web.util.matcher.RequestMatcher regexPatterns(org.springframework.http.HttpMethod method, boolean caseInsensitive, String... patterns)
    • ipAddress

      public static org.springframework.security.web.util.matcher.RequestMatcher ipAddress(String ipAddress)
    • mediaType

      public static org.springframework.security.web.util.matcher.RequestMatcher mediaType(org.springframework.http.MediaType... mediaTypes)
    • dispatcherType

      public static org.springframework.security.web.util.matcher.RequestMatcher dispatcherType(jakarta.servlet.DispatcherType dispatcherType)
    • dispatcherType

      public static org.springframework.security.web.util.matcher.RequestMatcher dispatcherType(jakarta.servlet.DispatcherType dispatcherType, org.springframework.http.HttpMethod method)
    • header

      public static org.springframework.security.web.util.matcher.RequestMatcher header(String headerName, String regex)
    • query

      public static org.springframework.security.web.util.matcher.RequestMatcher query(String parameterName, String regex)
    • isSecure

      public static org.springframework.security.web.util.matcher.RequestMatcher isSecure()
    • isNotSecure

      public static org.springframework.security.web.util.matcher.RequestMatcher isNotSecure()
    • defaultKubernetesProps

      public static org.springframework.security.web.util.matcher.RequestMatcher defaultKubernetesProps(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector)
    • kubernetesProps

      public static org.springframework.security.web.util.matcher.RequestMatcher kubernetesProps(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector, org.springframework.http.HttpMethod method, String... patterns)