Class FlowExternalContext
java.lang.Object
jakarta.faces.context.ExternalContext
jakarta.faces.context.ExternalContextWrapper
org.springframework.faces.webflow.FlowExternalContext
- All Implemented Interfaces:
jakarta.faces.FacesWrapper<jakarta.faces.context.ExternalContext>
public class FlowExternalContext
extends jakarta.faces.context.ExternalContextWrapper
Custom
ExternalContext
implementation that supports custom response objects other than
HttpServletResponse
.- Since:
- 2.4
- Author:
- Jeremy Grelle, Phillip Webb, Rossen Stoyanchev
-
Field Summary
Fields inherited from class jakarta.faces.context.ExternalContext
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Constructor Summary
ConstructorDescriptionFlowExternalContext
(RequestContext context, jakarta.faces.context.ExternalContext wrapped) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.faces.context.ExternalContext
void
responseSendError
(int statusCode, String message) void
setResponse
(Object response) Methods inherited from class jakarta.faces.context.ExternalContextWrapper
addResponseCookie, addResponseHeader, dispatch, encodeActionURL, encodeBookmarkableURL, encodeNamespace, encodePartialActionURL, encodeRedirectURL, encodeResourceURL, encodeWebsocketURL, getApplicationContextPath, getApplicationMap, getAuthType, getClientWindow, getContext, getContextName, getFlash, getInitParameter, getInitParameterMap, getMimeType, getRealPath, getRemoteUser, getRequest, getRequestCharacterEncoding, getRequestContentLength, getRequestContentType, getRequestContextPath, getRequestCookieMap, getRequestHeaderMap, getRequestHeaderValuesMap, getRequestLocale, getRequestLocales, getRequestMap, getRequestParameterMap, getRequestParameterNames, getRequestParameterValuesMap, getRequestPathInfo, getRequestScheme, getRequestServerName, getRequestServerPort, getRequestServletPath, getResource, getResourceAsStream, getResourcePaths, getResponseBufferSize, getResponseCharacterEncoding, getResponseContentType, getResponseOutputStream, getResponseOutputWriter, getSession, getSessionId, getSessionMap, getSessionMaxInactiveInterval, getUserPrincipal, invalidateSession, isResponseCommitted, isSecure, isUserInRole, log, log, redirect, release, responseFlushBuffer, responseReset, setClientWindow, setRequest, setRequestCharacterEncoding, setResponseBufferSize, setResponseCharacterEncoding, setResponseContentLength, setResponseContentType, setResponseHeader, setResponseStatus, setSessionMaxInactiveInterval
-
Constructor Details
-
FlowExternalContext
-
-
Method Details
-
getWrapped
public jakarta.faces.context.ExternalContext getWrapped()- Specified by:
getWrapped
in interfacejakarta.faces.FacesWrapper<jakarta.faces.context.ExternalContext>
- Overrides:
getWrapped
in classjakarta.faces.context.ExternalContextWrapper
-
getResponse
- Overrides:
getResponse
in classjakarta.faces.context.ExternalContextWrapper
-
setResponse
- Overrides:
setResponse
in classjakarta.faces.context.ExternalContextWrapper
-
responseSendError
- Overrides:
responseSendError
in classjakarta.faces.context.ExternalContextWrapper
- Throws:
IOException
-