public class CLIServlet extends HttpServlet
Constructor and Description |
---|
CLIServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Lists pending runs, obtains status, or show logs of a particular run.
Pending: http://..../pending/
Status: http://..../status/${runid}
Logs: http://..../logs/${runid}
Tail Logs: http://..../logs/${runid}/tail
Follow Logs: http://..../logs/${runid}/follow
Combination of tail and follow, postfix /tail/follow
.
|
void |
doPost(HttpServletRequest request,
HttpServletResponse response)
Submits new runs or kills runs.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet
in class HttpServlet
request
- The request objectresponse
- The response objectServletException
- Error executing servletIOException
- I/O errorpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost
in class HttpServlet
request
- The mime multi-part post requestresponse
- The response objectServletException
- Error executing servletIOException
- I/O error