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.
 

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.
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}).