public class HubStatusServlet extends RegistryBasedServlet
| Constructor and Description |
|---|
HubStatusServlet() |
HubStatusServlet(Registry registry) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
private com.google.gson.JsonObject |
getRequestJSON(javax.servlet.http.HttpServletRequest request) |
private com.google.gson.JsonObject |
getResponse(javax.servlet.http.HttpServletRequest request) |
private com.google.gson.JsonObject |
getSlotCounts() |
protected void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
getRegistrydoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic HubStatusServlet()
public HubStatusServlet(Registry registry)
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionjava.io.IOExceptionprotected void process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
java.io.IOExceptionprivate com.google.gson.JsonObject getResponse(javax.servlet.http.HttpServletRequest request)
throws java.io.IOException
java.io.IOExceptionprivate com.google.gson.JsonObject getSlotCounts()
private com.google.gson.JsonObject getRequestJSON(javax.servlet.http.HttpServletRequest request)
throws java.io.IOException
java.io.IOException