java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfigpublic abstract class IsActiveServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
PATH_SPEC |
|
static java.lang.String |
RESPONSE_ACTIVE |
|
static java.lang.String |
RESPONSE_NOT_ACTIVE |
|
static java.lang.String |
SERVLET_NAME |
| Constructor | Description |
|---|---|
IsActiveServlet() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
Check whether this instance is the Active one.
|
protected abstract boolean |
isActive() |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic static final java.lang.String SERVLET_NAME
public static final java.lang.String PATH_SPEC
public static final java.lang.String RESPONSE_ACTIVE
public static final java.lang.String RESPONSE_NOT_ACTIVE
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.io.IOException
doGet in class javax.servlet.http.HttpServletreq - HTTP requestresp - HTTP response to write tojava.io.IOExceptionprotected abstract boolean isActive()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.