public class WebContext
extends org.thymeleaf.context.AbstractContext
IContext
and IWebContext
interfaces.Constructor and Description |
---|
WebContext(io.micronaut.http.HttpRequest<?> request) |
WebContext(io.micronaut.http.HttpRequest<?> request,
java.util.Locale locale) |
WebContext(io.micronaut.http.HttpRequest<?> request,
java.util.Locale locale,
java.util.Map<java.lang.String,java.lang.Object> variables) |
Modifier and Type | Method and Description |
---|---|
io.micronaut.http.HttpRequest<?> |
getRequest() |
public WebContext(io.micronaut.http.HttpRequest<?> request)
request
- HTTP request.AbstractContext.AbstractContext().
public WebContext(io.micronaut.http.HttpRequest<?> request, java.util.Locale locale)
locale
- the locale.request
- HTTP request.AbstractContext.AbstractContext(Locale).
public WebContext(io.micronaut.http.HttpRequest<?> request, java.util.Locale locale, java.util.Map<java.lang.String,java.lang.Object> variables)
request
- HTTP request.locale
- the locale.variables
- the variables.AbstractContext.AbstractContext(Locale, Map).