Package org.apache.solr.response
Class QueryResponseWriterUtil
- java.lang.Object
-
- org.apache.solr.response.QueryResponseWriterUtil
-
public final class QueryResponseWriterUtil extends Object
Static utility methods relating toQueryResponseWriter
s
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
writeQueryResponse(OutputStream outputStream, QueryResponseWriter responseWriter, SolrQueryRequest solrRequest, SolrQueryResponse solrResponse, String contentType)
Writes the response writer's result to the given output stream.
-
-
-
Method Detail
-
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 aBinaryQueryResponseWriter
or not to delegate to the appropriate method.
-
-