Top Description Fields Constructors Methods
javax.faces.context

public abstract Class FacesContextWrapper

extends FacesContext
implements FacesWrapper<FacesContext>
Class Inheritance
All Implemented Interfaces
javax.faces.FacesWrapper
Known Direct Subclasses
javax.faces.component.UIViewAction.InstrumentedFacesContext
Imports
java.util.Iterator, .List, .Map, javax.el.ELContext, javax.faces.FacesWrapper, javax.faces.application.Application, .FacesMessage, .ProjectStage, javax.faces.component.UIViewRoot, javax.faces.event.PhaseId, javax.faces.render.RenderKit

Provides a simple implementation of FacesContext that can be subclassed by developers wishing to provide specialized behavior to an existing FacesContext instance. The default implementation of all methods is to call through to the wrapped FacesContext instance.

Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped to access the instance being wrapped.

Since
2.0

Field Summary

Modifier and TypeField and Description
private FacesContext

Constructor Summary

AccessConstructor and Description
public
FacesContextWrapper()

Deprecated Use the other constructor taking the implementation being wrapped.
public
FacesContextWrapper(FacesContext
The implementation being wrapped.
wrapped
)

If this faces context has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor.

Method Summary

Modifier and TypeMethod and Description
public void
addMessage(String
The client identifier with which this message is associated (if any)
clientId
,
FacesMessage
The message to be appended
message
)

Implements abstract javax.faces.context.FacesContext.addMessage.

The default behavior of this method is to call FacesContext#addMessage(String, FacesMessage) on the wrapped FacesContext object.

public Application
getApplication()

Implements abstract javax.faces.context.FacesContext.getApplication.

The default behavior of this method is to call FacesContext#getApplication() on the wrapped FacesContext object.

public Map<Object, Object>
getAttributes()

Overrides javax.faces.context.FacesContext.getAttributes.

The default behavior of this method is to call FacesContext#getAttributes() on the wrapped FacesContext object.

public Iterator<String>
public PhaseId
getCurrentPhaseId()

Overrides javax.faces.context.FacesContext.getCurrentPhaseId.

The default behavior of this method is to call FacesContext#getCurrentPhaseId() on the wrapped FacesContext object.

public ELContext
getELContext()

Overrides javax.faces.context.FacesContext.getELContext.

The default behavior of this method is to call FacesContext#getELContext() on the wrapped FacesContext object.

public ExceptionHandler
getExceptionHandler()

Overrides javax.faces.context.FacesContext.getExceptionHandler.

The default behavior of this method is to call FacesContext#getExceptionHandler() on the wrapped FacesContext object.

public ExternalContext
getExternalContext()

Implements abstract javax.faces.context.FacesContext.getExternalContext.

The default behavior of this method is to call FacesContext#getExternalContext() on the wrapped FacesContext object.

public FacesMessage.Severity
getMaximumSeverity()

Implements abstract javax.faces.context.FacesContext.getMaximumSeverity.

The default behavior of this method is to call FacesContext#getMaximumSeverity() on the wrapped FacesContext object.

public List<FacesMessage>
getMessageList()

Overrides javax.faces.context.FacesContext.getMessageList.

The default behavior of this method is to call FacesContext#getMessageList() on the wrapped FacesContext object.

public List<FacesMessage>
getMessageList(String
the client id of a component.
clientId
)

Overrides javax.faces.context.FacesContext.getMessageList.

The default behavior of this method is to call FacesContext#getMessageList(String) on the wrapped FacesContext object.

public Iterator<FacesMessage>
getMessages()

Implements abstract javax.faces.context.FacesContext.getMessages.

The default behavior of this method is to call FacesContext#getMessages() on the wrapped FacesContext object.

public Iterator<FacesMessage>
getMessages(String
The client identifier for which messages are requested, or null for messages not associated with any client identifier
clientId
)

Implements abstract javax.faces.context.FacesContext.getMessages.

The default behavior of this method is to call FacesContext#getMessages(String) on the wrapped FacesContext object.

public char
public PartialViewContext
getPartialViewContext()

Overrides javax.faces.context.FacesContext.getPartialViewContext.

The default behavior of this method is to call FacesContext#getPartialViewContext() ()} on the wrapped FacesContext object.

public RenderKit
getRenderKit()

Implements abstract javax.faces.context.FacesContext.getRenderKit.

The default behavior of this method is to call FacesContext#getRenderKit() on the wrapped FacesContext object.

public boolean
getRenderResponse()

Implements abstract javax.faces.context.FacesContext.getRenderResponse.

The default behavior of this method is to call FacesContext#getRenderResponse() on the wrapped FacesContext object.

public List<String>
public boolean
getResponseComplete()

Implements abstract javax.faces.context.FacesContext.getResponseComplete.

The default behavior of this method is to call FacesContext#getResponseComplete() on the wrapped FacesContext object.

public ResponseStream
getResponseStream()

Implements abstract javax.faces.context.FacesContext.getResponseStream.

The default behavior of this method is to call FacesContext#getResponseStream() on the wrapped FacesContext object.

public ResponseWriter
getResponseWriter()

Implements abstract javax.faces.context.FacesContext.getResponseWriter.

The default behavior of this method is to call FacesContext#getResponseWriter() on the wrapped FacesContext object.

public UIViewRoot
getViewRoot()

Implements abstract javax.faces.context.FacesContext.getViewRoot.

The default behavior of this method is to call FacesContext#getViewRoot() on the wrapped FacesContext object.

public FacesContext
getWrapped()

Implements javax.faces.FacesWrapper.getWrapped.

A class that implements this interface uses this method to return an instance of the class being wrapped.

public boolean
isPostback()

Overrides javax.faces.context.FacesContext.isPostback.

The default behavior of this method is to call FacesContext#isPostback() on the wrapped FacesContext object.

public boolean
public boolean
public boolean
isReleased()

Overrides javax.faces.context.FacesContext.isReleased.

The default behavior of this method is to call FacesContext#isReleased on the wrapped FacesContext object.

public boolean
public void
release()

Implements abstract javax.faces.context.FacesContext.release.

The default behavior of this method is to call FacesContext#release() on the wrapped FacesContext object.

public void
renderResponse()

Implements abstract javax.faces.context.FacesContext.renderResponse.

The default behavior of this method is to call FacesContext#renderResponse() on the wrapped FacesContext object.

public void
responseComplete()

Implements abstract javax.faces.context.FacesContext.responseComplete.

The default behavior of this method is to call FacesContext#responseComplete() on the wrapped FacesContext object.

public void
setCurrentPhaseId(PhaseId
The javax.faces.event.PhaseId for the current phase.
currentPhaseId
)

Overrides javax.faces.context.FacesContext.setCurrentPhaseId.

The default behavior of this method is to call FacesContext#setCurrentPhaseId(PhaseId) on the wrapped FacesContext object.

public void
setExceptionHandler(ExceptionHandler
the ExceptionHandler for this request.
exceptionHandler
)

Overrides javax.faces.context.FacesContext.setExceptionHandler.

The default behavior of this method is to call FacesContext#setExceptionHandler(ExceptionHandler) on the wrapped FacesContext object.

public void
setProcessingEvents(boolean
flag indicating events should be processed or not
processingEvents
)

Overrides javax.faces.context.FacesContext.setProcessingEvents.

The default behavior of this method is to call FacesContext#setProcessingEvents(boolean) on the wrapped FacesContext object.

public void
setResourceLibraryContracts(List<String>
The new contracts to be returned, as an immutable List. from a subsequent call to getResourceLibraryContracts.
contracts
)

Overrides javax.faces.context.FacesContext.setResourceLibraryContracts.

The default behavior of this method is to call FacesContext#setResourceLibraryContracts on the wrapped FacesContext object.

public void
setResponseStream(ResponseStream
The new ResponseStream for this response
responseStream
)

Implements abstract javax.faces.context.FacesContext.setResponseStream.

The default behavior of this method is to call FacesContext#setResponseStream(ResponseStream) on the wrapped FacesContext object.

public void
setResponseWriter(ResponseWriter
The new ResponseWriter for this response
responseWriter
)

Implements abstract javax.faces.context.FacesContext.setResponseWriter.

The default behavior of this method is to call FacesContext#setResponseWriter(ResponseWriter) on the wrapped FacesContext object.

public void
setViewRoot(UIViewRoot
The new component UIViewRoot component
root
)

Implements abstract javax.faces.context.FacesContext.setViewRoot.

The default behavior of this method is to call FacesContext#setViewRoot(UIViewRoot) on the wrapped FacesContext object.

public void
validationFailed()

Overrides javax.faces.context.FacesContext.validationFailed.

The default behavior of this method is to call javax.faces.context.FacesContext#validationFailed() on the wrapped FacesContext object.

Inherited from javax.faces.context.FacesContext:
getCurrentInstancesetCurrentInstance

Field Detail

wrappedback to summary
private FacesContext wrapped

Constructor Detail

FacesContextWrapperback to summary
public FacesContextWrapper()

Deprecated

Use the other constructor taking the implementation being wrapped.

Annotations
@Deprecated
FacesContextWrapperback to summary
public FacesContextWrapper(FacesContext wrapped)

If this faces context has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The getWrapped() will then return the implementation being wrapped.

Parameters
wrapped:FacesContext

The implementation being wrapped.

Since
2.3

Method Detail

addMessageback to summary
public void addMessage(String clientId, FacesMessage message)

Implements abstract javax.faces.context.FacesContext.addMessage.

The default behavior of this method is to call FacesContext#addMessage(String, FacesMessage) on the wrapped FacesContext object.

Parameters
clientId:String

Doc from javax.faces.context.FacesContext.addMessage.

The client identifier with which this message is associated (if any)

message:FacesMessage

Doc from javax.faces.context.FacesContext.addMessage.

The message to be appended

Annotations
@Override
See Also
javax.faces.context.FacesContext#addMessage(String, FacesMessage)
getApplicationback to summary
public Application getApplication()

Implements abstract javax.faces.context.FacesContext.getApplication.

The default behavior of this method is to call FacesContext#getApplication() on the wrapped FacesContext object.

Returns:Application

Doc from javax.faces.context.FacesContext.getApplication.

the Application instance associated with this web application.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getApplication()
getAttributesback to summary
public Map<Object, Object> getAttributes()

Overrides javax.faces.context.FacesContext.getAttributes.

The default behavior of this method is to call FacesContext#getAttributes() on the wrapped FacesContext object.

Returns:Map<Object, Object>

Doc from javax.faces.context.FacesContext.getAttributes.

mutable Map representing the attributes associated wth this FacesContext instance.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getAttributes()
getClientIdsWithMessagesback to summary
public Iterator<String> getClientIdsWithMessages()

Implements abstract javax.faces.context.FacesContext.getClientIdsWithMessages.

The default behavior of this method is to call javax.faces.context.FacesContext#getClientIdsWithMessages() on the wrapped FacesContext object.

Returns:Iterator<String>

Doc from javax.faces.context.FacesContext.getClientIdsWithMessages.

the Iterator over the client identifiers for which at least one javax.faces.application.FacesMessage has been queued.

Annotations
@Override
See Also
FacesContext#getClientIdsWithMessages()
getCurrentPhaseIdback to summary
public PhaseId getCurrentPhaseId()

Overrides javax.faces.context.FacesContext.getCurrentPhaseId.

The default behavior of this method is to call FacesContext#getCurrentPhaseId() on the wrapped FacesContext object.

Returns:PhaseId

Doc from javax.faces.context.FacesContext.getCurrentPhaseId.

the current phase id.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getCurrentPhaseId()
getELContextback to summary
public ELContext getELContext()

Overrides javax.faces.context.FacesContext.getELContext.

The default behavior of this method is to call FacesContext#getELContext() on the wrapped FacesContext object.

Returns:ELContext

Doc from javax.faces.context.FacesContext.getELContext.

instance of ELContext.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getELContext()
getExceptionHandlerback to summary
public ExceptionHandler getExceptionHandler()

Overrides javax.faces.context.FacesContext.getExceptionHandler.

The default behavior of this method is to call FacesContext#getExceptionHandler() on the wrapped FacesContext object.

Returns:ExceptionHandler

Doc from javax.faces.context.FacesContext.getExceptionHandler.

instance of ExceptionHandler.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getExceptionHandler()
getExternalContextback to summary
public ExternalContext getExternalContext()

Implements abstract javax.faces.context.FacesContext.getExternalContext.

The default behavior of this method is to call FacesContext#getExternalContext() on the wrapped FacesContext object.

Returns:ExternalContext

Doc from javax.faces.context.FacesContext.getExternalContext.

instance of ExternalContext

Annotations
@Override
See Also
javax.faces.context.FacesContext#getExternalContext()
getMaximumSeverityback to summary
public FacesMessage.Severity getMaximumSeverity()

Implements abstract javax.faces.context.FacesContext.getMaximumSeverity.

The default behavior of this method is to call FacesContext#getMaximumSeverity() on the wrapped FacesContext object.

Returns:FacesMessage.Severity

Doc from javax.faces.context.FacesContext.getMaximumSeverity.

the maximum severity level.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getMaximumSeverity()
getMessageListback to summary
public List<FacesMessage> getMessageList()

Overrides javax.faces.context.FacesContext.getMessageList.

The default behavior of this method is to call FacesContext#getMessageList() on the wrapped FacesContext object.

Returns:List<FacesMessage>

Doc from javax.faces.context.FacesContext.getMessageList.

an immutable List which is effectively a snapshot of the messages present at the time of invocation.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getMessageList()
getMessageListback to summary
public List<FacesMessage> getMessageList(String clientId)

Overrides javax.faces.context.FacesContext.getMessageList.

The default behavior of this method is to call FacesContext#getMessageList(String) on the wrapped FacesContext object.

Parameters
clientId:String

Doc from javax.faces.context.FacesContext.getMessageList.

the client id of a component.

Returns:List<FacesMessage>

Doc from javax.faces.context.FacesContext.getMessageList.

an immutable List which is effectively a snapshot of the messages present at the time of invocation.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getMessageList(String)
getMessagesback to summary
public Iterator<FacesMessage> getMessages()

Implements abstract javax.faces.context.FacesContext.getMessages.

The default behavior of this method is to call FacesContext#getMessages() on the wrapped FacesContext object.

Returns:Iterator<FacesMessage>

Doc from javax.faces.context.FacesContext.getMessages.

Iterator over the FacesMessages that have been queued.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getMessages()
getMessagesback to summary
public Iterator<FacesMessage> getMessages(String clientId)

Implements abstract javax.faces.context.FacesContext.getMessages.

The default behavior of this method is to call FacesContext#getMessages(String) on the wrapped FacesContext object.

Parameters
clientId:String

Doc from javax.faces.context.FacesContext.getMessages.

The client identifier for which messages are requested, or null for messages not associated with any client identifier

Returns:Iterator<FacesMessage>

Doc from javax.faces.context.FacesContext.getMessages.

Iterator over the FacesMessages.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getMessages(String)
getNamingContainerSeparatorCharback to summary
public char getNamingContainerSeparatorChar()

Overrides javax.faces.context.FacesContext.getNamingContainerSeparatorChar.

The default behavior of this method is to call FacesContext#getNamingContainerSeparatorChar() on the wrapped FacesContext object.

Returns:char

Doc from javax.faces.context.FacesContext.getNamingContainerSeparatorChar.

the separator char.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getNamingContainerSeparatorChar()
getPartialViewContextback to summary
public PartialViewContext getPartialViewContext()

Overrides javax.faces.context.FacesContext.getPartialViewContext.

The default behavior of this method is to call FacesContext#getPartialViewContext() ()} on the wrapped FacesContext object.

Returns:PartialViewContext

Doc from javax.faces.context.FacesContext.getPartialViewContext.

the instance of PartialViewContext for this request.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getPartialViewContext()
getRenderKitback to summary
public RenderKit getRenderKit()

Implements abstract javax.faces.context.FacesContext.getRenderKit.

The default behavior of this method is to call FacesContext#getRenderKit() on the wrapped FacesContext object.

Returns:RenderKit

Doc from javax.faces.context.FacesContext.getRenderKit.

instance of RenderKit associated with the UIViewRoot.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getRenderKit()
getRenderResponseback to summary
public boolean getRenderResponse()

Implements abstract javax.faces.context.FacesContext.getRenderResponse.

The default behavior of this method is to call FacesContext#getRenderResponse() on the wrapped FacesContext object.

Returns:boolean

Doc from javax.faces.context.FacesContext.getRenderResponse.

flag indicating whether the renderResponse() has been called.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getRenderResponse()
getResourceLibraryContractsback to summary
public List<String> getResourceLibraryContracts()

Overrides javax.faces.context.FacesContext.getResourceLibraryContracts.

The default behavior of this method is to call FacesContext#getResourceLibraryContracts on the wrapped FacesContext object.

Returns:List<String>

Doc from javax.faces.context.FacesContext.getResourceLibraryContracts.

the list of resource library contracts.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getResourceLibraryContracts
getResponseCompleteback to summary
public boolean getResponseComplete()

Implements abstract javax.faces.context.FacesContext.getResponseComplete.

The default behavior of this method is to call FacesContext#getResponseComplete() on the wrapped FacesContext object.

Returns:boolean

Doc from javax.faces.context.FacesContext.getResponseComplete.

the boolean indicating whether responseComplete() method has been called.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getResponseComplete()
getResponseStreamback to summary
public ResponseStream getResponseStream()

Implements abstract javax.faces.context.FacesContext.getResponseStream.

The default behavior of this method is to call FacesContext#getResponseStream() on the wrapped FacesContext object.

Returns:ResponseStream

Doc from javax.faces.context.FacesContext.getResponseStream.

ResponseStream instance.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getResponseStream()
getResponseWriterback to summary
public ResponseWriter getResponseWriter()

Implements abstract javax.faces.context.FacesContext.getResponseWriter.

The default behavior of this method is to call FacesContext#getResponseWriter() on the wrapped FacesContext object.

Returns:ResponseWriter

Doc from javax.faces.context.FacesContext.getResponseWriter.

ResponseWriter instance.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getResponseWriter()
getViewRootback to summary
public UIViewRoot getViewRoot()

Implements abstract javax.faces.context.FacesContext.getViewRoot.

The default behavior of this method is to call FacesContext#getViewRoot() on the wrapped FacesContext object.

Returns:UIViewRoot

Doc from javax.faces.context.FacesContext.getViewRoot.

UIViewRoot instance.

Annotations
@Override
See Also
javax.faces.context.FacesContext#getViewRoot()
getWrappedback to summary
public FacesContext getWrapped()

Implements javax.faces.FacesWrapper.getWrapped.

Doc from javax.faces.FacesWrapper.getWrapped.

A class that implements this interface uses this method to return an instance of the class being wrapped.

Returns:FacesContext

the wrapped instance.

Annotations
@Override
isPostbackback to summary
public boolean isPostback()

Overrides javax.faces.context.FacesContext.isPostback.

The default behavior of this method is to call FacesContext#isPostback() on the wrapped FacesContext object.

Returns:boolean

Doc from javax.faces.context.FacesContext.isPostback.

the boolean indicating whether this request is a post one.

Annotations
@Override
See Also
javax.faces.context.FacesContext#isPostback()
isProcessingEventsback to summary
public boolean isProcessingEvents()

Overrides javax.faces.context.FacesContext.isProcessingEvents.

The default behavior of this method is to call javax.faces.context.FacesContext#isProcessingEvents() on the wrapped FacesContext object.

Returns:boolean

Doc from javax.faces.context.FacesContext.isProcessingEvents.

true if events should be published, otherwise false

Annotations
@Override
See Also
FacesContext#isProcessingEvents()
isProjectStageback to summary
public boolean isProjectStage(ProjectStage stage)

Overrides javax.faces.context.FacesContext.isProjectStage.

The default behavior of this method is to call javax.faces.context.FacesContext#isProjectStage(javax.faces.application.ProjectStage) on the wrapped FacesContext object.

Parameters
stage:ProjectStage

Doc from javax.faces.context.FacesContext.isProjectStage.

the ProjectStage to check

Returns:boolean

Doc from javax.faces.context.FacesContext.isProjectStage.

boolean indicating whether the application has the same stage.

Annotations
@Override
See Also
FacesContext#isProjectStage(javax.faces.application.ProjectStage)
isReleasedback to summary
public boolean isReleased()

Overrides javax.faces.context.FacesContext.isReleased.

The default behavior of this method is to call FacesContext#isReleased on the wrapped FacesContext object.

Returns:boolean

Doc from javax.faces.context.FacesContext.isReleased.

true if the resources have been released.

Annotations
@Override
Since
2.1
See Also
javax.faces.context.FacesContext#isReleased
isValidationFailedback to summary
public boolean isValidationFailed()

Overrides javax.faces.context.FacesContext.isValidationFailed.

The default behavior of this method is to call javax.faces.context.FacesContext#isValidationFailed on the wrapped FacesContext object.

Returns:boolean

Doc from javax.faces.context.FacesContext.isValidationFailed.

boolean indicating if the validationFailed() method has been called for the current request

Annotations
@Override
See Also
FacesContext#isValidationFailed
releaseback to summary
public void release()

Implements abstract javax.faces.context.FacesContext.release.

The default behavior of this method is to call FacesContext#release() on the wrapped FacesContext object.

Annotations
@Override
See Also
javax.faces.context.FacesContext#release()
renderResponseback to summary
public void renderResponse()

Implements abstract javax.faces.context.FacesContext.renderResponse.

The default behavior of this method is to call FacesContext#renderResponse() on the wrapped FacesContext object.

Annotations
@Override
See Also
javax.faces.context.FacesContext#renderResponse()
responseCompleteback to summary
public void responseComplete()

Implements abstract javax.faces.context.FacesContext.responseComplete.

The default behavior of this method is to call FacesContext#responseComplete() on the wrapped FacesContext object.

Annotations
@Override
See Also
javax.faces.context.FacesContext#responseComplete()
setCurrentPhaseIdback to summary
public void setCurrentPhaseId(PhaseId currentPhaseId)

Overrides javax.faces.context.FacesContext.setCurrentPhaseId.

The default behavior of this method is to call FacesContext#setCurrentPhaseId(PhaseId) on the wrapped FacesContext object.

Parameters
currentPhaseId:PhaseId

Doc from javax.faces.context.FacesContext.setCurrentPhaseId.

The javax.faces.event.PhaseId for the current phase.

Annotations
@Override
See Also
javax.faces.context.FacesContext#setCurrentPhaseId(PhaseId)
setExceptionHandlerback to summary
public void setExceptionHandler(ExceptionHandler exceptionHandler)

Overrides javax.faces.context.FacesContext.setExceptionHandler.

The default behavior of this method is to call FacesContext#setExceptionHandler(ExceptionHandler) on the wrapped FacesContext object.

Parameters
exceptionHandler:ExceptionHandler

Doc from javax.faces.context.FacesContext.setExceptionHandler.

the ExceptionHandler for this request.

Annotations
@Override
See Also
javax.faces.context.FacesContext#setExceptionHandler(ExceptionHandler)
setProcessingEventsback to summary
public void setProcessingEvents(boolean processingEvents)

Overrides javax.faces.context.FacesContext.setProcessingEvents.

The default behavior of this method is to call FacesContext#setProcessingEvents(boolean) on the wrapped FacesContext object.

Parameters
processingEvents:boolean

Doc from javax.faces.context.FacesContext.setProcessingEvents.

flag indicating events should be processed or not

Annotations
@Override
See Also
javax.faces.context.FacesContext#setProcessingEvents(boolean)
setResourceLibraryContractsback to summary
public void setResourceLibraryContracts(List<String> contracts)

Overrides javax.faces.context.FacesContext.setResourceLibraryContracts.

The default behavior of this method is to call FacesContext#setResourceLibraryContracts on the wrapped FacesContext object.

Parameters
contracts:List<String>

Doc from javax.faces.context.FacesContext.setResourceLibraryContracts.

The new contracts to be returned, as an immutable List. from a subsequent call to getResourceLibraryContracts.

Annotations
@Override
See Also
javax.faces.context.FacesContext#setResourceLibraryContracts
setResponseStreamback to summary
public void setResponseStream(ResponseStream responseStream)

Implements abstract javax.faces.context.FacesContext.setResponseStream.

The default behavior of this method is to call FacesContext#setResponseStream(ResponseStream) on the wrapped FacesContext object.

Parameters
responseStream:ResponseStream

Doc from javax.faces.context.FacesContext.setResponseStream.

The new ResponseStream for this response

Annotations
@Override
See Also
javax.faces.context.FacesContext#setResponseStream(ResponseStream)
setResponseWriterback to summary
public void setResponseWriter(ResponseWriter responseWriter)

Implements abstract javax.faces.context.FacesContext.setResponseWriter.

The default behavior of this method is to call FacesContext#setResponseWriter(ResponseWriter) on the wrapped FacesContext object.

Parameters
responseWriter:ResponseWriter

Doc from javax.faces.context.FacesContext.setResponseWriter.

The new ResponseWriter for this response

Annotations
@Override
See Also
javax.faces.context.FacesContext#setResponseWriter(ResponseWriter)
setViewRootback to summary
public void setViewRoot(UIViewRoot root)

Implements abstract javax.faces.context.FacesContext.setViewRoot.

The default behavior of this method is to call FacesContext#setViewRoot(UIViewRoot) on the wrapped FacesContext object.

Parameters
root:UIViewRoot

Doc from javax.faces.context.FacesContext.setViewRoot.

The new component UIViewRoot component

Annotations
@Override
See Also
javax.faces.context.FacesContext#setViewRoot(UIViewRoot)
validationFailedback to summary
public void validationFailed()

Overrides javax.faces.context.FacesContext.validationFailed.

The default behavior of this method is to call javax.faces.context.FacesContext#validationFailed() on the wrapped FacesContext object.

Annotations
@Override
See Also
FacesContext#validationFailed()