javax.servlet.http
Class HttpServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
- All Implemented Interfaces:
- java.io.Serializable, Servlet, ServletConfig
- Direct Known Subclasses:
- ErrorServlet, InvokerServlet, StaticResourceServlet
public abstract class HttpServlet
- extends GenericServlet
- implements java.io.Serializable
Base class for http servlets
- Author:
- Rick Knowles
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServlet
public HttpServlet()
service
public void service(ServletRequest request,
ServletResponse response)
throws ServletException,
java.io.IOException
- Specified by:
service
in interface Servlet
- Specified by:
service
in class GenericServlet
- Throws:
ServletException
java.io.IOException
doGet
protected void doGet(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
getLastModified
protected long getLastModified(HttpServletRequest req)
doPost
protected void doPost(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
doPut
protected void doPut(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
doDelete
protected void doDelete(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
doOptions
protected void doOptions(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
doTrace
protected void doTrace(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
service
protected void service(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
doHead
protected void doHead(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
Copyright © 2013. All Rights Reserved.