Package org.vx68k.bitbucket.webhook
Class BitbucketWebhookServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.vx68k.bitbucket.webhook.BitbucketWebhookServlet
-
- All Implemented Interfaces:
Serializable,Servlet,ServletConfig
public class BitbucketWebhookServlet extends HttpServlet
Processes HTTP requests from Bitbucket webhooks.- Since:
- 4.0
- Author:
- Kaz Nishimura
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BitbucketWebhookServlet(Event<BitbucketEvent> event)Constructs this object with anEventobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoPost(HttpServletRequest request, HttpServletResponse response)-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
-
-
-
Constructor Detail
-
BitbucketWebhookServlet
@Inject public BitbucketWebhookServlet(Event<BitbucketEvent> event)
Constructs this object with anEventobject.- Parameters:
event-Eventobject
-
-
Method Detail
-
doPost
protected final void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException
- Overrides:
doPostin classHttpServlet- Throws:
IOException
-
-