public class CAFFacesServlet extends HttpServlet
Modifier and Type | Field and Description |
---|---|
static String |
INIT_PARAM_FOOT |
static String |
INIT_PARAM_HEAD |
protected Application |
m_application |
protected FacesContextFactory |
m_facesContextFactory |
protected String |
m_foot |
protected String |
m_head |
protected Lifecycle |
m_lifecycle |
protected ServletConfig |
m_servletConfig |
Constructor and Description |
---|
CAFFacesServlet() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkForAllowedMethod(HttpServletRequest request,
HttpServletResponse response)
Check the request method to see if it is one of the allowed methods.
|
void |
destroy() |
void |
init(ServletConfig servletConfig) |
protected void |
renderDefaultFoot(HttpServletRequest request,
HttpServletResponse response,
FacesContext context) |
protected void |
renderDefaultHead(HttpServletRequest request,
HttpServletResponse response,
FacesContext context)
Auxiliary method for renderHead().
|
protected void |
renderFoot(HttpServletRequest request,
HttpServletResponse response,
FacesContext context) |
protected void |
renderHead(HttpServletRequest request,
HttpServletResponse response,
FacesContext context)
Auxiliary method for service().
|
protected void |
service(HttpServletRequest request,
HttpServletResponse response) |
protected boolean |
shouldSkipRenderPhaseForHeadRequest()
Return true if a HEAD request should skip the render response phase.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public static final String INIT_PARAM_HEAD
public static final String INIT_PARAM_FOOT
protected Application m_application
protected FacesContextFactory m_facesContextFactory
protected Lifecycle m_lifecycle
protected ServletConfig m_servletConfig
protected String m_head
protected String m_foot
public void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
public void init(ServletConfig servletConfig) throws ServletException
init
in interface Servlet
init
in class GenericServlet
ServletException
protected boolean checkForAllowedMethod(HttpServletRequest request, HttpServletResponse response)
protected boolean shouldSkipRenderPhaseForHeadRequest()
protected void service(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
service
in class HttpServlet
IOException
ServletException
protected void renderHead(HttpServletRequest request, HttpServletResponse response, FacesContext context) throws IOException, ServletException
IOException
ServletException
protected void renderDefaultHead(HttpServletRequest request, HttpServletResponse response, FacesContext context) throws IOException
IOException
protected void renderFoot(HttpServletRequest request, HttpServletResponse response, FacesContext context) throws IOException, ServletException
IOException
ServletException
protected void renderDefaultFoot(HttpServletRequest request, HttpServletResponse response, FacesContext context) throws IOException
IOException