public final class APIServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Class and Description |
---|---|
static class |
APIServlet.APIRequestHandler |
Constructor and Description |
---|
APIServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
static APIServlet.APIRequestHandler |
getAPIRequestHandler(java.lang.String requestType) |
static java.util.Map<java.lang.String,APIServlet.APIRequestHandler> |
getAPIRequestHandlers() |
static boolean |
isAnySensitiveParam(java.util.Set<java.lang.String> param) |
static boolean |
isSensitiveParam(java.lang.String param) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static APIServlet.APIRequestHandler getAPIRequestHandler(java.lang.String requestType)
public static java.util.Map<java.lang.String,APIServlet.APIRequestHandler> getAPIRequestHandlers()
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
java.io.IOException
public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
java.io.IOException
public static boolean isSensitiveParam(java.lang.String param)
public static boolean isAnySensitiveParam(java.util.Set<java.lang.String> param)