Class BooleanQueryResultView
java.lang.Object
org.eclipse.rdf4j.http.server.repository.QueryResultView
org.eclipse.rdf4j.http.server.repository.BooleanQueryResultView
- All Implemented Interfaces:
org.springframework.web.servlet.View
View used to render boolean query results. Renders results in a format specified using a parameter or Accept header.
- Author:
- Arjohn Kampman
-
Field Summary
Fields inherited from class QueryResultView
CONNECTION_KEY, FACTORY_KEY, FILENAME_HINT_KEY, HEADERS_ONLY, QUERY_EXPLAIN_RESULT_KEY, QUERY_RESULT_KEYModifier and TypeFieldDescriptionstatic final StringKey by which the currentRepositoryConnectionis stored in the Model.static final StringKey by which the query result writer factory is stored in the model.static final StringKey by which a filename hint is stored in the model.static final Stringstatic final StringKey by which the query result explanation is stored in the model.static final StringKey by which the query result is stored in the model.Fields inherited from interface org.springframework.web.servlet.View
PATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE, SELECTED_CONTENT_TYPE -
Method Summary
Modifier and TypeMethodDescriptionstatic BooleanQueryResultViewprotected voidrenderInternal(Map model, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Methods inherited from class QueryResultView
logEndOfRequest, render, setContentDisposition, setContentTypeModifier and TypeMethodDescriptionprotected voidlogEndOfRequest(jakarta.servlet.http.HttpServletRequest request) final voidrender(Map model, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected voidsetContentDisposition(Map model, jakarta.servlet.http.HttpServletResponse response, FileFormat fileFormat) protected voidsetContentType(jakarta.servlet.http.HttpServletResponse response, FileFormat fileFormat)
-
Method Details
-
getInstance
-
getContentType
-
renderInternal
protected void renderInternal(Map model, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException - Specified by:
renderInternalin classQueryResultView- Throws:
IOException
-