org.eclipse.jetty.tests.webapp
Class HttpMethodsServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.eclipse.jetty.tests.webapp.HttpMethodsServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class HttpMethodsServlet
- extends HttpServlet
Servlet declaring the various do* methods.
The Jetty internals for OPTIONS should detect the declared do* methods and
return an appropriate listing of available OPTIONS on an OPTIONS request.
- 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 |
HttpMethodsServlet
public HttpMethodsServlet()
- See Also:
HttpServlet.HttpServlet()
doGet
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doGet
in class HttpServlet
- Throws:
ServletException
IOException
- See Also:
HttpServlet.doGet(HttpServletRequest request, HttpServletResponse
response)
doPost
protected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doPost
in class HttpServlet
- Throws:
ServletException
IOException
- See Also:
HttpServlet.doPost(HttpServletRequest request, HttpServletResponse
response)
doPut
protected void doPut(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doPut
in class HttpServlet
- Throws:
ServletException
IOException
- See Also:
HttpServlet.doPut(HttpServletRequest, HttpServletResponse)
doDelete
protected void doDelete(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doDelete
in class HttpServlet
- Throws:
ServletException
IOException
- See Also:
HttpServlet.doDelete(HttpServletRequest, HttpServletResponse)
doHead
protected void doHead(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doHead
in class HttpServlet
- Throws:
ServletException
IOException
- See Also:
HttpServlet.doHead(HttpServletRequest, HttpServletResponse)
doTrace
protected void doTrace(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doTrace
in class HttpServlet
- Throws:
ServletException
IOException
- See Also:
HttpServlet.doTrace(HttpServletRequest, HttpServletResponse)
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.