Package javax.faces.context
package javax.faces.context
Classes and interfaces
defining per-request state information. The main class in this package
is FacesContext
, which is the access point
for all per-request information, as well as the gateway to several other
helper classes.
-
ClassDescriptionExceptionHandler is the central point for handling unexpected
Exception
s that are thrown during the Faces lifecycle.ExceptionHandlerFactory is a factory object that creates (if needed) and returns a newExceptionHandler
instance.Provides a simple implementation ofExceptionHandler
that can be subclassed by developers wishing to provide specialized behavior to an existingExceptionHandler
instance.This class allows the Faces API to be unaware of the nature of its containing application environment.ExternalContextFactory is a factory object that creates (if needed) and returns newExternalContext
instances, initialized for the processing of the specified request and response objects.Provides a simple implementation ofExternalContext
that can be subclassed by developers wishing to provide specialized behavior to an existingExternalContext
instance.FacesContext contains all of the per-request state information related to the processing of a single JavaServer Faces request, and the rendering of the corresponding response.FacesContextFactory is a factory object that creates (if needed) and returns newFacesContext
instances, initialized for the processing of the specified request and response objects.Provides a simple implementation ofFacesContext
that can be subclassed by developers wishing to provide specialized behavior to an existingFacesContext
instance.The Flash concept is taken from Ruby on Rails and provides a way to pass temporary objects between the user views generated by the faces lifecycle.FlashFactory is a factory object that creates (if needed) and returnsFlash
instances.PartialResponseWriter decorates an existingResponseWriter
to support the generation of a partial response suitable for Ajax operations.PartialViewContext contains methods and properties that pertain to partial request processing and partial response rendering on a view.PartialViewContextFactory is a factory object that creates (if needed) and returns newPartialViewContext
instances.Provides a simple implementation ofPartialViewContext
that can be subclassed by developers wishing to provide specialized behavior to an existingPartialViewContext
instance.ResponseStream is an interface describing an adapter to an underlying output mechanism for binary output.ResponseWriter is an abstract class describing an adapter to an underlying output mechanism for character-based output.Provides a simple implementation ofResponseWriter
that can be subclassed by developers wishing to provide specialized behavior to an existingResponseWriter
instance.