类 StaticResourceRequest.StaticResourceServerWebExchange
- java.lang.Object
- org.springframework.boot.autoconfigure.security.reactive.StaticResourceRequest.StaticResourceServerWebExchange
- 所有已实现的接口:
org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
public static final class StaticResourceRequest.StaticResourceServerWebExchange extends Object implements org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
The server web exchange matcher used to match against resourcelocations
.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StaticResourceRequest.StaticResourceServerWebExchange
excluding(Set<StaticResourceLocation> locations)
Return a newStaticResourceRequest.StaticResourceServerWebExchange
based on this one but excluding the specified locations.StaticResourceRequest.StaticResourceServerWebExchange
excluding(StaticResourceLocation first, StaticResourceLocation... rest)
Return a newStaticResourceRequest.StaticResourceServerWebExchange
based on this one but excluding the specified locations.reactor.core.publisher.Mono<org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult>
matches(org.springframework.web.server.ServerWebExchange exchange)
方法详细资料
excluding
public StaticResourceRequest.StaticResourceServerWebExchange excluding(StaticResourceLocation first, StaticResourceLocation... rest)
Return a newStaticResourceRequest.StaticResourceServerWebExchange
based on this one but excluding the specified locations.- 参数:
first
- the first location to excluderest
- additional locations to exclude- 返回:
- a new
StaticResourceRequest.StaticResourceServerWebExchange
excluding
public StaticResourceRequest.StaticResourceServerWebExchange excluding(Set<StaticResourceLocation> locations)
Return a newStaticResourceRequest.StaticResourceServerWebExchange
based on this one but excluding the specified locations.- 参数:
locations
- the locations to exclude- 返回:
- a new
StaticResourceRequest.StaticResourceServerWebExchange
matches
public reactor.core.publisher.Mono<org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult> matches(org.springframework.web.server.ServerWebExchange exchange)
- 指定者:
matches
在接口中org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher