Package org.apache.solr.response
Class QueryResponseWriterUtil
java.lang.Object
org.apache.solr.response.QueryResponseWriterUtil
Static utility methods relating to
QueryResponseWriters-
Method Summary
Modifier and TypeMethodDescriptionstatic voidwriteQueryResponse(OutputStream outputStream, QueryResponseWriter responseWriter, SolrQueryRequest solrRequest, SolrQueryResponse solrResponse, String contentType) Writes the response writer's result to the given output stream.
-
Method Details
-
writeQueryResponse
public static void writeQueryResponse(OutputStream outputStream, QueryResponseWriter responseWriter, SolrQueryRequest solrRequest, SolrQueryResponse solrResponse, String contentType) throws IOException Writes the response writer's result to the given output stream. This method inspects the specified writer to determine if it is aBinaryQueryResponseWriteror not to delegate to the appropriate method.- Throws:
IOException- See Also:
-