@WebServlet(value="/foo-async",
asyncSupported=true)
public class AsyncFooServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPLETE |
static String |
ERROR |
static String |
LOOP |
static String |
TIMEOUT |
| Constructor and Description |
|---|
AsyncFooServlet() |
| 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 TIMEOUT
public static final String COMPLETE
public static final String ERROR
public static final String 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.