public class FacesContextImpl extends FacesContextImplBase
_released| Constructor and Description |
|---|
FacesContextImpl(ExternalContext externalContext,
ReleaseableExternalContext defaultExternalContext,
ReleaseableFacesContextFactory facesContextFactory)
Creates a FacesContextImpl with the given ExternalContext,
ReleaseableExternalContext and ReleaseableFacesContextFactory.
|
FacesContextImpl(ExternalContext externalContext,
ReleaseableExternalContext defaultExternalContext,
ReleaseableFacesContextFactory facesContextFactory,
ApplicationFactory applicationFactory,
RenderKitFactory renderKitFactory,
PartialViewContextFactory partialViewContextFactory) |
FacesContextImpl(jakarta.servlet.ServletContext servletContext,
jakarta.servlet.ServletRequest servletRequest,
jakarta.servlet.ServletResponse servletResponse)
Creates a FacesContextImpl with a ServletExternalContextImpl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMessage(String clientId,
FacesMessage message) |
Iterator<String> |
getClientIdsWithMessages() |
PhaseId |
getCurrentPhaseId() |
FacesMessage.Severity |
getMaximumSeverity() |
List<FacesMessage> |
getMessageList() |
List<FacesMessage> |
getMessageList(String clientId) |
Iterator<FacesMessage> |
getMessages() |
Iterator<FacesMessage> |
getMessages(String clientId) |
PartialViewContext |
getPartialViewContext() |
boolean |
getRenderResponse() |
boolean |
getResponseComplete() |
ResponseStream |
getResponseStream() |
ResponseWriter |
getResponseWriter() |
boolean |
isPostback() |
boolean |
isValidationFailed() |
void |
release()
Releases the instance fields on FacesContextImplBase.
|
void |
renderResponse() |
void |
responseComplete() |
void |
setCurrentPhaseId(PhaseId currentPhaseId) |
void |
setResponseStream(ResponseStream responseStream) |
void |
setResponseWriter(ResponseWriter responseWriter) |
void |
validationFailed() |
assertNotReleased, getApplication, getAttributes, getCurrentFacesContext, getELContext, getExceptionHandler, getExternalContext, getNamingContainerSeparatorChar, getRenderKit, getResourceLibraryContracts, getViewRoot, isProcessingEvents, isReleased, purgeFacesContext, setExceptionHandler, setProcessingEvents, setResourceLibraryContracts, setViewRootgetCurrentInstance, isProjectStage, setCurrentInstancepublic FacesContextImpl(jakarta.servlet.ServletContext servletContext,
jakarta.servlet.ServletRequest servletRequest,
jakarta.servlet.ServletResponse servletResponse)
public FacesContextImpl(ExternalContext externalContext, ReleaseableExternalContext defaultExternalContext, ReleaseableFacesContextFactory facesContextFactory)
externalContext - defaultExternalContext - facesContextFactory - public FacesContextImpl(ExternalContext externalContext, ReleaseableExternalContext defaultExternalContext, ReleaseableFacesContextFactory facesContextFactory, ApplicationFactory applicationFactory, RenderKitFactory renderKitFactory, PartialViewContextFactory partialViewContextFactory)
public final void release()
FacesContextImplBaserelease in class FacesContextImplBasepublic final FacesMessage.Severity getMaximumSeverity()
getMaximumSeverity in class FacesContextpublic final void addMessage(String clientId, FacesMessage message)
addMessage in class FacesContextpublic List<FacesMessage> getMessageList()
getMessageList in class FacesContextpublic List<FacesMessage> getMessageList(String clientId)
getMessageList in class FacesContextpublic final Iterator<FacesMessage> getMessages()
getMessages in class FacesContextpublic final Iterator<FacesMessage> getMessages(String clientId)
getMessages in class FacesContextpublic final Iterator<String> getClientIdsWithMessages()
getClientIdsWithMessages in class FacesContextpublic PhaseId getCurrentPhaseId()
getCurrentPhaseId in class FacesContextpublic void setCurrentPhaseId(PhaseId currentPhaseId)
setCurrentPhaseId in class FacesContextpublic PartialViewContext getPartialViewContext()
getPartialViewContext in class FacesContextpublic final boolean getRenderResponse()
getRenderResponse in class FacesContextpublic final void renderResponse()
renderResponse in class FacesContextpublic final boolean getResponseComplete()
getResponseComplete in class FacesContextpublic final void responseComplete()
responseComplete in class FacesContextpublic final void setResponseStream(ResponseStream responseStream)
setResponseStream in class FacesContextpublic final ResponseStream getResponseStream()
getResponseStream in class FacesContextpublic final void setResponseWriter(ResponseWriter responseWriter)
setResponseWriter in class FacesContextpublic final ResponseWriter getResponseWriter()
getResponseWriter in class FacesContextpublic boolean isPostback()
isPostback in class FacesContextpublic void validationFailed()
validationFailed in class FacesContextpublic boolean isValidationFailed()
isValidationFailed in class FacesContextCopyright © 2022 The Apache Software Foundation. All rights reserved.