diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-01-09 12:53:13 +0100 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-01-09 12:53:13 +0100 |
commit | 941f8c3fd3ef682a1aaafc4aa80de4488c74f0ed (patch) | |
tree | 0d097922db801ad5b313f60d5769c12fe599d9c7 /pdf-as-web/src/main/java/at | |
parent | 11c4bfac46f66ab3ba24b6354a6a372da40c0b1f (diff) | |
download | pdf-as-4-941f8c3fd3ef682a1aaafc4aa80de4488c74f0ed.tar.gz pdf-as-4-941f8c3fd3ef682a1aaafc4aa80de4488c74f0ed.tar.bz2 pdf-as-4-941f8c3fd3ef682a1aaafc4aa80de4488c74f0ed.zip |
removed test servlet
Diffstat (limited to 'pdf-as-web/src/main/java/at')
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/TestServlet.java | 43 |
1 files changed, 0 insertions, 43 deletions
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 - } - -} |