public class MvcExternalContext extends ServletExternalContext
ServletExternalContext
, but overrides operations to plug in
specific functionality available in a Spring MVC Environment.Constructor and Description |
---|
MvcExternalContext(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
FlowUrlHandler flowUrlHandler)
Create a new external context wrapping given servlet HTTP request and response and given servlet context.
|
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
getLocale()
Returns the client locale.
|
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
public MvcExternalContext(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, FlowUrlHandler flowUrlHandler)
context
- the servlet contextrequest
- the http servlet requestresponse
- the http servlet responseflowUrlHandler
- the flow url handlerpublic java.util.Locale getLocale()
ExternalContext
getLocale
in interface ExternalContext
getLocale
in class ServletExternalContext