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 Summary
Nested classes/interfaces inherited from interface org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
ServerWebExchangeMatcher.MatchResult - 
Method Summary
Modifier 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
- 
excluding
public 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 excluderest- additional locations to exclude- Returns:
 - a new 
StaticResourceRequest.StaticResourceServerWebExchange 
 - 
excluding
public 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 
 - 
matches
public reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult> matches(ServerWebExchange exchange) - Specified by:
 matchesin interfaceServerWebExchangeMatcher
 
 -