Class WebFilterExchange
java.lang.Object
org.springframework.security.web.server.WebFilterExchange
A composite of the
ServerWebExchange
and the WebFilterChain
. This is
typically used as a value object for handling success and failures.- Since:
- 5.0
-
Constructor Summary
ConstructorDescriptionWebFilterExchange
(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.server.WebFilterChain
getChain()
The filter chainorg.springframework.web.server.ServerWebExchange
Get the exchange
-
Constructor Details
-
WebFilterExchange
public WebFilterExchange(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain)
-
-
Method Details
-
getExchange
public org.springframework.web.server.ServerWebExchange getExchange()Get the exchange- Returns:
- the exchange. Cannot be
null
-
getChain
public org.springframework.web.server.WebFilterChain getChain()The filter chain- Returns:
- the filter chain. Cannot be
null
-