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 booleancontainsAttribute(String name) default intdefault ObjectgetAttributeValue(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:
getRequestin interfaceIWebExchange
-
getSession
ISpringWebFluxWebSession getSession()- Specified by:
getSessionin interfaceIWebExchange
-
getApplication
ISpringWebFluxWebApplication getApplication()- Specified by:
getApplicationin interfaceIWebExchange
-
getAttributes
-
containsAttribute
- Specified by:
containsAttributein interfaceIWebExchange
-
getAttributeCount
default int getAttributeCount()- Specified by:
getAttributeCountin interfaceIWebExchange
-
getAllAttributeNames
- Specified by:
getAllAttributeNamesin interfaceIWebExchange
-
getAttributeMap
- Specified by:
getAttributeMapin interfaceIWebExchange
-
getAttributeValue
- Specified by:
getAttributeValuein interfaceIWebExchange
-
getNativeExchangeObject
Object getNativeExchangeObject()
-