1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
2 | <!--NewPage--> |
---|
3 | <HTML> |
---|
4 | <HEAD> |
---|
5 | <!-- Generated by javadoc (build 1.6.0_24) on Mon Jun 25 15:26:25 EDT 2012 --> |
---|
6 | <META http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
7 | <TITLE> |
---|
8 | PHPSerializedResponseWriter (Solr 4.0.0-ALPHA API) |
---|
9 | </TITLE> |
---|
10 | |
---|
11 | <META NAME="date" CONTENT="2012-06-25"> |
---|
12 | |
---|
13 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
---|
14 | |
---|
15 | <SCRIPT type="text/javascript"> |
---|
16 | function windowTitle() |
---|
17 | { |
---|
18 | if (location.href.indexOf('is-external=true') == -1) { |
---|
19 | parent.document.title="PHPSerializedResponseWriter (Solr 4.0.0-ALPHA API)"; |
---|
20 | } |
---|
21 | } |
---|
22 | </SCRIPT> |
---|
23 | <NOSCRIPT> |
---|
24 | </NOSCRIPT> |
---|
25 | |
---|
26 | </HEAD> |
---|
27 | |
---|
28 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
29 | <HR> |
---|
30 | |
---|
31 | |
---|
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=""> |
---|
36 | <TR> |
---|
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/PHPSerializedResponseWriter.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> |
---|
48 | </TR> |
---|
49 | </TABLE> |
---|
50 | </TD> |
---|
51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
52 | </EM> |
---|
53 | </TD> |
---|
54 | </TR> |
---|
55 | |
---|
56 | <TR> |
---|
57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
58 | <A HREF="../../../../org/apache/solr/response/PHPResponseWriter.html" title="class in org.apache.solr.response"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/solr/response/PythonResponseWriter.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/PHPSerializedResponseWriter.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="PHPSerializedResponseWriter.html" target="_top"><B>NO FRAMES</B></A> |
---|
63 | <SCRIPT type="text/javascript"> |
---|
64 | <!-- |
---|
65 | if(window==top) { |
---|
66 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
67 | } |
---|
68 | //--> |
---|
69 | </SCRIPT> |
---|
70 | <NOSCRIPT> |
---|
71 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
72 | </NOSCRIPT> |
---|
73 | |
---|
74 | |
---|
75 | </FONT></TD> |
---|
76 | </TR> |
---|
77 | <TR> |
---|
78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
79 | SUMMARY: NESTED | FIELD | <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: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
82 | </TR> |
---|
83 | </TABLE> |
---|
84 | <A NAME="skip-navbar_top"></A> |
---|
85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
86 | |
---|
87 | <HR> |
---|
88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
89 | <H2> |
---|
90 | <FONT SIZE="-1"> |
---|
91 | org.apache.solr.response</FONT> |
---|
92 | <BR> |
---|
93 | Class PHPSerializedResponseWriter</H2> |
---|
94 | <PRE> |
---|
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.PHPSerializedResponseWriter</B> |
---|
97 | </PRE> |
---|
98 | <DL> |
---|
99 | <DT><B>All Implemented Interfaces:</B> <DD><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> |
---|
100 | </DL> |
---|
101 | <HR> |
---|
102 | <DL> |
---|
103 | <DT><PRE>public class <B>PHPSerializedResponseWriter</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/QueryResponseWriter.html" title="interface in org.apache.solr.response">QueryResponseWriter</A></DL> |
---|
104 | </PRE> |
---|
105 | |
---|
106 | <P> |
---|
107 | A description of the PHP serialization format can be found here: |
---|
108 | http://www.hurring.com/scott/code/perl/serialize/ |
---|
109 | <P> |
---|
110 | |
---|
111 | <P> |
---|
112 | <HR> |
---|
113 | |
---|
114 | <P> |
---|
115 | <!-- =========== FIELD SUMMARY =========== --> |
---|
116 | |
---|
117 | <A NAME="field_summary"><!-- --></A> |
---|
118 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
119 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
120 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
121 | <B>Field Summary</B></FONT></TH> |
---|
122 | </TR> |
---|
123 | </TABLE> |
---|
124 | <A NAME="fields_inherited_from_class_org.apache.solr.response.QueryResponseWriter"><!-- --></A> |
---|
125 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
126 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
127 | <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> |
---|
128 | </TR> |
---|
129 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
130 | <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> |
---|
131 | </TR> |
---|
132 | </TABLE> |
---|
133 | |
---|
134 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
135 | |
---|
136 | <A NAME="constructor_summary"><!-- --></A> |
---|
137 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
138 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
139 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
140 | <B>Constructor Summary</B></FONT></TH> |
---|
141 | </TR> |
---|
142 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
143 | <TD><CODE><B><A HREF="../../../../org/apache/solr/response/PHPSerializedResponseWriter.html#PHPSerializedResponseWriter()">PHPSerializedResponseWriter</A></B>()</CODE> |
---|
144 | |
---|
145 | <BR> |
---|
146 | </TD> |
---|
147 | </TR> |
---|
148 | </TABLE> |
---|
149 | |
---|
150 | <!-- ========== METHOD SUMMARY =========== --> |
---|
151 | |
---|
152 | <A NAME="method_summary"><!-- --></A> |
---|
153 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
154 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
155 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
156 | <B>Method Summary</B></FONT></TH> |
---|
157 | </TR> |
---|
158 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
159 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
160 | <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> |
---|
161 | <TD><CODE><B><A HREF="../../../../org/apache/solr/response/PHPSerializedResponseWriter.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, |
---|
162 | <A HREF="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A> response)</CODE> |
---|
163 | |
---|
164 | <BR> |
---|
165 | Return the applicable Content Type for a request, this method |
---|
166 | must be thread safe.</TD> |
---|
167 | </TR> |
---|
168 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
169 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
170 | <CODE> void</CODE></FONT></TD> |
---|
171 | <TD><CODE><B><A HREF="../../../../org/apache/solr/response/PHPSerializedResponseWriter.html#init(org.apache.solr.common.util.NamedList)">init</A></B>(<A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A> n)</CODE> |
---|
172 | |
---|
173 | <BR> |
---|
174 | <code>init</code> will be called just once, immediately after creation.</TD> |
---|
175 | </TR> |
---|
176 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
177 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
178 | <CODE> void</CODE></FONT></TD> |
---|
179 | <TD><CODE><B><A HREF="../../../../org/apache/solr/response/PHPSerializedResponseWriter.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, |
---|
180 | <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> req, |
---|
181 | <A HREF="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A> rsp)</CODE> |
---|
182 | |
---|
183 | <BR> |
---|
184 | Write a SolrQueryResponse, this method must be thread save.</TD> |
---|
185 | </TR> |
---|
186 | </TABLE> |
---|
187 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
188 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
189 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
190 | <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> |
---|
191 | </TR> |
---|
192 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
193 | <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> |
---|
194 | </TR> |
---|
195 | </TABLE> |
---|
196 | |
---|
197 | <P> |
---|
198 | |
---|
199 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
200 | |
---|
201 | <A NAME="constructor_detail"><!-- --></A> |
---|
202 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
203 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
204 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
205 | <B>Constructor Detail</B></FONT></TH> |
---|
206 | </TR> |
---|
207 | </TABLE> |
---|
208 | |
---|
209 | <A NAME="PHPSerializedResponseWriter()"><!-- --></A><H3> |
---|
210 | PHPSerializedResponseWriter</H3> |
---|
211 | <PRE> |
---|
212 | public <B>PHPSerializedResponseWriter</B>()</PRE> |
---|
213 | <DL> |
---|
214 | </DL> |
---|
215 | |
---|
216 | <!-- ============ METHOD DETAIL ========== --> |
---|
217 | |
---|
218 | <A NAME="method_detail"><!-- --></A> |
---|
219 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
220 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
221 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
222 | <B>Method Detail</B></FONT></TH> |
---|
223 | </TR> |
---|
224 | </TABLE> |
---|
225 | |
---|
226 | <A NAME="init(org.apache.solr.common.util.NamedList)"><!-- --></A><H3> |
---|
227 | init</H3> |
---|
228 | <PRE> |
---|
229 | public void <B>init</B>(<A HREF="../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A> n)</PRE> |
---|
230 | <DL> |
---|
231 | <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> |
---|
232 | <DD><code>init</code> will be called just once, immediately after creation. |
---|
233 | <p>The args are user-level initialization parameters that |
---|
234 | may be specified when declaring a response writer in |
---|
235 | solrconfig.xml |
---|
236 | <P> |
---|
237 | <DD><DL> |
---|
238 | <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> |
---|
239 | </DD> |
---|
240 | <DD><DL> |
---|
241 | </DL> |
---|
242 | </DD> |
---|
243 | </DL> |
---|
244 | <HR> |
---|
245 | |
---|
246 | <A NAME="write(java.io.Writer, org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)"><!-- --></A><H3> |
---|
247 | write</H3> |
---|
248 | <PRE> |
---|
249 | 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, |
---|
250 | <A HREF="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A> req, |
---|
251 | <A HREF="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A> rsp) |
---|
252 | 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> |
---|
253 | <DL> |
---|
254 | <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> |
---|
255 | <DD>Write a SolrQueryResponse, this method must be thread save. |
---|
256 | |
---|
257 | <p> |
---|
258 | Information about the request (in particular: formating options) may be |
---|
259 | obtained from <code>req</code> but the dominant source of information |
---|
260 | should be <code>rsp</code>. |
---|
261 | <p> |
---|
262 | There are no mandatory actions that write must perform. |
---|
263 | An empty write implementation would fulfill |
---|
264 | all interface obligations. |
---|
265 | </p> |
---|
266 | <P> |
---|
267 | <DD><DL> |
---|
268 | <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> |
---|
269 | </DD> |
---|
270 | <DD><DL> |
---|
271 | |
---|
272 | <DT><B>Throws:</B> |
---|
273 | <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> |
---|
274 | </DD> |
---|
275 | </DL> |
---|
276 | <HR> |
---|
277 | |
---|
278 | <A NAME="getContentType(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)"><!-- --></A><H3> |
---|
279 | getContentType</H3> |
---|
280 | <PRE> |
---|
281 | 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, |
---|
282 | <A HREF="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A> response)</PRE> |
---|
283 | <DL> |
---|
284 | <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> |
---|
285 | <DD>Return the applicable Content Type for a request, this method |
---|
286 | must be thread safe. |
---|
287 | |
---|
288 | <p> |
---|
289 | QueryResponseWriter's must implement this method to return a valid |
---|
290 | HTTP Content-Type header for the request, that will logically |
---|
291 | correspond with the output produced by the write method. |
---|
292 | </p> |
---|
293 | <P> |
---|
294 | <DD><DL> |
---|
295 | <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> |
---|
296 | </DD> |
---|
297 | <DD><DL> |
---|
298 | |
---|
299 | <DT><B>Returns:</B><DD>a Content-Type string, which may not be null.</DL> |
---|
300 | </DD> |
---|
301 | </DL> |
---|
302 | <!-- ========= END OF CLASS DATA ========= --> |
---|
303 | <HR> |
---|
304 | |
---|
305 | |
---|
306 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
307 | <A NAME="navbar_bottom"><!-- --></A> |
---|
308 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
309 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
310 | <TR> |
---|
311 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
312 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
313 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
314 | <TR ALIGN="center" VALIGN="top"> |
---|
315 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
316 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
317 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
318 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PHPSerializedResponseWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
319 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
320 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
321 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
322 | </TR> |
---|
323 | </TABLE> |
---|
324 | </TD> |
---|
325 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
326 | </EM> |
---|
327 | </TD> |
---|
328 | </TR> |
---|
329 | |
---|
330 | <TR> |
---|
331 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
332 | <A HREF="../../../../org/apache/solr/response/PHPResponseWriter.html" title="class in org.apache.solr.response"><B>PREV CLASS</B></A> |
---|
333 | <A HREF="../../../../org/apache/solr/response/PythonResponseWriter.html" title="class in org.apache.solr.response"><B>NEXT CLASS</B></A></FONT></TD> |
---|
334 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
335 | <A HREF="../../../../index.html?org/apache/solr/response/PHPSerializedResponseWriter.html" target="_top"><B>FRAMES</B></A> |
---|
336 | <A HREF="PHPSerializedResponseWriter.html" target="_top"><B>NO FRAMES</B></A> |
---|
337 | <SCRIPT type="text/javascript"> |
---|
338 | <!-- |
---|
339 | if(window==top) { |
---|
340 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
341 | } |
---|
342 | //--> |
---|
343 | </SCRIPT> |
---|
344 | <NOSCRIPT> |
---|
345 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
346 | </NOSCRIPT> |
---|
347 | |
---|
348 | |
---|
349 | </FONT></TD> |
---|
350 | </TR> |
---|
351 | <TR> |
---|
352 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
353 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
354 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
355 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
356 | </TR> |
---|
357 | </TABLE> |
---|
358 | <A NAME="skip-navbar_bottom"></A> |
---|
359 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
360 | |
---|
361 | <HR> |
---|
362 | |
---|
363 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
364 | <script src='../../../../prettify.js' type='text/javascript'></script> |
---|
365 | <script type='text/javascript'> |
---|
366 | (function(){ |
---|
367 | var oldonload = window.onload; |
---|
368 | if (typeof oldonload != 'function') { |
---|
369 | window.onload = prettyPrint; |
---|
370 | } else { |
---|
371 | window.onload = function() { |
---|
372 | oldonload(); |
---|
373 | prettyPrint(); |
---|
374 | } |
---|
375 | } |
---|
376 | })(); |
---|
377 | </script> |
---|
378 | |
---|
379 | </BODY> |
---|
380 | </HTML> |
---|