Package io.micronaut.views.thymeleaf
Class WebContext
java.lang.Object
org.thymeleaf.context.AbstractContext
io.micronaut.views.thymeleaf.WebContext
- All Implemented Interfaces:
org.thymeleaf.context.IContext
public class WebContext
extends org.thymeleaf.context.AbstractContext
Web-oriented implementation of the
IContext
and IWebContext
interfaces.- Since:
- 1.1.0
- Author:
- Semyon Gashchenko
-
Constructor Summary
ConstructorDescriptionWebContext
(@Nullable io.micronaut.http.HttpRequest<?> request, Locale locale, Map<String, Object> variables) -
Method Summary
Methods inherited from class org.thymeleaf.context.AbstractContext
clearVariables, containsVariable, getLocale, getVariable, getVariableNames, removeVariable, setLocale, setVariable, setVariables
-
Constructor Details
-
Method Details
-
getRequest
@Nullable public @Nullable io.micronaut.http.HttpRequest<?> getRequest()- Returns:
- HTTP request.
-