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 toQueryResponseWriters
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidwriteQueryResponse(OutputStream outputStream, QueryResponseWriter responseWriter, SolrQueryRequest solrRequest, SolrQueryResponse solrResponse, String contentType)Writes the response writer's result to the given output stream.
 
- 
- 
- 
Method Detail- 
writeQueryResponsepublic 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.
 
- 
 
-