public class HeartbeatServlet extends ContainerAuthServlet
Modifier and Type | Class and Description |
---|---|
class |
HeartbeatServlet.Runner |
Modifier and Type | Field and Description |
---|---|
HeartbeatServlet.Runner |
runner |
java.util.concurrent.ScheduledExecutorService |
service |
ARGS, CONFIRM_NO, CONFIRM_POST_URL, CONFIRM_TYPE, CONFIRM_YES, EXTRA_HTML, MESSAGE_EXTRA_ATTR, MESSAGE_TYPE_ATTR, MESSAGES_JSP_URL, SCRIPTS_CONFIRM_JSP
Constructor and Description |
---|
HeartbeatServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected void |
doPost(HttpServletRequest req,
HttpServletResponse res,
AppContext conn,
java.lang.String user) |
static java.util.Date |
getLastCall() |
void |
init(ServletConfig config) |
static void |
reset() |
boolean |
runHeartbeat(AppContext conn,
ServletOutputStream out) |
doPost, verify
badInputCheck, checkBadInput, confirm, confirm, doGet, doPost, doPut, doPut, encodeCGI, getLogger, handleFormResult, message, message, messageWithArgs, sendMessageWithArgs
public HeartbeatServlet.Runner runner
public java.util.concurrent.ScheduledExecutorService service
protected void doPost(HttpServletRequest req, HttpServletResponse res, AppContext conn, java.lang.String user) throws ServletException, java.io.IOException
doPost
in class ContainerAuthServlet
ServletException
java.io.IOException
public static java.util.Date getLastCall()
public boolean runHeartbeat(AppContext conn, ServletOutputStream out) throws java.io.IOException
java.io.IOException
public void init(ServletConfig config) throws ServletException
ServletException
public void destroy()
public static void reset()