Class StaticResourceRequest.StaticResourceServerWebExchange
java.lang.Object
org.springframework.boot.autoconfigure.security.reactive.StaticResourceRequest.StaticResourceServerWebExchange
- All Implemented Interfaces:
- ServerWebExchangeMatcher
- Enclosing class:
- StaticResourceRequest
public static final class StaticResourceRequest.StaticResourceServerWebExchange
extends Object
implements ServerWebExchangeMatcher
The server web exchange matcher used to match against resource
 
locations.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcherServerWebExchangeMatcher.MatchResult
- 
Method SummaryModifier and TypeMethodDescriptionexcluding(Set<StaticResourceLocation> locations) Return a newStaticResourceRequest.StaticResourceServerWebExchangebased on this one but excluding the specified locations.excluding(StaticResourceLocation first, StaticResourceLocation... rest) Return a newStaticResourceRequest.StaticResourceServerWebExchangebased on this one but excluding the specified locations.reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult>matches(ServerWebExchange exchange) 
- 
Method Details- 
excludingpublic StaticResourceRequest.StaticResourceServerWebExchange excluding(StaticResourceLocation first, StaticResourceLocation... rest) Return a newStaticResourceRequest.StaticResourceServerWebExchangebased on this one but excluding the specified locations.- Parameters:
- first- the first location to exclude
- rest- additional locations to exclude
- Returns:
- a new StaticResourceRequest.StaticResourceServerWebExchange
 
- 
excludingpublic StaticResourceRequest.StaticResourceServerWebExchange excluding(Set<StaticResourceLocation> locations) Return a newStaticResourceRequest.StaticResourceServerWebExchangebased on this one but excluding the specified locations.- Parameters:
- locations- the locations to exclude
- Returns:
- a new StaticResourceRequest.StaticResourceServerWebExchange
 
- 
matchespublic reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult> matches(ServerWebExchange exchange) - Specified by:
- matchesin interface- ServerWebExchangeMatcher
 
 
-