de.fuberlin.wiwiss.pubby
Class ModelResponse

java.lang.Object
  extended by de.fuberlin.wiwiss.pubby.ModelResponse

public class ModelResponse
extends java.lang.Object

Calls into Joseki to send a Jena model over HTTP. This gives us content negotiation and all the other tricks supported by Joseki for free. This has to be in the Joseki package because some required methods are not visible.


Constructor Summary
ModelResponse(com.hp.hpl.jena.rdf.model.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 void serve()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelResponse

public ModelResponse(com.hp.hpl.jena.rdf.model.Model model,
                     javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
Method Detail

serve

public void serve()