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