org.springframework.web.servlet.support

Class RequestContextUtils

  • java.lang.Object
    • org.springframework.web.servlet.support.RequestContextUtils


  • public abstract class RequestContextUtils
    extends java.lang.Object
    Utility class for easy access to request-specific state which has been set by the DispatcherServlet.

    Supports lookup of current WebApplicationContext, LocaleResolver, Locale, ThemeResolver, Theme, and MultipartResolver.

    Since:
    03.03.2003
    Author:
    Juergen Hoeller, Rossen Stoyanchev
    See Also:
    RequestContext, DispatcherServlet
    • Field Detail

      • REQUEST_DATA_VALUE_PROCESSOR_BEAN_NAME

        public static final java.lang.String REQUEST_DATA_VALUE_PROCESSOR_BEAN_NAME
        The name of the bean to use to look up in an implementation of RequestDataValueProcessor has been configured.
        Since:
        4.2.1
        See Also:
        Constant Field Values
    • Constructor Detail

      • RequestContextUtils

        public RequestContextUtils()