@@ -0,0 +1,1224 @@
+package com.google.step.coffee.servlets;%0A%0Aimport java.io.IOException;%0Aimport java.util.Arrays;%0Aimport java.util.Date;%0Aimport javax.servlet.ServletException;%0Aimport javax.servlet.annotation.WebServlet;%0Aimport javax.servlet.http.HttpServlet;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0A%0A@WebServlet(%22/chat-request%22)%0Apublic class ChatRequestServlet extends HttpServlet %7B%0A%0A  @Override%0A  protected void doPost(HttpServletRequest req, HttpServletResponse resp)%0A      throws ServletException, IOException %7B%0A%0A    String%5B%5D tags = req.getParameter(%22tags%22).split(%22,%22);%0A    String datesString = req.getParameter(%22dates%22);%0A    int numPeople = Integer.parseInt(req.getParameter(%22numPeople%22));%0A    int duration = Integer.parseInt(req.getParameter(%22duration%22));%0A    boolean randomMatch = Boolean.parseBoolean(req.getParameter(%22randomMatch%22));%0A    boolean pastMatched = Boolean.parseBoolean(req.getParameter(%22pastMatched%22));%0A%0A    if (datesString.equals(%22%22)) %7B%0A      resp.setStatus(HttpServletResponse.SC_BAD_REQUEST);%0A      return;%0A    %7D%0A%0A    long%5B%5D unixDates = Arrays.stream(datesString.split(%22,%22)).mapToLong(Long::parseLong).toArray();%0A%0A    resp.setStatus(HttpServletResponse.SC_OK);%0A  %7D%0A%7D%0A

Create endpoint to provide dummy response to chat request