Package com.zendesk.maxwell.monitoring
Class MaxwellConfigServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.zendesk.maxwell.monitoring.MaxwellConfigServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class MaxwellConfigServlet extends javax.servlet.http.HttpServletAn HTTP servlet which allows for the live reconfiguration of maxwell. If property provided for update is null, it will be ignored.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MaxwellConfigServlet(MaxwellContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)protected voiddoPatch(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)protected voiddoPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)protected voiddoPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)voidservice(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doTrace, getLastModified, service
-
-
-
-
Constructor Detail
-
MaxwellConfigServlet
public MaxwellConfigServlet(MaxwellContext context)
-
-
Method Detail
-
doPut
protected void doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException- Overrides:
doPutin classjavax.servlet.http.HttpServlet- Throws:
IOException
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException- Overrides:
doPostin classjavax.servlet.http.HttpServlet- Throws:
IOException
-
doPatch
protected void doPatch(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException- Throws:
IOException
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException- Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
IOException
-
service
public void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Overrides:
servicein classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
-