Class MvcExternalContext
java.lang.Object
org.springframework.webflow.context.servlet.ServletExternalContext
org.springframework.webflow.mvc.servlet.MvcExternalContext
- All Implemented Interfaces:
ExternalContext
Spring MVC external context implementation. Is a
ServletExternalContext
, but overrides operations to plug in
specific functionality available in a Spring MVC Environment.- Author:
- Keith Donald
-
Constructor Summary
ConstructorDescriptionMvcExternalContext
(jakarta.servlet.ServletContext context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, FlowUrlHandler flowUrlHandler) Create a new external context wrapping given servlet HTTP request and response and given servlet context. -
Method Summary
Methods inherited from class org.springframework.webflow.context.servlet.ServletExternalContext
getApplicationMap, getContext, getContextPath, getCurrentUser, getExternalRedirectRequested, getExternalRedirectUrl, getFlowDefinitionRedirectRequested, getFlowExecutionRedirectRequested, getFlowExecutionUrl, getFlowRedirectFlowId, getFlowRedirectFlowInput, getFlowUrlHandler, getGlobalSessionMap, getNativeContext, getNativeRequest, getNativeResponse, getRedirectInPopup, getRequest, getRequestMap, getRequestParameterMap, getResponse, getResponseWriter, getSessionMap, isAjaxRequest, isResponseAllowed, isResponseComplete, isResponseCompleteFlowExecutionRedirect, recordResponseComplete, requestExternalRedirect, requestFlowDefinitionRedirect, requestFlowExecutionRedirect, requestRedirectInPopup, setAjaxRequest
-
Constructor Details
-
MvcExternalContext
public MvcExternalContext(jakarta.servlet.ServletContext context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, FlowUrlHandler flowUrlHandler) Create a new external context wrapping given servlet HTTP request and response and given servlet context.- Parameters:
context
- the servlet contextrequest
- the http servlet requestresponse
- the http servlet responseflowUrlHandler
- the flow url handler
-
-
Method Details
-
getLocale
Description copied from interface:ExternalContext
Returns the client locale.- Specified by:
getLocale
in interfaceExternalContext
- Overrides:
getLocale
in classServletExternalContext
- Returns:
- the locale
-