java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
cloud.piranha.webapp.impl.DefaultServlet
- All Implemented Interfaces:
java.io.Serializable
,Servlet
,ServletConfig
public class DefaultServlet extends HttpServlet
The default Servlet.
- Author:
- Manfred Riem ([email protected])
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DefaultServlet()
-
Method Summary
Modifier and Type Method Description protected void
doGet(HttpServletRequest request, HttpServletResponse response)
Get the requested resource.Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
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
-
Constructor Details
-
DefaultServlet
public DefaultServlet()
-
-
Method Details
-
doGet
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletExceptionGet the requested resource.- Overrides:
doGet
in classHttpServlet
- Parameters:
request
- the request.response
- the response.- Throws:
java.io.IOException
- when an I/O error occurs.ServletException
- when a Servlet error occurs.
-