@WebServlet(name="AsyncServlet",
urlPatterns="/AsyncServlet",
asyncSupported=true)
public class AsyncServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static String |
TEST_COMPLETE |
static String |
TEST_ERROR |
static String |
TEST_LOOP |
static String |
TEST_TIMEOUT |
| Constructor and Description |
|---|
AsyncServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic static final String TEST_TIMEOUT
public static final String TEST_COMPLETE
public static final String TEST_ERROR
public static final String TEST_LOOP
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2008–2016 CDI TCK. All rights reserved.