public class OptionalServlet extends HttpServlet
Constructor and Description |
---|
OptionalServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
init(ServletConfig config) |
protected void |
service(HttpServletRequest req,
HttpServletResponse resp) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
init
in class GenericServlet
ServletException
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
service
in class HttpServlet
ServletException
IOException