org.d2rq.server
Class ModelResponse
java.lang.Object
org.d2rq.server.ModelResponse
public class ModelResponse
- extends 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.
- Author:
- Richard Cyganiak (richard@cyganiak.de)
Constructor Summary |
ModelResponse(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 |
ModelResponse
public ModelResponse(Model model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
serve
public void serve()