public class ExternalContextFactoryImpl
extends javax.faces.context.ExternalContextFactory
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_EXTERNAL_CONTEXT_KEY |
Constructor and Description |
---|
ExternalContextFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
javax.faces.context.ExternalContext |
getExternalContext(Object servletContext,
Object request,
Object response)
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. |
public static final String DEFAULT_EXTERNAL_CONTEXT_KEY
public javax.faces.context.ExternalContext getExternalContext(Object servletContext, Object request, Object response) throws javax.faces.FacesException
javax.faces.context.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.
getExternalContext
in class javax.faces.context.ExternalContextFactory
servletContext
- In Jakarta Servlet environments, the
ServletContext
that is associated with this web
applicationrequest
- In Jakarta Servlet environments, the
ServletRequest
that is to be processedresponse
- In Jakarta Servlet environments, the
ServletResponse
that is to be processedExternalContext
.javax.faces.FacesException
- if a ExternalContext
cannot be
constructed for the specified parametersCopyright © 2010–2021 JBoss by Red Hat. All rights reserved.