Class StaticResourceRequest.StaticResourceServerWebExchange
java.lang.Object
org.springframework.boot.autoconfigure.security.reactive.StaticResourceRequest.StaticResourceServerWebExchange
- All Implemented Interfaces:
org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
- Enclosing class:
- StaticResourceRequest
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 resource
locations
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult
-
Method Summary
Modifier and TypeMethodDescriptionexcluding
(Set<StaticResourceLocation> locations) Return a newStaticResourceRequest.StaticResourceServerWebExchange
based on this one but excluding the specified locations.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
(ServerWebExchange exchange)
-
Method Details
-
excluding
public StaticResourceRequest.StaticResourceServerWebExchange excluding(StaticResourceLocation first, StaticResourceLocation... rest) Return a newStaticResourceRequest.StaticResourceServerWebExchange
based 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.StaticResourceServerWebExchange
based 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<org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult> matches(ServerWebExchange exchange) - Specified by:
matches
in interfaceorg.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
-