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 resourcelocations
.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
Method Detail
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(org.springframework.web.server.ServerWebExchange exchange)
- Specified by:
matches
in interfaceorg.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher