Class ExternalContextFactoryImpl

    • Field Detail

      • DEFAULT_EXTERNAL_CONTEXT_KEY

        public static final String DEFAULT_EXTERNAL_CONTEXT_KEY
    • Constructor Detail

      • ExternalContextFactoryImpl

        public ExternalContextFactoryImpl()
    • 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 class ExternalContextFactory
        Parameters:
        servletContext - In Jakarta Servlet environments, the ServletContext that is associated with this web application
        request - In Jakarta Servlet environments, the ServletRequest that is to be processed
        response - In Jakarta Servlet environments, the ServletResponse that is to be processed
        Returns:
        the instance of ExternalContext.
        Throws:
        FacesException - if a ExternalContext cannot be constructed for the specified parameters