Interface ISpringWebFluxWebExchange
- All Superinterfaces:
IWebExchange
Spring WebFlux-based interface for a web exchange.
Note getSession()
and IWebExchange.getPrincipal()
might return null not only if they are
indeed null, but also if they have not yet been resolved. These structures are declared as Mono<?>
in WebFlux exchange and request structures, and will only be resolved just before the rendering of the view starts.
- Since:
- 3.1.0
- Author:
- Daniel Fernández
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
containsAttribute
(String name) default int
default Object
getAttributeValue
(String name) Methods inherited from interface org.thymeleaf.web.IWebExchange
getCharacterEncoding, getContentType, getLocale, getPrincipal, hasSession, removeAttribute, setAttributeValue, transformURL
-
Method Details
-
getRequest
ISpringWebFluxWebRequest getRequest()- Specified by:
getRequest
in interfaceIWebExchange
-
getSession
ISpringWebFluxWebSession getSession()- Specified by:
getSession
in interfaceIWebExchange
-
getApplication
ISpringWebFluxWebApplication getApplication()- Specified by:
getApplication
in interfaceIWebExchange
-
getAttributes
-
containsAttribute
- Specified by:
containsAttribute
in interfaceIWebExchange
-
getAttributeCount
default int getAttributeCount()- Specified by:
getAttributeCount
in interfaceIWebExchange
-
getAllAttributeNames
- Specified by:
getAllAttributeNames
in interfaceIWebExchange
-
getAttributeMap
- Specified by:
getAttributeMap
in interfaceIWebExchange
-
getAttributeValue
- Specified by:
getAttributeValue
in interfaceIWebExchange
-
getNativeExchangeObject
Object getNativeExchangeObject()
-