Package nxt.http
Class APIServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
nxt.http.APIServlet
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public final class APIServlet
extends javax.servlet.http.HttpServlet
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) voiddoPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) static APIServlet.APIRequestHandlergetAPIRequestHandler(String requestType) static Map<String,APIServlet.APIRequestHandler> static booleanisAnySensitiveParam(Set<String> param) static booleanisSensitiveParam(String param) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceMethods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
APIServlet
public APIServlet()
-
-
Method Details
-
getAPIRequestHandler
-
getAPIRequestHandlers
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException - Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
IOException
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException - Overrides:
doPostin classjavax.servlet.http.HttpServlet- Throws:
IOException
-
isSensitiveParam
-
isAnySensitiveParam
-