org.semanticweb.triple.service
Class ImportServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.semanticweb.triple.service.ImportServlet

public class ImportServlet
extends HttpServlet

Servlet to add things to the Triple knowledge base.

Author:
Andreas Harth $Id$
See Also:
Serialized Form

Constructor Summary
ImportServlet()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Respond to a GET request for the content produced by this servlet.
 void doPut(HttpServletRequest request, HttpServletResponse response)
          Respond to a PUT request for the content produced by this servlet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportServlet

public ImportServlet()
Method Detail

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws java.io.IOException,
                  ServletException
Respond to a GET request for the content produced by this servlet.

Parameters:
request - The servlet request we are processing
response - The servlet response we are producing
Throws:
java.io.IOException - if an input/output error occurs
ServletException - if a servlet error occurs

doPut

public void doPut(HttpServletRequest request,
                  HttpServletResponse response)
           throws java.io.IOException,
                  ServletException
Respond to a PUT request for the content produced by this servlet.

Parameters:
request - The servlet request we are processing
response - The servlet response we are producing
Throws:
java.io.IOException - if an input/output error occurs
ServletException - if a servlet error occurs