public interface IThymeleafRequestContext
This interface is meant to abstract a Spring RequestContext, without the client code needing to know if it is a Spring WebMVC or Spring WebFlux implementation of this RequestContext.
SpringWebMvcThymeleafRequestContext, 
SpringWebFluxThymeleafRequestContext| Modifier and Type | Method and Description | 
|---|---|
void | 
changeLocale(Locale locale)  | 
void | 
changeLocale(Locale locale,
            TimeZone timeZone)  | 
IThymeleafBindStatus | 
getBindStatus(String path)  | 
IThymeleafBindStatus | 
getBindStatus(String path,
             boolean htmlEscape)  | 
String | 
getContextPath()  | 
String | 
getContextUrl(String relativeUrl)  | 
String | 
getContextUrl(String relativeUrl,
             Map<String,?> params)  | 
Boolean | 
getDefaultHtmlEscape()  | 
Optional<org.springframework.validation.Errors> | 
getErrors(String name)  | 
Optional<org.springframework.validation.Errors> | 
getErrors(String name,
         boolean htmlEscape)  | 
Locale | 
getLocale()  | 
String | 
getMessage(org.springframework.context.MessageSourceResolvable resolvable)  | 
String | 
getMessage(org.springframework.context.MessageSourceResolvable resolvable,
          boolean htmlEscape)  | 
String | 
getMessage(String code)  | 
String | 
getMessage(String code,
          List<?> args)  | 
String | 
getMessage(String code,
          List<?> args,
          String defaultMessage)  | 
String | 
getMessage(String code,
          Object[] args)  | 
String | 
getMessage(String code,
          Object[] args,
          boolean htmlEscape)  | 
String | 
getMessage(String code,
          Object[] args,
          String defaultMessage)  | 
String | 
getMessage(String code,
          Object[] args,
          String defaultMessage,
          boolean htmlEscape)  | 
String | 
getMessage(String code,
          String defaultMessage)  | 
org.springframework.context.MessageSource | 
getMessageSource()  | 
Map<String,Object> | 
getModel()  | 
String | 
getQueryString()  | 
IThymeleafRequestDataValueProcessor | 
getRequestDataValueProcessor()  | 
String | 
getRequestPath()  | 
org.springframework.ui.context.Theme | 
getTheme()  | 
TimeZone | 
getTimeZone()  | 
boolean | 
isDefaultHtmlEscape()  | 
void | 
setDefaultHtmlEscape(boolean defaultHtmlEscape)  | 
org.springframework.context.MessageSource getMessageSource()
Locale getLocale()
TimeZone getTimeZone()
void changeLocale(Locale locale)
void setDefaultHtmlEscape(boolean defaultHtmlEscape)
boolean isDefaultHtmlEscape()
Boolean getDefaultHtmlEscape()
String getContextPath()
String getRequestPath()
String getQueryString()
String getMessage(String code) throws org.springframework.context.NoSuchMessageException
org.springframework.context.NoSuchMessageExceptionString getMessage(String code, Object[] args) throws org.springframework.context.NoSuchMessageException
org.springframework.context.NoSuchMessageExceptionString getMessage(String code, List<?> args) throws org.springframework.context.NoSuchMessageException
org.springframework.context.NoSuchMessageExceptionString getMessage(String code, Object[] args, boolean htmlEscape) throws org.springframework.context.NoSuchMessageException
org.springframework.context.NoSuchMessageExceptionString getMessage(org.springframework.context.MessageSourceResolvable resolvable) throws org.springframework.context.NoSuchMessageException
org.springframework.context.NoSuchMessageExceptionString getMessage(org.springframework.context.MessageSourceResolvable resolvable, boolean htmlEscape) throws org.springframework.context.NoSuchMessageException
org.springframework.context.NoSuchMessageExceptionOptional<org.springframework.validation.Errors> getErrors(String name, boolean htmlEscape)
org.springframework.ui.context.Theme getTheme()
IThymeleafRequestDataValueProcessor getRequestDataValueProcessor()
IThymeleafBindStatus getBindStatus(String path) throws IllegalStateException
IllegalStateExceptionIThymeleafBindStatus getBindStatus(String path, boolean htmlEscape) throws IllegalStateException
IllegalStateExceptionCopyright © 2017 The THYMELEAF team. All rights reserved.