/maven-amps-plugin/src/it/cli/src/test/java/com/atlassian/amps/test/cli/CliServlet.java

https://bitbucket.org/mmeinhold/amps · Java · 16 lines · 14 code · 2 blank · 0 comment · 0 complexity · 675f60db9d5d877fc2b1b6e3e76c71ad MD5 · raw file

  1. package com.atlassian.amps.test.cli;
  2. import javax.servlet.ServletException;
  3. import javax.servlet.http.HttpServlet;
  4. import javax.servlet.http.HttpServletRequest;
  5. import javax.servlet.http.HttpServletResponse;
  6. import java.io.IOException;
  7. public class CliServlet extends HttpServlet
  8. {
  9. protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
  10. {
  11. res.getWriter().write("Hello world this is CLI calling");
  12. res.getWriter().close();
  13. }
  14. }