Package com.sun.faces.context
Class ExternalContextFactoryImpl
- java.lang.Object
-
- jakarta.faces.context.ExternalContextFactory
-
- com.sun.faces.context.ExternalContextFactoryImpl
-
- All Implemented Interfaces:
FacesWrapper<ExternalContextFactory>
public class ExternalContextFactoryImpl extends ExternalContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_EXTERNAL_CONTEXT_KEY
-
Constructor Summary
Constructors Constructor Description ExternalContextFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalContext
getExternalContext(Object servletContext, Object request, Object response)
Create (if needed) and return anExternalContext
instance that is initialized for the processing of the specified request and response objects, for this web application.-
Methods inherited from class jakarta.faces.context.ExternalContextFactory
getWrapped
-
-
-
-
Field Detail
-
DEFAULT_EXTERNAL_CONTEXT_KEY
public static final String DEFAULT_EXTERNAL_CONTEXT_KEY
-
-
Method Detail
-
getExternalContext
public ExternalContext getExternalContext(Object servletContext, Object request, Object response) throws FacesException
Description copied from class:ExternalContextFactory
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.- Specified by:
getExternalContext
in classExternalContextFactory
- Parameters:
servletContext
- In Jakarta Servlet environments, theServletContext
that is associated with this web applicationrequest
- In Jakarta Servlet environments, theServletRequest
that is to be processedresponse
- In Jakarta Servlet environments, theServletResponse
that is to be processed- Returns:
- the instance of
ExternalContext
. - Throws:
FacesException
- if aExternalContext
cannot be constructed for the specified parameters
-
-