public abstract class GetPostServlet extends HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_CONTENT_TYPE |
| Constructor and Description |
|---|
GetPostServlet() |
GetPostServlet(java.lang.String contentType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response) |
protected abstract void |
doGetPost(HttpServletRequest request,
HttpServletResponse response) |
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, logpublic static final java.lang.String DEFAULT_CONTENT_TYPE
public GetPostServlet()
public GetPostServlet(java.lang.String contentType)
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
doGet in class HttpServletServletExceptionjava.io.IOExceptionprotected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
doPost in class HttpServletServletExceptionjava.io.IOExceptionprotected abstract void doGetPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
ServletExceptionjava.io.IOException