Package javax.faces.webapp
Class FacesServlet
- java.lang.Object
-
- javax.faces.webapp.FacesServlet
-
- All Implemented Interfaces:
javax.servlet.Servlet
public final class FacesServlet extends Object implements javax.servlet.Servlet
see Javadoc of JSF Specification
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIG_FILES_ATTR
Comma separated list of URIs of (additional) faces config files.static String
DISABLE_FACESSERVLET_TO_XHTML_PARAM_NAME
Disable automatic FacesServlet xhtml mapping.static String
LIFECYCLE_ID_ATTR
Identify the Lifecycle instance to be used.
-
Constructor Summary
Constructors Constructor Description FacesServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
javax.servlet.ServletConfig
getServletConfig()
String
getServletInfo()
void
init(javax.servlet.ServletConfig servletConfig)
void
service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
-
-
-
Field Detail
-
CONFIG_FILES_ATTR
@JSFWebConfigParam(since="1.1") public static final String CONFIG_FILES_ATTR
Comma separated list of URIs of (additional) faces config files. (e.g. /WEB-INF/my-config.xml)See JSF 1.0 PRD2, 10.3.2 Attention: You do not need to put /WEB-INF/faces-config.xml in here.- See Also:
- Constant Field Values
-
LIFECYCLE_ID_ATTR
@JSFWebConfigParam(since="1.1") public static final String LIFECYCLE_ID_ATTR
Identify the Lifecycle instance to be used.- See Also:
- Constant Field Values
-
DISABLE_FACESSERVLET_TO_XHTML_PARAM_NAME
@JSFWebConfigParam(since="2.3") public static final String DISABLE_FACESSERVLET_TO_XHTML_PARAM_NAME
Disable automatic FacesServlet xhtml mapping.- See Also:
- Constant Field Values
-
-
Method Detail
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejavax.servlet.Servlet
-
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
- Specified by:
getServletConfig
in interfacejavax.servlet.Servlet
-
getServletInfo
public String getServletInfo()
- Specified by:
getServletInfo
in interfacejavax.servlet.Servlet
-
init
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
- Specified by:
init
in interfacejavax.servlet.Servlet
- Throws:
javax.servlet.ServletException
-
service
public void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws IOException, javax.servlet.ServletException
- Specified by:
service
in interfacejavax.servlet.Servlet
- Throws:
IOException
javax.servlet.ServletException
-
-