org.eaglei.repository.servlet
Class Internal

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.eaglei.repository.servlet.RepositoryServlet
              extended by org.eaglei.repository.servlet.Internal
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class Internal
extends RepositoryServlet

Report on and optionally reload the internally-maintaned graphs. Arguments: GET format=mimetype the usual name= - names the graph about which to return information optional, default is all. POST name= - the graph to laod, required for action=load action=read|load|query|decache - required arg (to differentiate from get) read - returns the contents of initailizer for given graph query - return result of CONSTRUCT query in 'query' arg load - reinitializes graph in repo from init file decache - force decache of ALL in-memory data structres that cache RDF contents query - required when action=query, text of SPARQL CONSTRUCT query

Version:
$Id: $
Author:
Larry Stone Started December, 2010
See Also:
Serialized Form

Nested Class Summary
static class Internal.Action
           
 
Constructor Summary
Internal()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          
 
Methods inherited from class org.eaglei.repository.servlet.RepositoryServlet
getExactParameter, getParameter, getParameterAsBoolean, getParameterAsKeyword, getParameterAsReader, getParameterAsURI, getParameterContentType, getParameters, isParameterPresent, redirectToJSP, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Internal

public Internal()
Method Detail

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException

Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doPost

protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException,
                      java.io.IOException

Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2009-2011 Eagle-I. All Rights Reserved.