## Uses of Class
javax.faces.context.FacesContext

- Packages that use FacesContext
  Package | Description
  --- | ---
  javax.faces.application | APIs that are used to link an application's business logic objects to JavaServer Faces, as well as convenient pluggable mechanisms to manage the execution of an application that is based on JavaServer Faces.
  javax.faces.component | Fundamental APIs for user interface components.
  javax.faces.component.behavior | APIs for attaching additional behavior to user interface components.
  javax.faces.component.visit | APIs for traversing a user interface component view.
  javax.faces.context | Classes and interfaces defining per-request state information.
  javax.faces.convert | Contains classes and interfaces defining converters.
  javax.faces.el | DEPRECATED Classes and interfaces for evaluating and processing reference expressions.
  javax.faces.event | Interfaces describing events and event listeners, and concrete event implementation classes.
  javax.faces.flow | The runtime API for Faces Flows.
  javax.faces.lifecycle | Classes and interfaces defining lifecycle management for the JavaServer Faces implementation.
  javax.faces.render | Classes and interfaces defining the rendering model.
  javax.faces.validator | Interface defining the validator model, and concrete validator implementation classes.
  javax.faces.view | Classes for defining a View Declaration Language (VDL) for authoring JavaServer Faces user interfaces.
  javax.faces.view.facelets | This package contains public classes for the Java code API of Facelets.
  javax.faces.webapp | Classes required for integration of JavaServer Faces into web applications, including a standard servlet, base classes for JSP custom component tags, and concrete tag implementations for core tags.

- - ### Uses of FacesContext in javax.faces.application

    Methods in javax.faces.application with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `String` | ViewHandlerWrapper.`calculateCharacterEncoding(FacesContext context)` The default behavior of this method is to call `ViewHandler.calculateCharacterEncoding(javax.faces.context.FacesContext)` on the wrapped `ViewHandler` object.
    `String` | ViewHandler.`calculateCharacterEncoding(FacesContext context)` Returns the correct character encoding to be used for this request.
    `Locale` | ViewHandlerWrapper.`calculateLocale(FacesContext context)` The default behavior of this method is to call `ViewHandler.calculateLocale(javax.faces.context.FacesContext)` on the wrapped `ViewHandler` object.
    `abstract Locale` | ViewHandler.`calculateLocale(FacesContext context)` Returns an appropriate `Locale` to use for this and subsequent requests for the current client.
    `String` | ViewHandlerWrapper.`calculateRenderKitId(FacesContext context)` The default behavior of this method is to call `ViewHandler.calculateRenderKitId(javax.faces.context.FacesContext)` on the wrapped `ViewHandler` object.
    `abstract String` | ViewHandler.`calculateRenderKitId(FacesContext context)` Return an appropriate `renderKitId` for this and subsequent requests from the current client.
    `UIComponent` | ApplicationWrapper.`createComponent(FacesContext context, Resource componentResource)` The default behavior of this method is to call `Application.createComponent(javax.faces.context.FacesContext, Resource)` on the wrapped `Application` object.
    `UIComponent` | Application.`createComponent(FacesContext context, Resource componentResource)` Instantiate and return a new `UIComponent` instance from the argument `Resource`.
    `UIComponent` | ApplicationWrapper.`createComponent(FacesContext context, String componentType, String rendererType)` The default behavior of this method is to call `Application.createComponent(javax.faces.context.FacesContext, String, String)` on the wrapped `Application` object.
    `UIComponent` | Application.`createComponent(FacesContext context, String componentType, String rendererType)` Like `Application.createComponent(String)` except the `Renderer` for the component to be returned must be inspected for the annotations mentioned in `Application.createComponent(ValueExpression, FacesContext, String)` as specified in the documentation for that method.
    `UIComponent` | ApplicationWrapper.`createComponent(ValueBinding componentBinding, FacesContext context, String componentType)` Deprecated. See superclass for alternative.
    `abstract UIComponent` | Application.`createComponent(ValueBinding componentBinding, FacesContext context, String componentType)` Deprecated. This has been replaced by `Application.createComponent(javax.el.ValueExpression,javax.faces.context.FacesContext,java.lang.String)`.
    `UIComponent` | ApplicationWrapper.`createComponent(ValueExpression componentExpression, FacesContext context, String componentType)` The default behavior of this method is to call `Application.createComponent(javax.el.ValueExpression, javax.faces.context.FacesContext, String)` on the wrapped `Application` object.
    `UIComponent` | Application.`createComponent(ValueExpression componentExpression, FacesContext context, String componentType)` Call the `getValue()` method on the specified `ValueExpression`.
    `UIComponent` | ApplicationWrapper.`createComponent(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)` The default behavior of this method is to call `Application.createComponent(javax.el.ValueExpression, javax.faces.context.FacesContext, String, String)` on the wrapped `Application` object.
    `UIComponent` | Application.`createComponent(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)` Like `Application.createComponent(ValueExpression, FacesContext, String)` except the `Renderer` for the component to be returned must be inspected for the annotations mentioned in `Application.createComponent(ValueExpression, FacesContext, String)` as specified in the documentation for that method.
    `UIViewRoot` | ViewHandlerWrapper.`createView(FacesContext context, String viewId)` The default behavior of this method is to call `ViewHandler.createView(javax.faces.context.FacesContext, String)` on the wrapped `ViewHandler` object.
    `abstract UIViewRoot` | ViewHandler.`createView(FacesContext context, String viewId)` Create and return a new `UIViewRoot` instance initialized with information from the argument `FacesContext` and `viewId`.
    `ViewResource` | ResourceHandlerWrapper.`createViewResource(FacesContext context, String resourceName)` The default behavior of this method is to call `ResourceHandler.createViewResource(javax.faces.context.FacesContext, java.lang.String)` on the wrapped `ResourceHandler` object.
    `ViewResource` | ResourceHandler.`createViewResource(FacesContext context, String resourceName)` Create an instance of `Resource` given the argument `resourceName`, which may contain "/" characters.
    `String` | ViewHandlerWrapper.`deriveLogicalViewId(FacesContext context, String input)` The default behavior of this method is to call `ViewHandler.deriveLogicalViewId(javax.faces.context.FacesContext, String)` on the wrapped `ViewHandler` object.
    `String` | ViewHandler.`deriveLogicalViewId(FacesContext context, String rawViewId)` Derive and return the viewId from the current request, or the argument input by following the algorithm defined in specification section JSF.7.6.2.
    `String` | ViewHandlerWrapper.`deriveViewId(FacesContext context, String input)` The default behavior of this method is to call `ViewHandler.deriveViewId(javax.faces.context.FacesContext, String)` on the wrapped `ViewHandler` object.
    `String` | ViewHandler.`deriveViewId(FacesContext context, String rawViewId)` Derive and return the viewId from the current request, or the argument input by following the algorithm defined in specification section JSF.7.6.2.
    `<T> T` | ApplicationWrapper.`evaluateExpressionGet(FacesContext context, String expression, Class<? extends T> expectedType)` Deprecated. See superclass for alternative.
    `<T> T` | Application.`evaluateExpressionGet(FacesContext context, String expression, Class<? extends T> expectedType)` Get a value by evaluating an expression.
    `URL` | NavigationCaseWrapper.`getActionURL(FacesContext context)`
    `URL` | NavigationCase.`getActionURL(FacesContext context)` Construct an absolute URL to this `NavigationCase` instance using `ViewHandler.getActionURL(javax.faces.context.FacesContext, java.lang.String)` on the path portion of the url.
    `String` | ViewHandlerWrapper.`getActionURL(FacesContext context, String viewId)` The default behavior of this method is to call `ViewHandler.getActionURL(javax.faces.context.FacesContext, String)` on the wrapped `ViewHandler` object.
    `abstract String` | ViewHandler.`getActionURL(FacesContext context, String viewId)` If the value returned from this method is used as the `file` argument to the four-argument constructor for `java.net.URL` (assuming appropriate values are used for the first three arguments), then a client making a request to the `toExternalForm()` of that `URL` will select the argument `viewId` for traversing the JSF lifecycle.
    `URL` | NavigationCaseWrapper.`getBookmarkableURL(FacesContext context)`
    `URL` | NavigationCase.`getBookmarkableURL(FacesContext context)` Construct an absolute URL suitable for a bookmarkable link to this `NavigationCase` instance using `ViewHandler.getBookmarkableURL(javax.faces.context.FacesContext, java.lang.String, java.util.Map<java.lang.String, java.util.List<java.lang.String>>, boolean)` on the path portion of the url.
    `String` | ViewHandlerWrapper.`getBookmarkableURL(FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)` The default behavior of this method is to call `ViewHandler.getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)` on the wrapped `ViewHandler` object.
    `String` | ViewHandler.`getBookmarkableURL(FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)` Return a JSF action URL derived from the viewId argument that is suitable to be used as the target of a link in a JSF response.
    `protected Object` | StateManagerWrapper.`getComponentStateToSave(FacesContext context)` The default behavior of this method is to call `StateManager.getComponentStateToSave(javax.faces.context.FacesContext)` on the wrapped `StateManager` object.
    `protected Object` | StateManager.`getComponentStateToSave(FacesContext context)` Deprecated. the distinction between tree structure and component state is now an implementation detail. The default implementation returns `null`.
    `Boolean` | NavigationCaseWrapper.`getCondition(FacesContext context)`
    `Boolean` | NavigationCase.`getCondition(FacesContext context)` Evaluates the `<if>` for this `<navigation-case>`, if any.
    `NavigationCase` | ConfigurableNavigationHandlerWrapper.`getNavigationCase(FacesContext context, String fromAction, String outcome)`
    `abstract NavigationCase` | ConfigurableNavigationHandler.`getNavigationCase(FacesContext context, String fromAction, String outcome)` Return the `NavigationCase` representing the navigation that would be taken had `NavigationHandler.handleNavigation(javax.faces.context.FacesContext, java.lang.String, java.lang.String)` been called with the same arguments or `null` if there is no such case.
    `NavigationCase` | ConfigurableNavigationHandlerWrapper.`getNavigationCase(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)`
    `NavigationCase` | ConfigurableNavigationHandler.`getNavigationCase(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)` Return the `NavigationCase` representing the navigation that would be taken had `NavigationHandler.handleNavigation(javax.faces.context.FacesContext, java.lang.String, java.lang.String)` been called with the same arguments or `null` if there is no such case.
    `URL` | NavigationCaseWrapper.`getRedirectURL(FacesContext context)`
    `URL` | NavigationCase.`getRedirectURL(FacesContext context)` Construct an absolute URL suitable for a "redirect" to this `NavigationCase` instance using `ViewHandler.getRedirectURL(javax.faces.context.FacesContext, java.lang.String, java.util.Map<java.lang.String, java.util.List<java.lang.String>>, boolean)` on the path portion of the url.
    `String` | ViewHandlerWrapper.`getRedirectURL(FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)` The default behavior of this method is to call `ViewHandler.getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)` on the wrapped `ViewHandler` object.
    `String` | ViewHandler.`getRedirectURL(FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams)` Return a JSF action URL derived from the `viewId` argument that is suitable to be used by the `NavigationHandler` to issue a redirect request to the URL using a NonFaces request.
    `ResourceBundle` | ApplicationWrapper.`getResourceBundle(FacesContext ctx, String name)` The default behavior of this method is to call `Application.getResourceBundle(javax.faces.context.FacesContext, String)` on the wrapped `Application` object.
    `ResourceBundle` | Application.`getResourceBundle(FacesContext ctx, String name)` Find a `ResourceBundle` as defined in the application configuration resources under the specified name.
    `URL` | NavigationCaseWrapper.`getResourceURL(FacesContext context)`
    `URL` | NavigationCase.`getResourceURL(FacesContext context)` Construct an absolute URL to this `NavigationCase` instance using `ViewHandler.getResourceURL(javax.faces.context.FacesContext, java.lang.String)` on the path portion of the url.
    `String` | ViewHandlerWrapper.`getResourceURL(FacesContext context, String path)` The default behavior of this method is to call `ViewHandler.getResourceURL(javax.faces.context.FacesContext, String)` on the wrapped `ViewHandler` object.
    `abstract String` | ViewHandler.`getResourceURL(FacesContext context, String path)` If the value returned from this method is used as the `file` argument to the four-argument constructor for `java.net.URL` (assuming appropriate values are used for the first three arguments), then a client making a request to the `toExternalForm()` of that `URL` will select the argument `path` for direct rendering.
    `String` | NavigationCaseWrapper.`getToViewId(FacesContext context)`
    `String` | NavigationCase.`getToViewId(FacesContext context)` Evaluates the `<to-view-id>` for this `<navigation-case>`
    `protected Object` | StateManagerWrapper.`getTreeStructureToSave(FacesContext context)` The default behavior of this method is to call `StateManager.getTreeStructureToSave(javax.faces.context.FacesContext)` on the wrapped `StateManager` object.
    `protected Object` | StateManager.`getTreeStructureToSave(FacesContext context)` Deprecated. the distinction between tree structure and component state is now an implementation detail. The default implementation returns `null`.
    `ViewDeclarationLanguage` | ViewHandlerWrapper.`getViewDeclarationLanguage(FacesContext context, String viewId)` The default behavior of this method is to call `ViewHandler.getViewDeclarationLanguage(javax.faces.context.FacesContext, java.lang.String)` on the wrapped `ViewHandler` object.
    `ViewDeclarationLanguage` | ViewHandler.`getViewDeclarationLanguage(FacesContext context, String viewId)` Return the `ViewDeclarationLanguage` instance used for this `ViewHandler` instance.
    `String` | StateManagerWrapper.`getViewState(FacesContext context)` The default behavior of this method is to call `StateManager.getViewState(javax.faces.context.FacesContext)` on the wrapped `StateManager` object.
    `String` | StateManager.`getViewState(FacesContext context)` Convenience method to return the view state as a `String` with no `RenderKit` specific markup.
    `void` | NavigationHandlerWrapper.`handleNavigation(FacesContext context, String fromAction, String outcome)`
    `abstract void` | NavigationHandler.`handleNavigation(FacesContext context, String fromAction, String outcome)` Perform navigation processing based on the state information in the specified `FacesContext`, plus the outcome string returned by an executed application action.
    `void` | ConfigurableNavigationHandlerWrapper.`handleNavigation(FacesContext context, String fromAction, String outcome)`
    `void` | NavigationHandlerWrapper.`handleNavigation(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)`
    `void` | NavigationHandler.`handleNavigation(FacesContext context, String fromAction, String outcome, String toFlowDocumentId)` Overloaded variant of `NavigationHandler.handleNavigation(javax.faces.context.FacesContext, java.lang.String, java.lang.String)` that allows the caller to provide the defining document id for a flow to be entered by this navigation.
    `void` | ResourceHandlerWrapper.`handleResourceRequest(FacesContext context)` The default behavior of this method is to call `ResourceHandler.handleResourceRequest(javax.faces.context.FacesContext)` on the wrapped `ResourceHandler` object.
    `abstract void` | ResourceHandler.`handleResourceRequest(FacesContext context)` This method specifies the contract for satisfying resource requests.
    `void` | ViewHandlerWrapper.`initView(FacesContext context)` The default behavior of this method is to call `ViewHandler.initView(javax.faces.context.FacesContext)` on the wrapped `ViewHandler` object.
    `void` | ViewHandler.`initView(FacesContext context)` Initialize the view for the request processing lifecycle.
    `void` | ConfigurableNavigationHandlerWrapper.`inspectFlow(FacesContext context, Flow flow)`
    `void` | ConfigurableNavigationHandler.`inspectFlow(FacesContext context, Flow flow)` Called by the flow system to cause the flow to be inspected for navigation rules.
    `boolean` | ResourceHandlerWrapper.`isResourceRequest(FacesContext context)` The default behavior of this method is to call `ResourceHandler.isResourceRequest(javax.faces.context.FacesContext)` on the wrapped `ResourceHandler` object.
    `abstract boolean` | ResourceHandler.`isResourceRequest(FacesContext context)` Return `true` if the current request is a resource request.
    `boolean` | StateManagerWrapper.`isSavingStateInClient(FacesContext context)` The default behavior of this method is to call `StateManager.isSavingStateInClient(javax.faces.context.FacesContext)` on the wrapped `StateManager` object.
    `boolean` | StateManager.`isSavingStateInClient(FacesContext context)`
    `void` | ApplicationWrapper.`publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source)` The default behavior of this method is to call `Application.publishEvent(javax.faces.context.FacesContext, Class, Class, Object)` on the wrapped `Application` object.
    `void` | Application.`publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source)` This method functions exactly like `Application.publishEvent(FacesContext,Class,Object)`, except the run-time must use the argument `sourceBaseType` to find the matching listener instead of using the `Class` of the `source` argument.
    `void` | ApplicationWrapper.`publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Object source)` The default behavior of this method is to call `Application.publishEvent(javax.faces.context.FacesContext, Class, Object)` on the wrapped `Application` object.
    `void` | Application.`publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Object source)` If `isProcessingEvents()` is `true` and there are one or more listeners for events of the type represented by `systemEventClass`, call those listeners, passing `source` as the source of the event.
    `void` | ViewHandlerWrapper.`renderView(FacesContext context, UIViewRoot viewToRender)` The default behavior of this method is to call `ViewHandler.renderView(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot)` on the wrapped `ViewHandler` object.
    `abstract void` | ViewHandler.`renderView(FacesContext context, UIViewRoot viewToRender)` Perform whatever actions are required to render the response view to the response object associated with the current `FacesContext`.
    `protected void` | StateManagerWrapper.`restoreComponentState(FacesContext context, UIViewRoot viewRoot, String renderKitId)` The default behavior of this method is to call `StateManager.restoreComponentState(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot, String)` on the wrapped `StateManager` object.
    `protected void` | StateManager.`restoreComponentState(FacesContext context, UIViewRoot viewRoot, String renderKitId)` Deprecated. the distinction between tree structure and component state is now an implementation detail. The default implementation does nothing.
    `protected UIViewRoot` | StateManagerWrapper.`restoreTreeStructure(FacesContext context, String viewId, String renderKitId)` The default behavior of this method is to call `StateManager.restoreTreeStructure(javax.faces.context.FacesContext, String, String)` on the wrapped `StateManager` object.
    `protected UIViewRoot` | StateManager.`restoreTreeStructure(FacesContext context, String viewId, String renderKitId)` Deprecated. the distinction between tree structure and component state is now an implementation detail. The default implementation returns `null`.
    `UIViewRoot` | ViewHandlerWrapper.`restoreView(FacesContext context, String viewId)` The default behavior of this method is to call `ViewHandler.restoreView(javax.faces.context.FacesContext, String)` on the wrapped `ViewHandler` object.
    `abstract UIViewRoot` | ViewHandler.`restoreView(FacesContext context, String viewId)` Perform whatever actions are required to restore the view associated with the specified `FacesContext` and `viewId`.
    `UIViewRoot` | StateManagerWrapper.`restoreView(FacesContext context, String viewId, String renderKitId)` The default behavior of this method is to call `StateManager.restoreView(javax.faces.context.FacesContext, String, String)` on the wrapped `StateManager` object.
    `abstract UIViewRoot` | StateManager.`restoreView(FacesContext context, String viewId, String renderKitId)` Deprecated.
    `StateManager.SerializedView` | StateManagerWrapper.`saveSerializedView(FacesContext context)` The default behavior of this method is to call `StateManager.saveSerializedView(javax.faces.context.FacesContext)` on the wrapped `StateManager` object.
    `StateManager.SerializedView` | StateManager.`saveSerializedView(FacesContext context)` Deprecated. this has been replaced by `StateManager.saveView(javax.faces.context.FacesContext)`. The default implementation calls `saveView` and inspects the return. If the return is an `Object []`, it casts the result to an `Object []` wrapping the first and second elements in an instance of `StateManager.SerializedView`, which it then returns. Otherwise, it returns `null`
    `Object` | StateManagerWrapper.`saveView(FacesContext context)` The default behavior of this method is to call `StateManager.saveView(javax.faces.context.FacesContext)` on the wrapped `StateManager` object.
    `Object` | StateManager.`saveView(FacesContext context)` Deprecated.
    `boolean` | ResourceWrapper.`userAgentNeedsUpdate(FacesContext context)` The default behavior of this method is to call `Resource.userAgentNeedsUpdate(javax.faces.context.FacesContext)` on the wrapped `ResourceHandler` object.
    `abstract boolean` | Resource.`userAgentNeedsUpdate(FacesContext context)` Return `true` if the user-agent requesting this resource needs an update.
    `void` | ViewHandlerWrapper.`writeState(FacesContext context)` The default behavior of this method is to call `ViewHandler.writeState(javax.faces.context.FacesContext)` on the wrapped `ViewHandler` object.
    `abstract void` | ViewHandler.`writeState(FacesContext context)` Take any appropriate action to either immediately write out the current state information (by calling `StateManager.writeState(javax.faces.context.FacesContext, java.lang.Object)`, or noting where state information should later be written.
    `void` | StateManagerWrapper.`writeState(FacesContext context, Object state)` The default behavior of this method is to call `StateManager.writeState(javax.faces.context.FacesContext, java.lang.Object)` on the wrapped `StateManager` object.
    `void` | StateManager.`writeState(FacesContext context, Object state)` Save the state represented in the specified state `Object` instance, in an implementation dependent manner.
    `void` | StateManagerWrapper.`writeState(FacesContext context, StateManager.SerializedView state)` The default behavior of this method is to call `StateManager.writeState(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)` on the wrapped `StateManager` object.
    `void` | StateManager.`writeState(FacesContext context, StateManager.SerializedView state)` Deprecated. This method has been replaced by `StateManager.writeState(javax.faces.context.FacesContext,java.lang.Object)`. The default implementation calls the non-deprecated variant of the method passing an `Object []` as the second argument, where the first element of the array is the return from `getStructure()` and the second is the return from `getState()` on the argument `state`.

  - ### Uses of FacesContext in javax.faces.component

    Methods in javax.faces.component that return FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `protected FacesContext` | UIComponentBase.`getFacesContext()`
    `protected abstract FacesContext` | UIComponent.`getFacesContext()` Convenience method to return the `FacesContext` instance for the current request.

    Methods in javax.faces.component with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | UIViewRoot.`addComponentResource(FacesContext context, UIComponent componentResource)` Add argument `component`, which is assumed to represent a resource instance, as a resource to this view.
    `void` | UIViewRoot.`addComponentResource(FacesContext context, UIComponent componentResource, String target)` Add argument `component`, which is assumed to represent a resource instance, as a resource to this view.
    `void` | UIViewRoot.`broadcastEvents(FacesContext context, PhaseId phaseId)` Broadcast any events that have been queued.
    `String` | UniqueIdVendor.`createUniqueId(FacesContext context, String seed)` Generate an identifier for a component.
    `String` | UIViewRoot.`createUniqueId(FacesContext context, String seed)` Generate an identifier for a component.
    `String` | UINamingContainer.`createUniqueId(FacesContext context, String seed)`
    `String` | UIForm.`createUniqueId(FacesContext context, String seed)` Generate an identifier for a component.
    `String` | UIData.`createUniqueId(FacesContext context, String seed)`
    `void` | UIViewParameter.`decode(FacesContext context)` Override behavior from superclass to pull a value from the incoming request parameter map under the name given by `UIViewParameter.getName()` and store it with a call to `UIInput.setSubmittedValue(java.lang.Object)`.
    `void` | UIViewAction.`decode(FacesContext context)` Override behavior from the superclass to queue an `ActionEvent` that may result in the invocation of the `action` or any `actionListener`s that may be associated with this instance.
    `void` | UIInput.`decode(FacesContext context)`
    `void` | UIComponentBase.`decode(FacesContext context)`
    `abstract void` | UIComponent.`decode(FacesContext context)` Decode any new state of this `UIComponent` from the request contained in the specified `FacesContext`, and store this state as needed.
    `void` | UIViewParameter.`encodeAll(FacesContext context)` Called specially by `UIViewRoot.encodeEnd(javax.faces.context.FacesContext)`, this method simply sets the submitted value to be the return from `UIViewParameter.getStringValue(javax.faces.context.FacesContext)`.
    `void` | UIComponent.`encodeAll(FacesContext context)` If this component returns `true` from `UIComponent.isRendered()`, take the following action.
    `void` | UIViewRoot.`encodeBegin(FacesContext context)` Override the default `UIComponentBase.encodeBegin(javax.faces.context.FacesContext)` behavior.
    `void` | UIData.`encodeBegin(FacesContext context)` In addition to the default behavior, ensure that any saved per-row state for our child input components is discarded unless it is needed to rerender the current page with errors.
    `void` | UIComponentBase.`encodeBegin(FacesContext context)`
    `abstract void` | UIComponent.`encodeBegin(FacesContext context)` If our `rendered` property is `true`, render the beginning of the current state of this `UIComponent` to the response contained in the specified `FacesContext`.
    `void` | UIViewRoot.`encodeChildren(FacesContext context)` If `PartialViewContext.isAjaxRequest()` returns `true`, perform partial rendering by calling `PartialViewContext.processPartial(javax.faces.event.PhaseId)` with `PhaseId.RENDER_RESPONSE`.
    `void` | UIComponentBase.`encodeChildren(FacesContext context)`
    `abstract void` | UIComponent.`encodeChildren(FacesContext context)` If our `rendered` property is `true`, render the child `UIComponent`s of this `UIComponent`.
    `void` | UIViewRoot.`encodeEnd(FacesContext context)` If `UIViewRoot.getAfterPhaseListener()` returns non-`null`, invoke it, passing a `PhaseEvent` for the `PhaseId.RENDER_RESPONSE` phase.
    `void` | UIComponentBase.`encodeEnd(FacesContext context)`
    `abstract void` | UIComponent.`encodeEnd(FacesContext context)` If our `rendered` property is `true`, render the ending of the current state of this `UIComponent`.
    `String` | UIData.`getClientId(FacesContext context)` Return a client identifier for this component that includes the current value of the `rowIndex` property, if it is not set to -1.
    `String` | UIComponentBase.`getClientId(FacesContext context)`
    `abstract String` | UIComponent.`getClientId(FacesContext context)` Return a client-side identifier for this component, generating one if necessary.
    `List<UIComponent>` | UIViewRoot.`getComponentResources(FacesContext context, String target)` Return an unmodifiable `List` of `UIComponent`s for the provided `target` agrument.
    `String` | UIForm.`getContainerClientId(FacesContext context)` Override the `UIComponent.getContainerClientId(javax.faces.context.FacesContext)` to allow users to disable this form from prepending its `clientId` to its descendent's `clientIds` depending on the value of this form's `UIForm.isPrependId()` property.
    `String` | UIComponent.`getContainerClientId(FacesContext context)` Allow components that implement `NamingContainer` to selectively disable prepending their clientId to their descendent's clientIds by breaking the prepending logic into a seperately callable method.
    `protected Object` | UIViewParameter.`getConvertedValue(FacesContext context, Object submittedValue)` Because this class has no `Renderer`, leverage the one from the standard HTML_BASIC `RenderKit` with `component-family: javax.faces.Input` and `renderer-type: javax.faces.Text` and call its `Renderer.getConvertedValue(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)` method.
    `protected Object` | UIInput.`getConvertedValue(FacesContext context, Object newSubmittedValue)` Convert the submitted value into a "local value" of the appropriate data type, if necessary.
    `static UIComponent` | UIComponent.`getCurrentComponent(FacesContext context)` Return the `UIComponent` instance that is currently processing.
    `static UIComponent` | UIComponent.`getCurrentCompositeComponent(FacesContext context)` Return the closest ancestor component, relative to the component returned from `UIComponent.getCurrentComponent(javax.faces.context.FacesContext)`, that is a composite component, or `null` if no such component exists.
    `protected Renderer` | UIComponentBase.`getRenderer(FacesContext context)`
    `protected abstract Renderer` | UIComponent.`getRenderer(FacesContext context)` Convenience method to return the `Renderer` instance associated with this component, if any; otherwise, return `null`.
    `static char` | UINamingContainer.`getSeparatorChar(FacesContext context)` Return the character used to separate segments of a clientId.
    `String` | UIViewParameter.`getStringValue(FacesContext context)` If the value of this parameter comes from a `ValueExpression` return the value of the expression, otherwise, return the local value.
    `String` | UIViewParameter.`getStringValueFromModel(FacesContext context)` Manually perform standard conversion steps to get a string value from the value expression.
    `UIViewParameter` | UIViewParameter.Reference.`getUIViewParameter(FacesContext context)` Return the `UIViewParameter` to which this instance refers.
    `void` | ContextCallback.`invokeContextCallback(FacesContext context, UIComponent target)` This method will be called by an implementation of `UIComponent.invokeOnComponent(javax.faces.context.FacesContext, java.lang.String, javax.faces.component.ContextCallback)` and must be passed the component with the `clientId` given as an argument to `invokeOnComponent`.
    `boolean` | UIData.`invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)` Override behavior from `UIComponentBase.invokeOnComponent(javax.faces.context.FacesContext, java.lang.String, javax.faces.component.ContextCallback)` to provide special care for positioning the data properly before finding the component and invoking the callback on it.
    `boolean` | UIComponentBase.`invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)` Starting at this component in the View hierarchy, search for a component with a `clientId` equal to the argument `clientId` and, if found, call the `ContextCallback.invokeContextCallback(javax.faces.context.FacesContext, javax.faces.component.UIComponent)` method on the argument `callback`, passing the current `FacesContext` and the found component as arguments.
    `boolean` | UIComponent.`invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)` Starting at this component in the View hierarchy, search for a component with a `clientId` equal to the argument `clientId` and, if found, call the `ContextCallback.invokeContextCallback(javax.faces.context.FacesContext, javax.faces.component.UIComponent)` method on the argument `callback`, passing the current `FacesContext` and the found component as arguments.
    `static boolean` | UIViewAction.`isProcessingBroadcast(FacesContext context)` Returns `true` if the current request processing lifecycle is in the midst of processing the broadcast of an event queued during a call to `UIViewAction.decode(javax.faces.context.FacesContext)`.
    `void` | UIComponent.`popComponentFromEL(FacesContext context)` Pop the current `UIComponent` from the `FacesContext` attributes map so that the previous `UIComponent`, if any, becomes the current component.
    `void` | UIViewRoot.`processApplication(FacesContext context)` Broadcast any events that have been queued for the Invoke Application phase of the request processing lifecycle and to clear out any events for later phases if the event processing for this phase caused `renderResponse()` or `responseComplete()` to be called.
    `void` | UIViewRoot.`processDecodes(FacesContext context)`
    `void` | UIInput.`processDecodes(FacesContext context)` Specialized decode behavior on top of that provided by the superclass.
    `void` | UIForm.`processDecodes(FacesContext context)` Override `UIComponent.processDecodes(javax.faces.context.FacesContext)` to ensure that the form is decoded before its children.
    `void` | UIData.`processDecodes(FacesContext context)` Override the default `UIComponentBase.processDecodes(javax.faces.context.FacesContext)` processing to perform the following steps.
    `void` | UIComponentBase.`processDecodes(FacesContext context)`
    `abstract void` | UIComponent.`processDecodes(FacesContext context)` Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
    `void` | UIViewRoot.`processRestoreState(FacesContext context, Object state)` The default implementation must call `UIComponentBase.processRestoreState(javax.faces.context.FacesContext, java.lang.Object)` from within a `try` block.
    `void` | UIComponentBase.`processRestoreState(FacesContext context, Object state)`
    `abstract void` | UIComponent.`processRestoreState(FacesContext context, Object state)` Perform the component tree processing required by the Restore View phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
    `Object` | UIComponentBase.`processSaveState(FacesContext context)`
    `abstract Object` | UIComponent.`processSaveState(FacesContext context)` Perform the component tree processing required by the state saving portion of the Render Response phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
    `void` | UIViewRoot.`processUpdates(FacesContext context)`
    `void` | UIInput.`processUpdates(FacesContext context)` In addition to the standard `processUpdates` behavior inherited from `UIComponentBase`, calls `updateModel()`.
    `void` | UIForm.`processUpdates(FacesContext context)` Override `UIComponent.processUpdates(javax.faces.context.FacesContext)` to ensure that the children of this `UIForm` instance are only processed if `UIForm.isSubmitted()` returns `true`.
    `void` | UIData.`processUpdates(FacesContext context)` Override the default `UIComponentBase.processUpdates(javax.faces.context.FacesContext)` processing to perform the following steps.
    `void` | UIComponentBase.`processUpdates(FacesContext context)`
    `abstract void` | UIComponent.`processUpdates(FacesContext context)` Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
    `void` | UIViewRoot.`processValidators(FacesContext context)`
    `void` | UIViewParameter.`processValidators(FacesContext context)` Specialize superclass behavior to treat `null` differently.
    `void` | UIInput.`processValidators(FacesContext context)` In addition to the standard `processValidators` behavior inherited from `UIComponentBase`, calls `validate()` if the `immediate` property is false (which is the default); if the component is invalid afterwards, calls `renderResponse()`.
    `void` | UIForm.`processValidators(FacesContext context)` Override `UIComponent.processValidators(javax.faces.context.FacesContext)` to ensure that the children of this `UIForm` instance are only processed if `UIForm.isSubmitted()` returns `true`.
    `void` | UIData.`processValidators(FacesContext context)` Override the default `UIComponentBase.processValidators(javax.faces.context.FacesContext)` processing to perform the following steps.
    `void` | UIComponentBase.`processValidators(FacesContext context)`
    `abstract void` | UIComponent.`processValidators(FacesContext context)` Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
    `void` | UIComponent.`pushComponentToEL(FacesContext context, UIComponent component)` Push the current `UIComponent` `this` to the `FacesContext` attribute map using the key `UIComponent.CURRENT_COMPONENT` saving the previous `UIComponent` associated with `UIComponent.CURRENT_COMPONENT` for a subsequent call to `UIComponent.popComponentFromEL(javax.faces.context.FacesContext)`.
    `void` | UIViewRoot.`removeComponentResource(FacesContext context, UIComponent componentResource)` Remove argument `component`, which is assumed to represent a resource instance, as a resource to this view.
    `void` | UIViewRoot.`removeComponentResource(FacesContext context, UIComponent componentResource, String target)` Remove argument `component`, which is assumed to represent a resource instance, as a resource to this view.
    `void` | UIViewRoot.`resetValues(FacesContext context, Collection<String> clientIds)` Visit the clientIds and, if the component is an instance of `EditableValueHolder`, call its `EditableValueHolder.resetValue()` method.
    `static Object` | UIComponentBase.`restoreAttachedState(FacesContext context, Object stateObj)` This method is called by `UIComponent` subclasses that need to restore the objects they saved using `UIComponentBase.saveAttachedState(javax.faces.context.FacesContext, java.lang.Object)`.
    `void` | UIViewRoot.`restoreState(FacesContext context, Object state)`
    `void` | UIOutput.`restoreState(FacesContext context, Object state)`
    `void` | UIInput.`restoreState(FacesContext context, Object state)`
    `void` | UIData.`restoreState(FacesContext context, Object state)`
    `void` | UIComponentBase.`restoreState(FacesContext context, Object state)`
    `void` | StateHolder.`restoreState(FacesContext context, Object state)` Perform any processing required to restore the state from the entries in the state Object.
    `void` | UIComponent.`restoreTransientState(FacesContext context, Object state)` For components that need to support the concept of transient state, this method will restore any state saved on a prior call to `UIComponent.saveTransientState(javax.faces.context.FacesContext)`.
    `void` | TransientStateHolder.`restoreTransientState(FacesContext context, Object state)` Restore the "transient state" using the object passed as state.
    `void` | UIViewRoot.`restoreViewScopeState(FacesContext context, Object state)` Restore ViewScope state.
    `static Object` | UIComponentBase.`saveAttachedState(FacesContext context, Object attachedObject)` This method is called by `UIComponent` subclasses that want to save one or more attached objects.
    `Object` | UIViewRoot.`saveState(FacesContext context)`
    `Object` | UIOutput.`saveState(FacesContext context)`
    `Object` | UIInput.`saveState(FacesContext context)`
    `Object` | UIData.`saveState(FacesContext context)`
    `Object` | UIComponentBase.`saveState(FacesContext context)`
    `Object` | StateHolder.`saveState(FacesContext context)` Gets the state of the instance as a `Serializable` Object.
    `Object` | UIComponent.`saveTransientState(FacesContext context)` For components that need to support the concept of transient state, this method will save any state that is known to be transient in nature.
    `Object` | TransientStateHolder.`saveTransientState(FacesContext context)` Return the object containing related "transient states".
    `void` | UIViewParameter.`updateModel(FacesContext context)` Call through to superclass `UIInput.updateModel(javax.faces.context.FacesContext)` then take the additional action of pushing the value into request scope if and only if the value is not a value expression, is valid, and the local value was set on this lifecycle execution.
    `void` | UIInput.`updateModel(FacesContext context)` Perform the following algorithm to update the model data associated with this `UIInput`, if any, as appropriate.
    `void` | UIInput.`validate(FacesContext context)` Perform the following algorithm to validate the local value of this `UIInput`.
    `protected void` | UISelectOne.`validateValue(FacesContext context, Object value)` In addition to the standard validation behavior inherited from `UIInput`, ensure that any specified value is equal to one of the available options.
    `protected void` | UISelectMany.`validateValue(FacesContext context, Object value)` In addition to the standard validation behavior inherited from `UIInput`, ensure that any specified values are equal to one of the available options.
    `protected void` | UIInput.`validateValue(FacesContext context, Object newValue)` Set the "valid" property according to the below algorithm.

    Constructors in javax.faces.component with parameters of type FacesContext
    Constructor and Description
    `UIViewParameter.Reference(FacesContext context, UIViewParameter param, int indexInParent, String viewIdAtTimeOfConstruction)` Construct a reference to a `UIViewParameter`.

  - ### Uses of FacesContext in javax.faces.component.behavior

    Methods in javax.faces.component.behavior that return FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `abstract FacesContext` | ClientBehaviorContext.`getFacesContext()` Returns the `FacesContext` for the current request.

    Methods in javax.faces.component.behavior with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `static ClientBehaviorContext` | ClientBehaviorContext.`createClientBehaviorContext(FacesContext context, UIComponent component, String eventName, String sourceId, Collection<ClientBehaviorContext.Parameter> parameters)` Creates a ClientBehaviorContext instance.
    `void` | ClientBehaviorBase.`decode(FacesContext context, UIComponent component)` Default implementation of of `ClientBehavior.decode(javax.faces.context.FacesContext, javax.faces.component.UIComponent)`.
    `void` | ClientBehavior.`decode(FacesContext context, UIComponent component)` Decode any new state of this `ClientBehavior` from the request contained in the specified `FacesContext`.
    `protected ClientBehaviorRenderer` | ClientBehaviorBase.`getRenderer(FacesContext context)` Convenience method to return the `ClientBehaviorRenderer` instance associated with this `ClientBehavior`, if any; otherwise, return `null`.
    `void` | BehaviorBase.`restoreState(FacesContext context, Object state)` Implementation of `StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)`.
    `void` | AjaxBehavior.`restoreState(FacesContext context, Object state)`
    `Object` | BehaviorBase.`saveState(FacesContext context)` Implementation of `StateHolder.saveState(javax.faces.context.FacesContext)`.
    `Object` | AjaxBehavior.`saveState(FacesContext context)`

  - ### Uses of FacesContext in javax.faces.component.visit

    Methods in javax.faces.component.visit that return FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `FacesContext` | VisitContextWrapper.`getFacesContext()`
    `abstract FacesContext` | VisitContext.`getFacesContext()` Returns the FacesContext for the current request.

    Methods in javax.faces.component.visit with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `static VisitContext` | VisitContext.`createVisitContext(FacesContext context)` Creates a VisitContext instance for use with `UIComponent.visitTree()`.
    `static VisitContext` | VisitContext.`createVisitContext(FacesContext context, Collection<String> ids, Set<VisitHint> hints)` Returns a VisitContext instance that is initialized with the specified ids and hintsfor use with `UIComponent.visitTree(javax.faces.component.visit.VisitContext, javax.faces.component.visit.VisitCallback)`.
    `abstract VisitContext` | VisitContextFactory.`getVisitContext(FacesContext context, Collection<String> ids, Set<VisitHint> hints)` Return a new `VisitContext` instance.

  - ### Uses of FacesContext in javax.faces.context

    Subclasses of FacesContext in javax.faces.context
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FacesContextWrapper` Provides a simple implementation of `FacesContext` that can be subclassed by developers wishing to provide specialized behavior to an existing `FacesContext` instance.

    Methods in javax.faces.context that return FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `static FacesContext` | FacesContext.`getCurrentInstance()` Return the `FacesContext` instance for the request that is being processed by the current thread.
    `abstract FacesContext` | FacesContextFactory.`getFacesContext(Object context, Object request, Object response, Lifecycle lifecycle)` Create (if needed) and return a `FacesContext` instance that is initialized for the processing of the specified request and response objects, utilizing the specified `Lifecycle` instance, for this web application.
    `abstract FacesContext` | FacesContextWrapper.`getWrapped()`

    Methods in javax.faces.context with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | FlashWrapper.`doPostPhaseActions(FacesContext ctx)` The default behavior of this method is to call `Flash.doPostPhaseActions(FacesContext)` on the wrapped `Flash` object.
    `abstract void` | Flash.`doPostPhaseActions(FacesContext ctx)` Called after the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle.
    `void` | FlashWrapper.`doPrePhaseActions(FacesContext ctx)` The default behavior of this method is to call `Flash.doPrePhaseActions(FacesContext)` on the wrapped `Flash` object.
    `abstract void` | Flash.`doPrePhaseActions(FacesContext ctx)` Called before the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle.
    `abstract PartialViewContext` | PartialViewContextFactory.`getPartialViewContext(FacesContext context)` Create (if needed) and return a `PartialViewContext` instance that is initialized using the current `FacesContext` instance.
    `protected static void` | FacesContext.`setCurrentInstance(FacesContext context)` Set the `FacesContext` instance for the request that is being processed by the current thread.

  - ### Uses of FacesContext in javax.faces.convert

    Methods in javax.faces.convert with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `Object` | ShortConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | NumberConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | LongConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | IntegerConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | FloatConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | EnumConverter.`getAsObject(FacesContext context, UIComponent component, String value)` Convert the `value` argument to one of the enum constants of the class provided in our constructor.
    `Object` | DoubleConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | DateTimeConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | Converter.`getAsObject(FacesContext context, UIComponent component, String value)` Convert the specified string value, which is associated with the specified `UIComponent`, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
    `Object` | CharacterConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | ByteConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | BooleanConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | BigIntegerConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | BigDecimalConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `String` | ShortConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | NumberConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | LongConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | IntegerConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | FloatConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | EnumConverter.`getAsString(FacesContext context, UIComponent component, Object value)` Convert the enum constant given by the `value` argument into a String.
    `String` | DoubleConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | DateTimeConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | Converter.`getAsString(FacesContext context, UIComponent component, Object value)` Convert the specified model object value, which is associated with the specified `UIComponent`, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
    `String` | CharacterConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | ByteConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | BooleanConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | BigIntegerConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | BigDecimalConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `void` | NumberConverter.`restoreState(FacesContext context, Object state)`
    `void` | EnumConverter.`restoreState(FacesContext facesContext, Object object)`
    `void` | DateTimeConverter.`restoreState(FacesContext context, Object state)`
    `Object` | NumberConverter.`saveState(FacesContext context)`
    `Object` | EnumConverter.`saveState(FacesContext facesContext)`
    `Object` | DateTimeConverter.`saveState(FacesContext context)`

  - ### Uses of FacesContext in javax.faces.el

    Methods in javax.faces.el with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `abstract Class` | ValueBinding.`getType(FacesContext context)` Deprecated. Return the type of the property represented by this `ValueBinding`, relative to the specified `FacesContext`.
    `abstract Class` | MethodBinding.`getType(FacesContext context)` Deprecated. Return the Java class representing the return type from the method identified by this method binding expression.
    `abstract Object` | ValueBinding.`getValue(FacesContext context)` Deprecated. Return the value of the property represented by this `ValueBinding`, relative to the specified `FacesContext`.
    `abstract Object` | MethodBinding.`invoke(FacesContext context, Object[] params)` Deprecated. Return the return value (if any) resulting from a call to the method identified by this method binding expression, passing it the specified parameters, relative to the specified `FacesContext`.
    `abstract boolean` | ValueBinding.`isReadOnly(FacesContext context)` Deprecated. Return `true` if the specified property of the specified property is known to be immutable; otherwise, return `false`.
    `abstract Object` | VariableResolver.`resolveVariable(FacesContext context, String name)` Deprecated. Resolve the specified variable name, and return the corresponding object, if any; otherwise, return `null`.
    `abstract void` | ValueBinding.`setValue(FacesContext context, Object value)` Deprecated. Set the value of the property represented by this `ValueBinding`, relative to the specified `FacesContext`.

  - ### Uses of FacesContext in javax.faces.event

    Methods in javax.faces.event that return FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `FacesContext` | ExceptionQueuedEventContext.`getContext()`
    `FacesContext` | PhaseEvent.`getFacesContext()` Return the `FacesContext` for the request being processed.

    Methods in javax.faces.event with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | MethodExpressionValueChangeListener.`restoreState(FacesContext context, Object state)` Both `MethodExpression` instances described in the constructor must be restored.
    `void` | MethodExpressionActionListener.`restoreState(FacesContext context, Object state)` Both `MethodExpression` instances described in the constructor must be restored.
    `Object` | MethodExpressionValueChangeListener.`saveState(FacesContext context)` Both `MethodExpression` instances described in the constructor must be saved.
    `Object` | MethodExpressionActionListener.`saveState(FacesContext context)` Both `MethodExpression` instances described in the constructor must be saved.

    Constructors in javax.faces.event with parameters of type FacesContext
    Constructor and Description
    `ExceptionQueuedEventContext(FacesContext context, Throwable thrown)` Instantiate a new `ExceptionQueuedEventContext` that indicates the argument `Throwable` just occurred.
    `ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component)` Instantiate a new `ExceptionQueuedEventContext` that indicates the argument `Throwable` just occurred, relevant to the argument `component`.
    `ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component, PhaseId phaseId)` Instantiate a new `ExceptionQueuedEventContext` that indicates the argument `Throwable` just occurred, relevant to the argument `component`, during the lifecycle phase `phaseId`.
    `PhaseEvent(FacesContext context, PhaseId phaseId, Lifecycle lifecycle)` Construct a new event object from the specified parameters.

  - ### Uses of FacesContext in javax.faces.flow

    Methods in javax.faces.flow with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | FlowHandler.`addFlow(FacesContext context, Flow toAdd)` Add the argument `Flow` to the collection of `Flow`s known to the current application.
    `abstract void` | FlowHandler.`clientWindowTransition(FacesContext context)` Allow for flow transitions in the case of components rendered by the renderers from component-family `javax.faces.OutcomeTarget`.
    `FlowHandler` | FlowHandlerFactoryWrapper.`createFlowHandler(FacesContext context)`
    `abstract FlowHandler` | FlowHandlerFactory.`createFlowHandler(FacesContext context)` Create the singleton instance of `FlowHandler`.
    `abstract String` | FlowCallNode.`getCalledFlowDocumentId(FacesContext context)`
    `abstract String` | FlowCallNode.`getCalledFlowId(FacesContext context)`
    `abstract Boolean` | SwitchCase.`getCondition(FacesContext context)` Return `true` if this case should be taken, `false` otherwise.
    `abstract Flow` | FlowHandler.`getCurrentFlow(FacesContext context)` Return the currently active `Flow` for the argument `FacesContext`, or `null` if no flow is active.
    `abstract String` | SwitchNode.`getDefaultOutcome(FacesContext context)` Return the default outcome in this switch.
    `abstract Flow` | FlowHandler.`getFlow(FacesContext context, String definingDocumentId, String id)` Return the `Flow` whose `id` is equivalent to the argument `id`, within the scope of the argument `definingDocument`.
    `abstract String` | ReturnNode.`getFromOutcome(FacesContext context)` Return the `fromOutcome` to be used when control passes to this return node.
    `abstract String` | FlowHandler.`getLastDisplayedViewId(FacesContext context)` Return the last displayed viewId for the current flow, as returned by `FlowHandler.getCurrentFlow(javax.faces.context.FacesContext)`, or `null` if there is no current flow.
    `abstract boolean` | FlowHandler.`isActive(FacesContext context, String definingDocument, String id)` Return `true` if and only if the flow referenced by the argument `definingDocument` and `id` is currently active.
    `abstract void` | FlowHandler.`popReturnMode(FacesContext context)` Enable the correct handling of navigation when processing a return node.
    `abstract void` | FlowHandler.`pushReturnMode(FacesContext context)` Enable the correct handling of navigation when processing a return node.
    `abstract void` | FlowHandler.`transition(FacesContext context, Flow sourceFlow, Flow targetFlow, FlowCallNode outboundCallNode, String toViewId)` Perform a transition in the flow graph for the current user's `ClientWindow`.

  - ### Uses of FacesContext in javax.faces.lifecycle

    Methods in javax.faces.lifecycle with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | LifecycleWrapper.`attachWindow(FacesContext context)`
    `void` | Lifecycle.`attachWindow(FacesContext context)` Create or restore the `ClientWindow` to be used to display the `UIViewRoot` for this run through the lifecycle.
    `void` | ClientWindowWrapper.`decode(FacesContext context)`
    `abstract void` | ClientWindow.`decode(FacesContext context)` The implementation is responsible for examining the incoming request and extracting the value that must be returned from the `ClientWindow.getId()` method.
    `void` | ClientWindowWrapper.`disableClientWindowRenderMode(FacesContext context)`
    `void` | ClientWindow.`disableClientWindowRenderMode(FacesContext context)` Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first before rendering those URLs.
    `void` | ClientWindowWrapper.`enableClientWindowRenderMode(FacesContext context)`
    `void` | ClientWindow.`enableClientWindowRenderMode(FacesContext context)` Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first after rendering those URLs.
    `void` | LifecycleWrapper.`execute(FacesContext context)`
    `abstract void` | Lifecycle.`execute(FacesContext context)` Execute all of the phases of the request processing lifecycle, up to but not including the Render Response phase, as described in the JavaServer Faces Specification, in the specified order.
    `abstract ClientWindow` | ClientWindowFactory.`getClientWindow(FacesContext context)` The implementation is responsible for creating the `ClientWindow` instance for this request.
    `Map<String,String>` | ClientWindowWrapper.`getQueryURLParameters(FacesContext context)`
    `abstract Map<String,String>` | ClientWindow.`getQueryURLParameters(FacesContext context)` This method will be called whenever a URL is generated by the runtime where client window related parameters need to be inserted into the URL.
    `boolean` | ClientWindowWrapper.`isClientWindowRenderModeEnabled(FacesContext context)`
    `boolean` | ClientWindow.`isClientWindowRenderModeEnabled(FacesContext context)` Methods that append the ClientWindow to generated URLs must call this method to see if they are permitted to do so.
    `void` | LifecycleWrapper.`render(FacesContext context)`
    `abstract void` | Lifecycle.`render(FacesContext context)` Execute the Render Response phase of the request processing lifecycle, unless the `responseComplete()` method has been called on the `FacesContext` instance associated with the current request.

  - ### Uses of FacesContext in javax.faces.render

    Methods in javax.faces.render with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `String` | RendererWrapper.`convertClientId(FacesContext context, String clientId)`
    `String` | Renderer.`convertClientId(FacesContext context, String clientId)` Convert the component generated client id to a form suitable for transmission to the client.
    `void` | RendererWrapper.`decode(FacesContext context, UIComponent component)`
    `void` | Renderer.`decode(FacesContext context, UIComponent component)` Decode any new state of the specified `UIComponent` from the request contained in the specified `FacesContext`, and store that state on the `UIComponent`.
    `void` | ClientBehaviorRenderer.`decode(FacesContext context, UIComponent component, ClientBehavior behavior)` Decode any new state of this `ClientBehavior` from the request contained in the specified `FacesContext`.
    `void` | RendererWrapper.`encodeBegin(FacesContext context, UIComponent component)`
    `void` | Renderer.`encodeBegin(FacesContext context, UIComponent component)` Render the beginning specified `UIComponent` to the output stream or writer associated with the response we are creating.
    `void` | RendererWrapper.`encodeChildren(FacesContext context, UIComponent component)`
    `void` | Renderer.`encodeChildren(FacesContext context, UIComponent component)` Render the child components of this `UIComponent`, following the rules described for `encodeBegin()` to acquire the appropriate value to be rendered.
    `void` | RendererWrapper.`encodeEnd(FacesContext context, UIComponent component)`
    `void` | Renderer.`encodeEnd(FacesContext context, UIComponent component)` Render the ending of the current state of the specified `UIComponent`, following the rules described for `encodeBegin()` to acquire the appropriate value to be rendered.
    `Object` | ResponseStateManager.`getComponentStateToRestore(FacesContext context)` Deprecated. This method has been replaced by `ResponseStateManager.getState(javax.faces.context.FacesContext, java.lang.String)`. The default implementation returns `null`.
    `Object` | RendererWrapper.`getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)`
    `Object` | Renderer.`getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)` Attempt to convert previously stored state information into an object of the type required for this component (optionally using the registered `Converter` for this component, if there is one).
    `String` | ResponseStateManager.`getCryptographicallyStrongTokenFromSession(FacesContext context)` Compliant implementations must return a cryptographically strong token for use to protect views in this application.
    `abstract RenderKit` | RenderKitFactory.`getRenderKit(FacesContext context, String renderKitId)` Return a `RenderKit` instance for the specified render kit identifier, possibly customized based on dynamic characteristics of the specified `FacesContext`, if non-`null`.
    `Object` | ResponseStateManager.`getState(FacesContext context, String viewId)` The implementation must inspect the current request and return an Object representing the tree structure and component state passed in to a previous invocation of `ResponseStateManager.writeState(javax.faces.context.FacesContext,java.lang.Object)`.
    `Object` | ResponseStateManager.`getTreeStructureToRestore(FacesContext context, String viewId)` Deprecated. This method has been replaced by `ResponseStateManager.getState(javax.faces.context.FacesContext, java.lang.String)`. The default implementation returns `null`.
    `String` | ResponseStateManager.`getViewState(FacesContext context, Object state)` Return the specified state as a `String` without any markup related to the rendering technology supported by this ResponseStateManager.
    `boolean` | ResponseStateManager.`isPostback(FacesContext context)` Return true if the current request is a postback.
    `boolean` | ResponseStateManager.`isStateless(FacesContext context, String viewId)` If the preceding call to `ResponseStateManager.writeState(javax.faces.context.FacesContext, java.lang.Object)` was stateless, return `true`.
    `void` | ResponseStateManager.`writeState(FacesContext context, Object state)` Take the argument `state` and write it into the output using the current `ResponseWriter`, which must be correctly positioned already.
    `void` | ResponseStateManager.`writeState(FacesContext context, StateManager.SerializedView state)` Deprecated. This method has been replaced by `ResponseStateManager.writeState(javax.faces.context.FacesContext,java.lang.Object)`. The default implementation creates a two element `Object` array with the first element being the return from calling `StateManager.SerializedView.getStructure()`, and the second being the return from `StateManager.SerializedView.getState()`. It then passes this `Object` array to `ResponseStateManager.writeState(javax.faces.context.FacesContext, java.lang.Object)`.

  - ### Uses of FacesContext in javax.faces.validator

    Methods in javax.faces.validator with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | RegexValidator.`restoreState(FacesContext context, Object state)`
    `void` | MethodExpressionValidator.`restoreState(FacesContext context, Object state)`
    `void` | LongRangeValidator.`restoreState(FacesContext context, Object state)`
    `void` | LengthValidator.`restoreState(FacesContext context, Object state)`
    `void` | DoubleRangeValidator.`restoreState(FacesContext context, Object state)`
    `void` | BeanValidator.`restoreState(FacesContext context, Object state)`
    `Object` | RegexValidator.`saveState(FacesContext context)`
    `Object` | MethodExpressionValidator.`saveState(FacesContext context)`
    `Object` | LongRangeValidator.`saveState(FacesContext context)`
    `Object` | LengthValidator.`saveState(FacesContext context)`
    `Object` | DoubleRangeValidator.`saveState(FacesContext context)`
    `Object` | BeanValidator.`saveState(FacesContext context)`
    `void` | Validator.`validate(FacesContext context, UIComponent component, Object value)` Perform the correctness checks implemented by this `Validator` against the specified `UIComponent`.
    `void` | RequiredValidator.`validate(FacesContext context, UIComponent component, Object value)` Verify that the converted object value is not null.
    `void` | RegexValidator.`validate(FacesContext context, UIComponent component, Object value)` Validate a String against a regular expression pattern.
    `void` | MethodExpressionValidator.`validate(FacesContext context, UIComponent component, Object value)`
    `void` | LongRangeValidator.`validate(FacesContext context, UIComponent component, Object value)`
    `void` | LengthValidator.`validate(FacesContext context, UIComponent component, Object value)`
    `void` | DoubleRangeValidator.`validate(FacesContext context, UIComponent component, Object value)`
    `void` | BeanValidator.`validate(FacesContext context, UIComponent component, Object value)` Verify that the value is valid according to the Bean Validation constraints.

  - ### Uses of FacesContext in javax.faces.view

    Methods in javax.faces.view with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | AttachedObjectHandler.`applyAttachedObject(FacesContext context, UIComponent parent)` Take the argument `parent` and apply this attached object to it.
    `void` | ViewDeclarationLanguageWrapper.`buildView(FacesContext context, UIViewRoot root)`
    `abstract void` | ViewDeclarationLanguage.`buildView(FacesContext context, UIViewRoot root)` Take any actions specific to this VDL implementation to cause the argument `UIViewRoot` which must have been created via a call to `ViewDeclarationLanguage.createView(javax.faces.context.FacesContext, java.lang.String)`, to be populated with children.
    `List<String>` | ViewDeclarationLanguageWrapper.`calculateResourceLibraryContracts(FacesContext context, String viewId)`
    `List<String>` | ViewDeclarationLanguage.`calculateResourceLibraryContracts(FacesContext context, String viewId)` Return the list of resource library contracts that will be made available for use in the view specified by the argument `viewId`.
    `UIComponent` | ViewDeclarationLanguageWrapper.`createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)`
    `UIComponent` | ViewDeclarationLanguage.`createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)` Create a component given a `ViewDeclarationLanguage` specific tag library URI and tag name.
    `abstract UIViewRoot` | ViewMetadata.`createMetadataView(FacesContext context)` Creates a new `UIViewRoot` containing only view parameter metadata.
    `UIViewRoot` | ViewDeclarationLanguageWrapper.`createView(FacesContext context, String viewId)`
    `abstract UIViewRoot` | ViewDeclarationLanguage.`createView(FacesContext context, String viewId)` Create a `UIViewRoot` from the VDL contained in the artifact referenced by the argument `viewId`.
    `BeanInfo` | ViewDeclarationLanguageWrapper.`getComponentMetadata(FacesContext context, Resource componentResource)`
    `abstract BeanInfo` | ViewDeclarationLanguage.`getComponentMetadata(FacesContext context, Resource componentResource)` Return a reference to the component metadata for the composite component represented by the argument `componentResource`, or `null` if the metadata cannot be found.
    `Resource` | ViewDeclarationLanguageWrapper.`getScriptComponentResource(FacesContext context, Resource componentResource)`
    `abstract Resource` | ViewDeclarationLanguage.`getScriptComponentResource(FacesContext context, Resource componentResource)` Take implementation specific action to discover a `Resource` given the argument `componentResource`.
    `StateManagementStrategy` | ViewDeclarationLanguageWrapper.`getStateManagementStrategy(FacesContext context, String viewId)`
    `abstract StateManagementStrategy` | ViewDeclarationLanguage.`getStateManagementStrategy(FacesContext context, String viewId)` For implementations that want to control the implementation of state saving and restoring, the `StateManagementStrategy` allows them to do so.
    `ViewMetadata` | ViewDeclarationLanguageWrapper.`getViewMetadata(FacesContext context, String viewId)`
    `abstract ViewMetadata` | ViewDeclarationLanguage.`getViewMetadata(FacesContext context, String viewId)` Return a reference to the view metadata for the view represented by the argument `viewId`, or `null` if the metadata cannot be found.
    `void` | ViewDeclarationLanguageWrapper.`renderView(FacesContext context, UIViewRoot view)`
    `abstract void` | ViewDeclarationLanguage.`renderView(FacesContext context, UIViewRoot view)` Render a view rooted at argument`view`.
    `UIViewRoot` | ViewDeclarationLanguageWrapper.`restoreView(FacesContext context, String viewId)`
    `abstract UIViewRoot` | ViewDeclarationLanguage.`restoreView(FacesContext context, String viewId)` Restore a `UIViewRoot` from a previously created view.
    `abstract UIViewRoot` | StateManagementStrategy.`restoreView(FacesContext context, String viewId, String renderKitId)` Restore the state of the view with information in the request.
    `void` | ViewDeclarationLanguageWrapper.`retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)`
    `void` | ViewDeclarationLanguage.`retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)` Assuming the component metadata for argument `topLevelComponent` has been made available by an earlier call to `ViewDeclarationLanguage.getComponentMetadata(javax.faces.context.FacesContext, javax.faces.application.Resource)`, leverage the component metadata for the purpose of re-targeting attached objects from the top level composite component to the individual `AttachedObjectTarget` instances inside the composite component.
    `void` | ViewDeclarationLanguageWrapper.`retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)`
    `void` | ViewDeclarationLanguage.`retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)` Assuming the component metadata for argument `topLevelComponent` has been made available by an earlier call to `ViewDeclarationLanguage.getComponentMetadata(javax.faces.context.FacesContext, javax.faces.application.Resource)`, leverage the component metadata for the purpose of re-targeting any method expressions from the top level component to the appropriate inner component.
    `abstract Object` | StateManagementStrategy.`saveView(FacesContext context)` Return the state of the current view in an `Object` that implements `Serializable` and can be passed to `java.io.ObjectOutputStream.writeObject()` without causing a `java.io.NotSerializableException` to be thrown. The default implementation must perform the following algorithm or its semantic equivalent, explicitly performing all the steps listed here.
    `boolean` | ViewDeclarationLanguageWrapper.`viewExists(FacesContext context, String viewId)`
    `boolean` | ViewDeclarationLanguage.`viewExists(FacesContext context, String viewId)` Tests whether a physical resource corresponding to the specified viewId exists.

  - ### Uses of FacesContext in javax.faces.view.facelets

    Methods in javax.faces.view.facelets that return FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `abstract FacesContext` | FaceletContext.`getFacesContext()` The current FacesContext bound to this "request".

    Methods in javax.faces.view.facelets with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | Facelet.`apply(FacesContext facesContext, UIComponent parent)` The passed UIComponent parent will be populated/restored in accordance with the Facelets chapter in the spec prose document.
    `void` | FaceletsAttachedObjectHandler.`applyAttachedObject(FacesContext ctx, UIComponent parent)` Take the necessary actions to apply the attached object represented by the tag for the concrete subclass of this class to the argument `parent`.

  - ### Uses of FacesContext in javax.faces.webapp

    Methods in javax.faces.webapp that return FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract FacesContext` | UIComponentTagBase.`getFacesContext()` Return the `FacesContext` instance for the current request.
    `protected FacesContext` | UIComponentClassicTagBase.`getFacesContext()`

    Methods in javax.faces.webapp with parameters of type FacesContext
    Modifier and Type | Method and Description
    --- | ---
    `protected UIComponent` | UIComponentTag.`createComponent(FacesContext context, String newId)` Deprecated. Implement `createComponent` using Faces 1.1 EL API.
    `protected UIComponent` | UIComponentELTag.`createComponent(FacesContext context, String newId)` Create and return a new child component of the type returned by calling `getComponentType()`.
    `protected abstract UIComponent` | UIComponentClassicTagBase.`createComponent(FacesContext context, String newId)` Create and return a new child component of the type returned by calling `getComponentType()`.
    `protected UIComponent` | UIComponentClassicTagBase.`findComponent(FacesContext context)` Find and return the `UIComponent`, from the component tree, that corresponds to this tag handler instance.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.