edu.isi.ontosaurus.acme
Class OntosaurusServlet

java.lang.Object
  extended by Acme.Serve.servlet.GenericServlet
      extended by Acme.Serve.servlet.http.HttpServlet
          extended by edu.isi.ontosaurus.acme.OntosaurusServlet
All Implemented Interfaces:
Acme.Serve.servlet.Servlet, java.io.Serializable

public class OntosaurusServlet
extends Acme.Serve.servlet.http.HttpServlet

Servlet class for Ontosaurus to work with the Acme server.

See Also:
Serialized Form

Constructor Summary
OntosaurusServlet()
           
 
Method Summary
 java.lang.String getServletInfo()
           
static boolean grapherAvailable()
           
 void service(Acme.Serve.servlet.http.HttpServletRequest req, Acme.Serve.servlet.http.HttpServletResponse res)
          Services a single request from the client.
 
Methods inherited from class Acme.Serve.servlet.http.HttpServlet
service
 
Methods inherited from class Acme.Serve.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, init, init, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntosaurusServlet

public OntosaurusServlet()
Method Detail

getServletInfo

public java.lang.String getServletInfo()
Specified by:
getServletInfo in interface Acme.Serve.servlet.Servlet
Overrides:
getServletInfo in class Acme.Serve.servlet.GenericServlet

service

public void service(Acme.Serve.servlet.http.HttpServletRequest req,
                    Acme.Serve.servlet.http.HttpServletResponse res)
             throws Acme.Serve.servlet.ServletException,
                    java.io.IOException
Services a single request from the client. This is an interface to the Stella-generated Ontosaurus code.

Specified by:
service in class Acme.Serve.servlet.http.HttpServlet
Parameters:
req - the servlet request
req - the servlet response
Throws:
Acme.Serve.servlet.ServletException - when an exception has occurred
java.io.IOException

grapherAvailable

public static boolean grapherAvailable()