]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/api/GigiAPI.java
Adding stub for gigi-api (api.gigi.org)
[gigi.git] / src / org / cacert / gigi / api / GigiAPI.java
diff --git a/src/org/cacert/gigi/api/GigiAPI.java b/src/org/cacert/gigi/api/GigiAPI.java
new file mode 100644 (file)
index 0000000..74cff96
--- /dev/null
@@ -0,0 +1,19 @@
+package org.cacert.gigi.api;
+
+import java.io.IOException;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+public class GigiAPI extends HttpServlet {
+       @Override
+       protected void service(HttpServletRequest req, HttpServletResponse resp)
+                       throws ServletException, IOException {
+               String pi = req.getPathInfo();
+               if (pi == null) {
+                       return;
+               }
+       }
+}