org.openanzo.endpoint
Class QueryServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.openanzo.endpoint.QueryServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class QueryServlet
- extends javax.servlet.http.HttpServlet
Very simple SPARQL servlet.
Parameters:
query
default-graph-uri
named-graph-uri
output: rdf-xml, xml, json
callback
xslt
Optionally, pass output=json and callback=jsFuncName for AJAX.
- See Also:
- Serialized Form
|
Method Summary |
void |
init()
|
| Methods inherited from class javax.servlet.http.HttpServlet |
service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
engine
public static QueryEngine engine
outputEngine
public static HttpOutputEngine outputEngine
QueryServlet
public QueryServlet()
init
public void init()
throws javax.servlet.ServletException
- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.