org.openrdf.server.metadata.controllers
Class DynamicController

java.lang.Object
  extended by org.openrdf.server.metadata.controllers.DynamicController

public class DynamicController
extends Object


Constructor Summary
DynamicController()
           
 
Method Summary
 Response delete(Request req)
           
 Response get(Request req)
           
 String getContentType(Request req)
           
 String getEntityTag(Request req, String contentType)
           
 Class<?> getEntityType(Request req)
           
 long getLastModified(Request req)
           
 List<String> getLinks(Request req)
           
 Response options(Request req)
           
 Response post(Request req)
           
 Response put(Request req)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicController

public DynamicController()
Method Detail

getLinks

public List<String> getLinks(Request req)
                      throws RepositoryException
Throws:
RepositoryException

getEntityType

public Class<?> getEntityType(Request req)
                       throws MimeTypeParseException,
                              RepositoryException,
                              QueryEvaluationException
Throws:
MimeTypeParseException
RepositoryException
QueryEvaluationException

getLastModified

public long getLastModified(Request req)
                     throws MimeTypeParseException,
                            RepositoryException,
                            QueryEvaluationException
Throws:
MimeTypeParseException
RepositoryException
QueryEvaluationException

getContentType

public String getContentType(Request req)
                      throws MimeTypeParseException,
                             RepositoryException,
                             QueryEvaluationException
Throws:
MimeTypeParseException
RepositoryException
QueryEvaluationException

getEntityTag

public String getEntityTag(Request req,
                           String contentType)
                    throws MimeTypeParseException,
                           RepositoryException,
                           QueryEvaluationException
Throws:
MimeTypeParseException
RepositoryException
QueryEvaluationException

get

public Response get(Request req)
             throws Throwable
Throws:
Throwable

options

public Response options(Request req)
                 throws RepositoryException
Throws:
RepositoryException

post

public Response post(Request req)
              throws Throwable
Throws:
Throwable

put

public Response put(Request req)
             throws Throwable
Throws:
Throwable

delete

public Response delete(Request req)
                throws Throwable
Throws:
Throwable


Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.