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) |
getRegistry
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public 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.HttpServlet
javax.servlet.ServletException
java.io.IOException
protected void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
java.io.IOException
private com.google.gson.JsonObject getResponse(javax.servlet.http.HttpServletRequest request) throws java.io.IOException
java.io.IOException
private com.google.gson.JsonObject getSlotCounts()
private com.google.gson.JsonObject getRequestJSON(javax.servlet.http.HttpServletRequest request) throws java.io.IOException
java.io.IOException