1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.6.0_30) on Tue Nov 19 11:16:53 CET 2013 -->
6 <META http-equiv="Content-Type" content="text/html; charset=utf-8">
8 BinaryResponseWriter (Solr 4.6.0 API)
11 <META NAME="date" CONTENT="2013-11-19">
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
15 <SCRIPT type="text/javascript">
16 function windowTitle()
18 if (location.href.indexOf('is-external=true') == -1) {
19 parent.document.title="BinaryResponseWriter (Solr 4.6.0 API)";
28 <BODY BGCOLOR="white" onload="windowTitle();">
32 <!-- ========= START OF TOP NAVBAR ======= -->
33 <A NAME="navbar_top"><!-- --></A>
34 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
37 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38 <A NAME="navbar_top_firstrow"><!-- --></A>
39 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40 <TR ALIGN="center" VALIGN="top">
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BinaryResponseWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 <A HREF="../../../../org/apache/solr/response/BinaryQueryResponseWriter.html" title="interface in org.apache.solr.response"><B>PREV CLASS</B></A>
59 <A HREF="../../../../org/apache/solr/response/BinaryResponseWriter.Resolver.html" title="class in org.apache.solr.response"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../../index.html?org/apache/solr/response/BinaryResponseWriter.html" target="_top"><B>FRAMES</B></A>
62 <A HREF="BinaryResponseWriter.html" target="_top"><B>NO FRAMES</B></A>
63 <SCRIPT type="text/javascript">
66 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
71 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
88 <!-- ======== START OF CLASS DATA ======== -->
91 org.apache.solr.response</FONT>
93 Class BinaryResponseWriter</H2>
95 <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.response.BinaryResponseWriter</B>
99 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/solr/response/BinaryQueryResponseWriter.html" title="interface in org.apache.solr.response">BinaryQueryResponseWriter</A>, <A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html" title="interface in org.apache.solr.response">QueryResponseWriter</A>, <A HREF="../../../../org/apache/solr/util/plugin/NamedListInitializedPlugin.html" title="interface in org.apache.solr.util.plugin">NamedListInitializedPlugin</A></DD>
103 <DT><PRE>public class <B>BinaryResponseWriter</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../org/apache/solr/response/BinaryQueryResponseWriter.html" title="interface in org.apache.solr.response">BinaryQueryResponseWriter</A></DL>
110 <!-- ======== NESTED CLASS SUMMARY ======== -->
112 <A NAME="nested_class_summary"><!-- --></A>
113 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
114 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
115 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
116 <B>Nested Class Summary</B></FONT></TH>
118 <TR BGCOLOR="white" CLASS="TableRowColor">
119 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
120 <CODE>static class</CODE></FONT></TD>
121 <TD><CODE><B><A HREF="../../../../org/apache/solr/response/BinaryResponseWriter.Resolver.html" title="class in org.apache.solr.response">BinaryResponseWriter.Resolver</A></B></CODE>
124 </TD>
127 <!-- =========== FIELD SUMMARY =========== -->
129 <A NAME="field_summary"><!-- --></A>
130 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
131 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
132 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
133 <B>Field Summary</B></FONT></TH>
135 <TR BGCOLOR="white" CLASS="TableRowColor">
136 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137 <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>></CODE></FONT></TD>
138 <TD><CODE><B><A HREF="../../../../org/apache/solr/response/BinaryResponseWriter.html#KNOWN_TYPES">KNOWN_TYPES</A></B></CODE>
141 </TD>
144 <A NAME="fields_inherited_from_class_org.apache.solr.response.QueryResponseWriter"><!-- --></A>
145 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
146 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
147 <TH ALIGN="left"><B>Fields inherited from interface org.apache.solr.response.<A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html" title="interface in org.apache.solr.response">QueryResponseWriter</A></B></TH>
149 <TR BGCOLOR="white" CLASS="TableRowColor">
150 <TD><CODE><A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html#CONTENT_TYPE_TEXT_ASCII">CONTENT_TYPE_TEXT_ASCII</A>, <A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html#CONTENT_TYPE_TEXT_UTF8">CONTENT_TYPE_TEXT_UTF8</A>, <A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html#CONTENT_TYPE_XML_UTF8">CONTENT_TYPE_XML_UTF8</A></CODE></TD>
154 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
156 <A NAME="constructor_summary"><!-- --></A>
157 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
158 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
159 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
160 <B>Constructor Summary</B></FONT></TH>
162 <TR BGCOLOR="white" CLASS="TableRowColor">
163 <TD><CODE><B><A HREF="../../../../org/apache/solr/response/BinaryResponseWriter.html#BinaryResponseWriter()">BinaryResponseWriter</A></B>()</CODE>
166 </TD>
170 <!-- ========== METHOD SUMMARY =========== -->
172 <A NAME="method_summary"><!-- --></A>
173 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
174 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
175 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
176 <B>Method Summary</B></FONT></TH>
178 <TR BGCOLOR="white" CLASS="TableRowColor">
179 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180 <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
181 <TD><CODE><B><A HREF="../../../../org/apache/solr/response/BinaryResponseWriter.html#getContentType(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">getContentType</A></B>(<A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> request,
182 <A HREF="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A> response)</CODE>
185 Return the applicable Content Type for a request, this method
186 must be thread safe.</TD>
188 <TR BGCOLOR="white" CLASS="TableRowColor">
189 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190 <CODE>static <A HREF="../../../../../solr-solrj/org/apache/solr/common/util/NamedList.html?is-external=true" title="class or interface in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD>
191 <TD><CODE><B><A HREF="../../../../org/apache/solr/response/BinaryResponseWriter.html#getParsedResponse(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">getParsedResponse</A></B>(<A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> req,
192 <A HREF="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A> rsp)</CODE>
195 TODO -- there may be a way to do this without marshal at all...</TD>
197 <TR BGCOLOR="white" CLASS="TableRowColor">
198 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199 <CODE> void</CODE></FONT></TD>
200 <TD><CODE><B><A HREF="../../../../org/apache/solr/response/BinaryResponseWriter.html#init(org.apache.solr.common.util.NamedList)">init</A></B>(<A HREF="../../../../../solr-solrj/org/apache/solr/common/util/NamedList.html?is-external=true" title="class or interface in org.apache.solr.common.util">NamedList</A> args)</CODE>
203 <code>init</code> will be called just once, immediately after creation.</TD>
205 <TR BGCOLOR="white" CLASS="TableRowColor">
206 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207 <CODE> void</CODE></FONT></TD>
208 <TD><CODE><B><A HREF="../../../../org/apache/solr/response/BinaryResponseWriter.html#write(java.io.OutputStream, org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">write</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> out,
209 <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> req,
210 <A HREF="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A> response)</CODE>
213 Use it to write the reponse in a binary format</TD>
215 <TR BGCOLOR="white" CLASS="TableRowColor">
216 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
217 <CODE> void</CODE></FONT></TD>
218 <TD><CODE><B><A HREF="../../../../org/apache/solr/response/BinaryResponseWriter.html#write(java.io.Writer, org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">write</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</A> writer,
219 <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> request,
220 <A HREF="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A> response)</CODE>
223 Write a SolrQueryResponse, this method must be thread save.</TD>
226 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
227 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
228 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
229 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
231 <TR BGCOLOR="white" CLASS="TableRowColor">
232 <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
238 <!-- ============ FIELD DETAIL =========== -->
240 <A NAME="field_detail"><!-- --></A>
241 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
242 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
243 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
244 <B>Field Detail</B></FONT></TH>
248 <A NAME="KNOWN_TYPES"><!-- --></A><H3>
251 public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>> <B>KNOWN_TYPES</B></PRE>
257 <!-- ========= CONSTRUCTOR DETAIL ======== -->
259 <A NAME="constructor_detail"><!-- --></A>
260 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
261 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
262 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
263 <B>Constructor Detail</B></FONT></TH>
267 <A NAME="BinaryResponseWriter()"><!-- --></A><H3>
268 BinaryResponseWriter</H3>
270 public <B>BinaryResponseWriter</B>()</PRE>
274 <!-- ============ METHOD DETAIL ========== -->
276 <A NAME="method_detail"><!-- --></A>
277 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
278 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
279 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
280 <B>Method Detail</B></FONT></TH>
284 <A NAME="write(java.io.OutputStream, org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)"><!-- --></A><H3>
287 public void <B>write</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> out,
288 <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> req,
289 <A HREF="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A> response)
290 throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
292 <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/response/BinaryQueryResponseWriter.html#write(java.io.OutputStream, org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">BinaryQueryResponseWriter</A></CODE></B></DD>
293 <DD>Use it to write the reponse in a binary format
296 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/response/BinaryQueryResponseWriter.html#write(java.io.OutputStream, org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">write</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/response/BinaryQueryResponseWriter.html" title="interface in org.apache.solr.response">BinaryQueryResponseWriter</A></CODE></DL>
301 <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
306 <A NAME="write(java.io.Writer, org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)"><!-- --></A><H3>
309 public void <B>write</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</A> writer,
310 <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> request,
311 <A HREF="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A> response)
312 throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
314 <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html#write(java.io.Writer, org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">QueryResponseWriter</A></CODE></B></DD>
315 <DD>Write a SolrQueryResponse, this method must be thread save.
318 Information about the request (in particular: formating options) may be
319 obtained from <code>req</code> but the dominant source of information
320 should be <code>rsp</code>.
322 There are no mandatory actions that write must perform.
323 An empty write implementation would fulfill
324 all interface obligations.
328 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html#write(java.io.Writer, org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">write</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html" title="interface in org.apache.solr.response">QueryResponseWriter</A></CODE></DL>
333 <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
338 <A NAME="getContentType(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)"><!-- --></A><H3>
341 public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getContentType</B>(<A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> request,
342 <A HREF="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A> response)</PRE>
344 <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html#getContentType(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">QueryResponseWriter</A></CODE></B></DD>
345 <DD>Return the applicable Content Type for a request, this method
349 QueryResponseWriter's must implement this method to return a valid
350 HTTP Content-Type header for the request, that will logically
351 correspond with the output produced by the write method.
355 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html#getContentType(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">getContentType</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html" title="interface in org.apache.solr.response">QueryResponseWriter</A></CODE></DL>
359 <DT><B>Returns:</B><DD>a Content-Type string, which may not be null.</DL>
364 <A NAME="init(org.apache.solr.common.util.NamedList)"><!-- --></A><H3>
367 public void <B>init</B>(<A HREF="../../../../../solr-solrj/org/apache/solr/common/util/NamedList.html?is-external=true" title="class or interface in org.apache.solr.common.util">NamedList</A> args)</PRE>
369 <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html#init(org.apache.solr.common.util.NamedList)">QueryResponseWriter</A></CODE></B></DD>
370 <DD><code>init</code> will be called just once, immediately after creation.
371 <p>The args are user-level initialization parameters that
372 may be specified when declaring a response writer in
376 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html#init(org.apache.solr.common.util.NamedList)">init</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/response/QueryResponseWriter.html" title="interface in org.apache.solr.response">QueryResponseWriter</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/solr/util/plugin/NamedListInitializedPlugin.html#init(org.apache.solr.common.util.NamedList)">init</A></CODE> in interface <CODE><A HREF="../../../../org/apache/solr/util/plugin/NamedListInitializedPlugin.html" title="interface in org.apache.solr.util.plugin">NamedListInitializedPlugin</A></CODE></DL>
384 <A NAME="getParsedResponse(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)"><!-- --></A><H3>
385 getParsedResponse</H3>
387 public static <A HREF="../../../../../solr-solrj/org/apache/solr/common/util/NamedList.html?is-external=true" title="class or interface in org.apache.solr.common.util">NamedList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getParsedResponse</B>(<A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> req,
388 <A HREF="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A> rsp)</PRE>
390 <DD>TODO -- there may be a way to do this without marshal at all...
397 <DT><B>Returns:</B><DD>a response object equivalent to what you get from the XML/JSON/javabin parser. Documents become
398 SolrDocuments, DocList becomes SolrDocumentList etc.<DT><B>Since:</B></DT>
403 <!-- ========= END OF CLASS DATA ========= -->
407 <!-- ======= START OF BOTTOM NAVBAR ====== -->
408 <A NAME="navbar_bottom"><!-- --></A>
409 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
410 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
412 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
413 <A NAME="navbar_bottom_firstrow"><!-- --></A>
414 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
415 <TR ALIGN="center" VALIGN="top">
416 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
417 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
418 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
419 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BinaryResponseWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
420 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
421 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
422 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
426 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
432 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
433 <A HREF="../../../../org/apache/solr/response/BinaryQueryResponseWriter.html" title="interface in org.apache.solr.response"><B>PREV CLASS</B></A>
434 <A HREF="../../../../org/apache/solr/response/BinaryResponseWriter.Resolver.html" title="class in org.apache.solr.response"><B>NEXT CLASS</B></A></FONT></TD>
435 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
436 <A HREF="../../../../index.html?org/apache/solr/response/BinaryResponseWriter.html" target="_top"><B>FRAMES</B></A>
437 <A HREF="BinaryResponseWriter.html" target="_top"><B>NO FRAMES</B></A>
438 <SCRIPT type="text/javascript">
441 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
446 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
453 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
454 SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
455 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
456 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
459 <A NAME="skip-navbar_bottom"></A>
460 <!-- ======== END OF BOTTOM NAVBAR ======= -->
464 <i>Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.</i>
465 <script src='../../../../prettify.js' type='text/javascript'></script>
466 <script type='text/javascript'>
468 var oldonload = window.onload;
469 if (typeof oldonload != 'function') {
470 window.onload = prettyPrint;
472 window.onload = function() {