Package com.webmethods.caf.faces.servlet
Class OptionalServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.webmethods.caf.faces.servlet.OptionalServlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
Wrap another servlet whose class is optionally avaliable
in the webapp classloader.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
init
(ServletConfig config) protected void
service
(HttpServletRequest req, HttpServletResponse resp) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
OptionalServlet
public OptionalServlet()
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroy
in interfaceServlet
- Overrides:
destroy
in classGenericServlet
-
init
- Specified by:
init
in interfaceServlet
- Overrides:
init
in classGenericServlet
- Throws:
ServletException
-
service
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
service
in classHttpServlet
- Throws:
ServletException
IOException
-