类 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.StaticResourceServerWebExchangeexcluding(Set<StaticResourceLocation> locations)Return a newStaticResourceRequest.StaticResourceServerWebExchangebased on this one but excluding the specified locations.StaticResourceRequest.StaticResourceServerWebExchangeexcluding(StaticResourceLocation first, StaticResourceLocation... rest)Return a newStaticResourceRequest.StaticResourceServerWebExchangebased 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.StaticResourceServerWebExchangebased 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.StaticResourceServerWebExchangebased 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