Top Fields Constructors Methods
com.sun.faces.context

public Class ExternalContextFactoryImpl

extends ExternalContextFactory
Class Inheritance
Imports
javax.faces.FacesException, javax.faces.context.ExternalContext, .ExternalContextFactory, javax.servlet.ServletContext, .ServletRequest, .ServletResponse, com.sun.faces.util.Util

Field Summary

Modifier and TypeField and Description
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ExternalContext
getExternalContext(Object
In servlet environments, the ServletContext that is associated with this web application
servletContext
,
Object
In servlet environments, the ServletRequest that is to be processed
request
,
Object
In servlet environments, the ServletResponse that is to be processed
response
)

Implements abstract javax.faces.context.ExternalContextFactory.getExternalContext.

Create (if needed) and return an ExternalContext instance that is initialized for the processing of the specified request and response objects, for this web application.

Inherited from javax.faces.context.ExternalContextFactory:
getWrapped

Field Detail

DEFAULT_EXTERNAL_CONTEXT_KEYback to summary
public static final String DEFAULT_EXTERNAL_CONTEXT_KEY

Constructor Detail

ExternalContextFactoryImplback to summary
public ExternalContextFactoryImpl()

Method Detail

getExternalContextback to summary
public ExternalContext getExternalContext(Object servletContext, Object request, Object response) throws FacesException

Implements abstract javax.faces.context.ExternalContextFactory.getExternalContext.

Doc from javax.faces.context.ExternalContextFactory.getExternalContext.

Create (if needed) and return an ExternalContext instance that is initialized for the processing of the specified request and response objects, for this web application.

Parameters
servletContext:Object

In servlet environments, the ServletContext that is associated with this web application

request:Object

In servlet environments, the ServletRequest that is to be processed

response:Object

In servlet environments, the ServletResponse that is to be processed

Returns:ExternalContext

the instance of ExternalContext.

Annotations
@Override
Exceptions
FacesException:
if a ExternalContext cannot be constructed for the specified parameters