Generated by
JDiff

Class org.springframework.web.servlet.support.RequestContext

Added Constructors
RequestContext(HttpServletRequest, HttpServletResponse) Create a new RequestContext for the given request, using the request attributes for Errors retrieval.
 

Removed Methods
String getMessage(String, List, String) Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
String getMessage(String, List) Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
String getThemeMessage(String, List, String) Retrieve the theme message for the given code.
String getThemeMessage(String, List) Retrieve the theme message for the given code.
 

Added Methods
void changeLocale(Locale) Change the current locale to the specified one, storing the new locale through the configured LocaleResolver.
void changeLocale(Locale, TimeZone) Change the current locale to the specified locale and time zone context, storing the new locale context through the configured LocaleResolver.
void changeTheme(String) Change the current theme to the specified theme by name, storing the new theme name through the configured ThemeResolver.
void changeTheme(Theme) Change the current theme to the specified one, storing the new theme name through the configured ThemeResolver.
TimeZone getFallbackTimeZone() Determine the fallback time zone for this context.
String getMessage(String, List<?>, String) Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
String getMessage(String, List<?>) Retrieve the message for the given code, using the "defaultHtmlEscape" setting.
String getThemeMessage(String, List<?>, String) Retrieve the theme message for the given code.
String getThemeMessage(String, List<?>) Retrieve the theme message for the given code.
TimeZone getTimeZone() Return the current TimeZone (or {@code null} if none derivable from the request).
 

Changed Methods
Theme getTheme() Change from final to non-final.
Return the current theme (never {@code null}).