| Modifier and Type | Field and Description | 
|---|---|
| static String | CONFIG_FILES_ATTRContext initialization parameter name for a comma delimited list
 of context-relative resource paths (in addition to
  /WEB-INF/faces-config.xmlwhich is loaded automatically
 if it exists) containing JavaServer Faces configuration information. | 
| static String | LIFECYCLE_ID_ATTRContext initialization parameter name for the lifecycle identifier
 of the  Lifecycleinstance to be utilized. | 
| Constructor and Description | 
|---|
| FacesServlet() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | destroy()Release all resources acquired at startup time. | 
| ServletConfig | getServletConfig()Return the  ServletConfiginstance for this servlet. | 
| String | getServletInfo()Return information about this Servlet. | 
| void | init(ServletConfig servletConfig)Acquire the factory instances we will require. | 
| void | service(ServletRequest request,
       ServletResponse response)Process an incoming request, and create the corresponding
 response, by executing the request processing lifecycle. | 
public static final String CONFIG_FILES_ATTR
Context initialization parameter name for a comma delimited list
 of context-relative resource paths (in addition to
 /WEB-INF/faces-config.xml which is loaded automatically
 if it exists) containing JavaServer Faces configuration information.
public static final String LIFECYCLE_ID_ATTR
Context initialization parameter name for the lifecycle identifier
 of the Lifecycle instance to be utilized.
public void destroy()
Release all resources acquired at startup time.
public ServletConfig getServletConfig()
Return the ServletConfig instance for this servlet.
getServletConfig in interface ServletServletConfig object
                        that initializes this servletServlet.init(javax.servlet.ServletConfig)public String getServletInfo()
Return information about this Servlet.
getServletInfo in interface ServletString containing servlet informationpublic void init(ServletConfig servletConfig) throws ServletException
Acquire the factory instances we will require.
init in interface ServletservletConfig - a ServletConfig object 
                                        containing the servlet's
                                        configuration and initialization parametersServletException - if, for any reason, the startup of
 this Faces application failed.  This includes errors in the
 config file that is parsed before or during the processing of
 this init() method.UnavailableException, 
Servlet.getServletConfig()public void service(ServletRequest request, ServletResponse response) throws IOException, ServletException
Process an incoming request, and create the corresponding response, by executing the request processing lifecycle.
If the request and response
 arguments to this method are not instances of
 HttpServletRequest and
 HttpServletResponse, respectively, the results of
 invoking this method are undefined.
This method must respond to requests that start with the
 following strings by invoking the sendError method
 on the response argument (cast to
 HttpServletResponse), passing the code
 HttpServletResponse.SC_NOT_FOUND as the
 argument. 
/WEB-INF/
/WEB-INF
/META-INF/
/META-INF
service in interface Servletrequest - The servlet request we are processingresponse - The servlet response we are creatingIOException - if an input/output error occurs during processingServletException - if a servlet error occurs during processingCopyright © 2018 JBoss by Red Hat. All rights reserved.