@FunctionalInterface
public interface ServerRedirectStrategy
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
sendRedirect(org.springframework.web.server.ServerWebExchange exchange,
java.net.URI location)
Performs a redirect based upon the provided
ServerWebExchange and URI |
reactor.core.publisher.Mono<java.lang.Void> sendRedirect(org.springframework.web.server.ServerWebExchange exchange, java.net.URI location)
ServerWebExchange
and URI
exchange
- the ServerWebExchange
to uselocation
- the location to redirect toMono<Void>
to indicate when redirect is complete