Interface ISpringWebFluxWebExchange
- All Superinterfaces:
org.thymeleaf.web.IWebExchange
public interface ISpringWebFluxWebExchange
extends org.thymeleaf.web.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 interfaceorg.thymeleaf.web.IWebExchange
-
getSession
ISpringWebFluxWebSession getSession()- Specified by:
getSessionin interfaceorg.thymeleaf.web.IWebExchange
-
getApplication
ISpringWebFluxWebApplication getApplication()- Specified by:
getApplicationin interfaceorg.thymeleaf.web.IWebExchange
-
getAttributes
-
containsAttribute
- Specified by:
containsAttributein interfaceorg.thymeleaf.web.IWebExchange
-
getAttributeCount
default int getAttributeCount()- Specified by:
getAttributeCountin interfaceorg.thymeleaf.web.IWebExchange
-
getAllAttributeNames
- Specified by:
getAllAttributeNamesin interfaceorg.thymeleaf.web.IWebExchange
-
getAttributeMap
- Specified by:
getAttributeMapin interfaceorg.thymeleaf.web.IWebExchange
-
getAttributeValue
- Specified by:
getAttributeValuein interfaceorg.thymeleaf.web.IWebExchange
-
getNativeExchangeObject
Object getNativeExchangeObject()
-