public class LogoutWebFilter
extends java.lang.Object
implements org.springframework.web.server.WebFilter
ServerLogoutHandler
.Constructor and Description |
---|
LogoutWebFilter() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
filter(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.server.WebFilterChain chain) |
void |
setRequiresLogout(ServerWebExchangeMatcher serverWebExchangeMatcher) |
void |
setServerLogoutHandler(ServerLogoutHandler serverLogoutHandler) |
void |
setServerLogoutSuccessHandler(ServerLogoutSuccessHandler serverLogoutSuccessHandler)
Sets the
ServerLogoutSuccessHandler . |
public reactor.core.publisher.Mono<java.lang.Void> filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain)
filter
in interface org.springframework.web.server.WebFilter
public void setServerLogoutSuccessHandler(ServerLogoutSuccessHandler serverLogoutSuccessHandler)
ServerLogoutSuccessHandler
. The default is RedirectServerLogoutSuccessHandler
.serverLogoutSuccessHandler
- the handler to usepublic void setServerLogoutHandler(ServerLogoutHandler serverLogoutHandler)
public void setRequiresLogout(ServerWebExchangeMatcher serverWebExchangeMatcher)