Package org.primefaces.context
Class PrimeFacesContext
java.lang.Object
javax.faces.context.FacesContext
javax.faces.context.FacesContextWrapper
org.primefaces.context.PrimeFacesContext
- All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.context.FacesContext>
public class PrimeFacesContext
extends javax.faces.context.FacesContextWrapper
Custom
FacesContextWrapper to init and release our PrimeRequestContext.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMessage(String clientId, javax.faces.application.FacesMessage message) static CspStategetCspState(javax.faces.context.FacesContext context) javax.faces.context.ExternalContextvoidrelease()voidsetResponseWriter(javax.faces.context.ResponseWriter writer) Methods inherited from class javax.faces.context.FacesContextWrapper
getApplication, getAttributes, getClientIdsWithMessages, getCurrentPhaseId, getELContext, getExceptionHandler, getMaximumSeverity, getMessageList, getMessageList, getMessages, getMessages, getNamingContainerSeparatorChar, getPartialViewContext, getRenderKit, getRenderResponse, getResourceLibraryContracts, getResponseComplete, getResponseStream, getResponseWriter, getViewRoot, getWrapped, isPostback, isProcessingEvents, isProjectStage, isReleased, isValidationFailed, renderResponse, responseComplete, setCurrentPhaseId, setExceptionHandler, setProcessingEvents, setResourceLibraryContracts, setResponseStream, setViewRoot, validationFailedMethods inherited from class javax.faces.context.FacesContext
getCurrentInstance, setCurrentInstance
-
Constructor Details
-
PrimeFacesContext
public PrimeFacesContext(javax.faces.context.FacesContext wrapped)
-
-
Method Details
-
getExternalContext
public javax.faces.context.ExternalContext getExternalContext()- Overrides:
getExternalContextin classjavax.faces.context.FacesContextWrapper
-
setResponseWriter
public void setResponseWriter(javax.faces.context.ResponseWriter writer) - Overrides:
setResponseWriterin classjavax.faces.context.FacesContextWrapper
-
release
public void release()- Overrides:
releasein classjavax.faces.context.FacesContextWrapper
-
addMessage
- Overrides:
addMessagein classjavax.faces.context.FacesContextWrapper
-
getCspState
-