net.fortytwo.sesametools.ldserver.query
Class QueryResource

java.lang.Object
  extended by org.restlet.Restlet
      extended by net.fortytwo.sesametools.ldserver.query.QueryResource
All Implemented Interfaces:
org.restlet.Uniform
Direct Known Subclasses:
SparqlResource

public abstract class QueryResource
extends org.restlet.Restlet

Author:
Joshua Shinavier (http://fortytwo.net)

Field Summary
protected  org.openrdf.sail.Sail sail
           
protected  String selfURI
           
 
Constructor Summary
QueryResource()
           
 
Method Summary
protected  Map<String,String> getArguments(org.restlet.Request request)
           
protected  Map<String,String> parseParams(String s)
           
protected  int readLimit(Map<String,String> arguments)
           
protected  String urlDecode(String encoded)
           
 
Methods inherited from class org.restlet.Restlet
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwner, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selfURI

protected String selfURI

sail

protected org.openrdf.sail.Sail sail
Constructor Detail

QueryResource

public QueryResource()
Method Detail

getArguments

protected Map<String,String> getArguments(org.restlet.Request request)
                                   throws org.restlet.resource.ResourceException
Throws:
org.restlet.resource.ResourceException

parseParams

protected Map<String,String> parseParams(String s)
                                  throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

readLimit

protected int readLimit(Map<String,String> arguments)

urlDecode

protected String urlDecode(String encoded)
                    throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException


Copyright © 2013. All Rights Reserved.