Package org.thymeleaf.web
Interface IWebExchange
-
- All Known Subinterfaces:
IServletWebExchange
public interface IWebExchange
- Since:
- 3.1.0
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
containsAttribute(String name)
Set<String>
getAllAttributeNames()
IWebApplication
getApplication()
int
getAttributeCount()
Map<String,Object>
getAttributeMap()
Object
getAttributeValue(String name)
String
getCharacterEncoding()
String
getContentType()
Locale
getLocale()
Principal
getPrincipal()
IWebRequest
getRequest()
IWebSession
getSession()
default boolean
hasSession()
void
removeAttribute(String name)
void
setAttributeValue(String name, Object value)
String
transformURL(String url)
-
-
-
Method Detail
-
getRequest
IWebRequest getRequest()
-
getSession
IWebSession getSession()
-
getApplication
IWebApplication getApplication()
-
hasSession
default boolean hasSession()
-
getPrincipal
Principal getPrincipal()
-
getLocale
Locale getLocale()
-
getContentType
String getContentType()
-
getCharacterEncoding
String getCharacterEncoding()
-
containsAttribute
boolean containsAttribute(String name)
-
getAttributeCount
int getAttributeCount()
-
removeAttribute
void removeAttribute(String name)
-
-