Class GraphQueryResultView
- java.lang.Object
-
- org.eclipse.rdf4j.http.server.repository.QueryResultView
-
- org.eclipse.rdf4j.http.server.repository.GraphQueryResultView
-
- All Implemented Interfaces:
org.springframework.web.servlet.View
public class GraphQueryResultView extends QueryResultView
View used to render graph query results. Renders the graph as RDF using a serialization specified using a parameter or Accept header.- Author:
- Herko ter Horst, Arjohn Kampman
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.http.server.repository.QueryResultView
CONNECTION_KEY, FACTORY_KEY, FILENAME_HINT_KEY, HEADERS_ONLY, QUERY_RESULT_KEY
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
static GraphQueryResultView
getInstance()
protected void
renderInternal(Map model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Methods inherited from class org.eclipse.rdf4j.http.server.repository.QueryResultView
logEndOfRequest, render, setContentDisposition, setContentType
-
-
-
-
Method Detail
-
getInstance
public static GraphQueryResultView getInstance()
-
getContentType
public String getContentType()
-
renderInternal
protected void renderInternal(Map model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
- Specified by:
renderInternal
in classQueryResultView
- Throws:
IOException
-
-