Interface IThymeleafRequestContext

    • Method Detail

      • getMessageSource

        org.springframework.context.MessageSource getMessageSource()
      • getLocale

        Locale getLocale()
      • changeLocale

        void changeLocale​(Locale locale)
      • changeLocale

        void changeLocale​(Locale locale,
                          TimeZone timeZone)
      • setDefaultHtmlEscape

        void setDefaultHtmlEscape​(boolean defaultHtmlEscape)
      • isDefaultHtmlEscape

        boolean isDefaultHtmlEscape()
      • getDefaultHtmlEscape

        Boolean getDefaultHtmlEscape()
      • getContextPath

        String getContextPath()
      • getContextUrl

        String getContextUrl​(String relativeUrl)
      • getRequestPath

        String getRequestPath()
      • getQueryString

        String getQueryString()
      • getMessage

        String getMessage​(String code)
                   throws org.springframework.context.NoSuchMessageException
        Throws:
        org.springframework.context.NoSuchMessageException
      • getMessage

        String getMessage​(String code,
                          Object[] args)
                   throws org.springframework.context.NoSuchMessageException
        Throws:
        org.springframework.context.NoSuchMessageException
      • getMessage

        String getMessage​(String code,
                          List<?> args)
                   throws org.springframework.context.NoSuchMessageException
        Throws:
        org.springframework.context.NoSuchMessageException
      • getMessage

        String getMessage​(String code,
                          Object[] args,
                          boolean htmlEscape)
                   throws org.springframework.context.NoSuchMessageException
        Throws:
        org.springframework.context.NoSuchMessageException
      • getMessage

        String getMessage​(org.springframework.context.MessageSourceResolvable resolvable)
                   throws org.springframework.context.NoSuchMessageException
        Throws:
        org.springframework.context.NoSuchMessageException
      • getMessage

        String getMessage​(org.springframework.context.MessageSourceResolvable resolvable,
                          boolean htmlEscape)
                   throws org.springframework.context.NoSuchMessageException
        Throws:
        org.springframework.context.NoSuchMessageException
      • getErrors

        Optional<org.springframework.validation.Errors> getErrors​(String name)
      • getErrors

        Optional<org.springframework.validation.Errors> getErrors​(String name,
                                                                  boolean htmlEscape)
      • getTheme

        org.springframework.ui.context.Theme getTheme()