/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
- package com.atlassian.amps.test.cli;
- import javax.servlet.ServletException;
- import javax.servlet.http.HttpServlet;
- import javax.servlet.http.HttpServletRequest;
- import javax.servlet.http.HttpServletResponse;
- import java.io.IOException;
- public class CliServlet extends HttpServlet
- {
- protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
- {
- res.getWriter().write("Hello world this is CLI calling");
- res.getWriter().close();
- }
- }