From 941f8c3fd3ef682a1aaafc4aa80de4488c74f0ed Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Thu, 9 Jan 2014 12:53:13 +0100 Subject: removed test servlet --- .../at/gv/egiz/pdfas/web/servlets/TestServlet.java | 43 ---------------------- 1 file changed, 43 deletions(-) delete mode 100644 pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/TestServlet.java (limited to 'pdf-as-web/src') diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/TestServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/TestServlet.java deleted file mode 100644 index 7e5ae044..00000000 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/TestServlet.java +++ /dev/null @@ -1,43 +0,0 @@ -package at.gv.egiz.pdfas.web.servlets; - -import java.io.IOException; -import java.io.PrintWriter; - -import javax.servlet.ServletException; -import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -import at.gv.egiz.pdfas.web.helper.PdfAsHelper; - -/** - * Servlet implementation class TestServlet - */ -public class TestServlet extends HttpServlet { - private static final long serialVersionUID = 1L; - - /** - * @see HttpServlet#HttpServlet() - */ - public TestServlet() { - super(); - // TODO Auto-generated constructor stub - } - - /** - * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) - */ - protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { - PrintWriter pw = response.getWriter(); - pw.write(PdfAsHelper.generateDataURL(request, response)); - pw.close(); - } - - /** - * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) - */ - protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { - // TODO Auto-generated method stub - } - -} -- cgit v1.2.3