类 RequestMatcherFactories
java.lang.Object
spring.turbo.module.security.util.RequestMatcherFactories
RequestMatcher 相关生成工具- 从以下版本开始:
- 2.0.4
- 作者:
- 应卓
-
方法概要
修饰符和类型方法说明static org.springframework.security.web.util.matcher.RequestMatcherstatic org.springframework.security.web.util.matcher.RequestMatcherstatic org.springframework.security.web.util.matcher.RequestMatcherand(org.springframework.security.web.util.matcher.RequestMatcher... matchers) static org.springframework.security.web.util.matcher.RequestMatcherstatic org.springframework.security.web.util.matcher.RequestMatcherstatic org.springframework.security.web.util.matcher.RequestMatcherdefaultKubernetesProps(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector) static org.springframework.security.web.util.matcher.RequestMatcherdispatcherType(jakarta.servlet.DispatcherType dispatcherType) static org.springframework.security.web.util.matcher.RequestMatcherdispatcherType(jakarta.servlet.DispatcherType dispatcherType, org.springframework.http.HttpMethod method) static org.springframework.security.web.util.matcher.RequestMatcherfromPredicate(Predicate<jakarta.servlet.http.HttpServletRequest> predicate) static org.springframework.security.web.util.matcher.RequestMatcherstatic org.springframework.security.web.util.matcher.RequestMatcherstatic org.springframework.security.web.util.matcher.RequestMatcherstatic org.springframework.security.web.util.matcher.RequestMatcherisSecure()static org.springframework.security.web.util.matcher.RequestMatcherkubernetesProps(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector, org.springframework.http.HttpMethod method, String... patterns) static org.springframework.security.web.util.matcher.RequestMatchermediaType(org.springframework.http.MediaType... mediaTypes) static org.springframework.security.web.util.matcher.RequestMatchermvcPatterns(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector, String... patterns) static org.springframework.security.web.util.matcher.RequestMatchermvcPatterns(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector, org.springframework.http.HttpMethod method, String... patterns) static org.springframework.security.web.util.matcher.RequestMatchernot(org.springframework.security.web.util.matcher.RequestMatcher matcher) static org.springframework.security.web.util.matcher.RequestMatcheror(org.springframework.security.web.util.matcher.RequestMatcher... matchers) static org.springframework.security.web.util.matcher.RequestMatcherstatic org.springframework.security.web.util.matcher.RequestMatcherregexPatterns(String... patterns) static org.springframework.security.web.util.matcher.RequestMatcherregexPatterns(org.springframework.http.HttpMethod method, boolean caseInsensitive, String... patterns) static org.springframework.security.web.util.matcher.RequestMatcherregexPatterns(org.springframework.http.HttpMethod method, String... patterns)
-
方法详细资料
-
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
-
query
-
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)
-