1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (version 1.6.0_27) on Thu Oct 17 21:44:55 EDT 2013 -->
6 <meta http-equiv="Content-Type" content="text/html" charset="utf-8">
7 <title>SolrCore.LazyQueryResponseWriterWrapper (Solr 4.5.1 API)</title>
8 <meta name="date" content="2013-10-17">
9 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
12 <script type="text/javascript"><!--
13 if (location.href.indexOf('is-external=true') == -1) {
14 parent.document.title="SolrCore.LazyQueryResponseWriterWrapper (Solr 4.5.1 API)";
19 <div>JavaScript is disabled on your browser.</div>
21 <!-- ========= START OF TOP NAVBAR ======= -->
22 <div class="topNav"><a name="navbar_top">
24 </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
27 <ul class="navList" title="Navigation">
28 <li><a href="../../../../overview-summary.html">Overview</a></li>
29 <li><a href="package-summary.html">Package</a></li>
30 <li class="navBarCell1Rev">Class</li>
31 <li><a href="class-use/SolrCore.LazyQueryResponseWriterWrapper.html">Use</a></li>
32 <li><a href="package-tree.html">Tree</a></li>
33 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
34 <li><a href="../../../../help-doc.html">Help</a></li>
39 <li><a href="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core"><span class="strong">PREV CLASS</span></a></li>
40 <li><a href="../../../../org/apache/solr/core/SolrDeletionPolicy.html" title="class in org.apache.solr.core"><span class="strong">NEXT CLASS</span></a></li>
43 <li><a href="../../../../index.html?org/apache/solr/core/SolrCore.LazyQueryResponseWriterWrapper.html" target="_top">FRAMES</a></li>
44 <li><a href="SolrCore.LazyQueryResponseWriterWrapper.html" target="_top">NO FRAMES</a></li>
46 <ul class="navList" id="allclasses_navbar_top">
47 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
50 <script type="text/javascript"><!--
51 allClassesLink = document.getElementById("allclasses_navbar_top");
53 allClassesLink.style.display = "block";
56 allClassesLink.style.display = "none";
62 <ul class="subNavList">
63 <li>SUMMARY: </li>
64 <li>NESTED | </li>
65 <li>FIELD | </li>
66 <li><a href="#constructor_summary">CONSTR</a> | </li>
67 <li><a href="#method_summary">METHOD</a></li>
69 <ul class="subNavList">
70 <li>DETAIL: </li>
71 <li>FIELD | </li>
72 <li><a href="#constructor_detail">CONSTR</a> | </li>
73 <li><a href="#method_detail">METHOD</a></li>
76 <a name="skip-navbar_top">
79 <!-- ========= END OF TOP NAVBAR ========= -->
80 <!-- ======== START OF CLASS DATA ======== -->
82 <p class="subTitle">org.apache.solr.core</p>
83 <h2 title="Class SolrCore.LazyQueryResponseWriterWrapper" class="title">Class SolrCore.LazyQueryResponseWriterWrapper</h2>
85 <div class="contentContainer">
86 <ul class="inheritance">
87 <li><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></li>
89 <ul class="inheritance">
90 <li>org.apache.solr.core.SolrCore.LazyQueryResponseWriterWrapper</li>
94 <div class="description">
95 <ul class="blockList">
96 <li class="blockList">
98 <dt>All Implemented Interfaces:</dt>
99 <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>
102 <dt>Enclosing class:</dt>
103 <dd><a href="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</a></dd>
107 <pre>public final class <strong>SolrCore.LazyQueryResponseWriterWrapper</strong>
108 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>
109 implements <a href="../../../../org/apache/solr/response/QueryResponseWriter.html" title="interface in org.apache.solr.response">QueryResponseWriter</a></pre>
113 <div class="summary">
114 <ul class="blockList">
115 <li class="blockList">
116 <!-- =========== FIELD SUMMARY =========== -->
117 <ul class="blockList">
118 <li class="blockList"><a name="field_summary">
121 <h3>Field Summary</h3>
122 <ul class="blockList">
123 <li class="blockList"><a name="fields_inherited_from_class_org.apache.solr.response.QueryResponseWriter">
126 <h3>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></h3>
127 <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></li>
131 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
132 <ul class="blockList">
133 <li class="blockList"><a name="constructor_summary">
136 <h3>Constructor Summary</h3>
137 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
138 <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
140 <th class="colOne" scope="col">Constructor and Description</th>
142 <tr class="altColor">
143 <td class="colOne"><code><strong><a href="../../../../org/apache/solr/core/SolrCore.LazyQueryResponseWriterWrapper.html#SolrCore.LazyQueryResponseWriterWrapper(org.apache.solr.core.SolrCore, java.lang.String, org.apache.solr.common.util.NamedList)">SolrCore.LazyQueryResponseWriterWrapper</a></strong>(<a href="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</a> core,
144 <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> className,
145 <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> </td>
150 <!-- ========== METHOD SUMMARY =========== -->
151 <ul class="blockList">
152 <li class="blockList"><a name="method_summary">
155 <h3>Method Summary</h3>
156 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
157 <caption><span>Methods</span><span class="tabEnd"> </span></caption>
159 <th class="colFirst" scope="col">Modifier and Type</th>
160 <th class="colLast" scope="col">Method and Description</th>
162 <tr class="altColor">
163 <td class="colFirst"><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></td>
164 <td class="colLast"><code><strong><a href="../../../../org/apache/solr/core/SolrCore.LazyQueryResponseWriterWrapper.html#getContentType(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">getContentType</a></strong>(<a href="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</a> request,
165 <a href="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</a> response)</code>
166 <div class="block">Return the applicable Content Type for a request, this method
167 must be thread safe.</div>
170 <tr class="rowColor">
171 <td class="colFirst"><code><a href="../../../../org/apache/solr/response/QueryResponseWriter.html" title="interface in org.apache.solr.response">QueryResponseWriter</a></code></td>
172 <td class="colLast"><code><strong><a href="../../../../org/apache/solr/core/SolrCore.LazyQueryResponseWriterWrapper.html#getWrappedWriter()">getWrappedWriter</a></strong>()</code> </td>
174 <tr class="altColor">
175 <td class="colFirst"><code>void</code></td>
176 <td class="colLast"><code><strong><a href="../../../../org/apache/solr/core/SolrCore.LazyQueryResponseWriterWrapper.html#init(org.apache.solr.common.util.NamedList)">init</a></strong>(<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>
177 <div class="block"><code>init</code> will be called just once, immediately after creation.</div>
180 <tr class="rowColor">
181 <td class="colFirst"><code>void</code></td>
182 <td class="colLast"><code><strong><a href="../../../../org/apache/solr/core/SolrCore.LazyQueryResponseWriterWrapper.html#write(java.io.Writer, org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">write</a></strong>(<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,
183 <a href="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</a> request,
184 <a href="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</a> response)</code>
185 <div class="block">Write a SolrQueryResponse, this method must be thread save.</div>
189 <ul class="blockList">
190 <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
193 <h3>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></h3>
194 <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></li>
201 <div class="details">
202 <ul class="blockList">
203 <li class="blockList">
204 <!-- ========= CONSTRUCTOR DETAIL ======== -->
205 <ul class="blockList">
206 <li class="blockList"><a name="constructor_detail">
209 <h3>Constructor Detail</h3>
210 <a name="SolrCore.LazyQueryResponseWriterWrapper(org.apache.solr.core.SolrCore, java.lang.String, org.apache.solr.common.util.NamedList)">
213 <ul class="blockListLast">
214 <li class="blockList">
215 <h4>SolrCore.LazyQueryResponseWriterWrapper</h4>
216 <pre>public SolrCore.LazyQueryResponseWriterWrapper(<a href="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core">SolrCore</a> core,
217 <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> className,
218 <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>
223 <!-- ============ METHOD DETAIL ========== -->
224 <ul class="blockList">
225 <li class="blockList"><a name="method_detail">
228 <h3>Method Detail</h3>
229 <a name="getWrappedWriter()">
232 <ul class="blockList">
233 <li class="blockList">
234 <h4>getWrappedWriter</h4>
235 <pre>public <a href="../../../../org/apache/solr/response/QueryResponseWriter.html" title="interface in org.apache.solr.response">QueryResponseWriter</a> getWrappedWriter()</pre>
238 <a name="init(org.apache.solr.common.util.NamedList)">
241 <ul class="blockList">
242 <li class="blockList">
244 <pre>public void init(<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>
245 <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/solr/response/QueryResponseWriter.html#init(org.apache.solr.common.util.NamedList)">QueryResponseWriter</a></code></strong></div>
246 <div class="block"><code>init</code> will be called just once, immediately after creation.
247 <p>The args are user-level initialization parameters that
248 may be specified when declaring a response writer in
251 <dt><strong>Specified by:</strong></dt>
252 <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></dd>
253 <dt><strong>Specified by:</strong></dt>
254 <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></dd>
258 <a name="write(java.io.Writer, org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">
261 <ul class="blockList">
262 <li class="blockList">
264 <pre>public void write(<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,
265 <a href="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</a> request,
266 <a href="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</a> response)
267 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>
268 <div class="block"><strong>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></strong></div>
269 <div class="block">Write a SolrQueryResponse, this method must be thread save.
272 Information about the request (in particular: formating options) may be
273 obtained from <code>req</code> but the dominant source of information
274 should be <code>rsp</code>.
276 There are no mandatory actions that write must perform.
277 An empty write implementation would fulfill
278 all interface obligations.
281 <dt><strong>Specified by:</strong></dt>
282 <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></dd>
283 <dt><span class="strong">Throws:</span></dt>
284 <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></dd></dl>
287 <a name="getContentType(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">
290 <ul class="blockListLast">
291 <li class="blockList">
292 <h4>getContentType</h4>
293 <pre>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> getContentType(<a href="../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</a> request,
294 <a href="../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</a> response)</pre>
295 <div class="block"><strong>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></strong></div>
296 <div class="block">Return the applicable Content Type for a request, this method
300 QueryResponseWriter's must implement this method to return a valid
301 HTTP Content-Type header for the request, that will logically
302 correspond with the output produced by the write method.
305 <dt><strong>Specified by:</strong></dt>
306 <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></dd>
307 <dt><span class="strong">Returns:</span></dt><dd>a Content-Type string, which may not be null.</dd></dl>
316 <!-- ========= END OF CLASS DATA ========= -->
317 <!-- ======= START OF BOTTOM NAVBAR ====== -->
318 <div class="bottomNav"><a name="navbar_bottom">
320 </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
323 <ul class="navList" title="Navigation">
324 <li><a href="../../../../overview-summary.html">Overview</a></li>
325 <li><a href="package-summary.html">Package</a></li>
326 <li class="navBarCell1Rev">Class</li>
327 <li><a href="class-use/SolrCore.LazyQueryResponseWriterWrapper.html">Use</a></li>
328 <li><a href="package-tree.html">Tree</a></li>
329 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
330 <li><a href="../../../../help-doc.html">Help</a></li>
335 <li><a href="../../../../org/apache/solr/core/SolrCore.html" title="class in org.apache.solr.core"><span class="strong">PREV CLASS</span></a></li>
336 <li><a href="../../../../org/apache/solr/core/SolrDeletionPolicy.html" title="class in org.apache.solr.core"><span class="strong">NEXT CLASS</span></a></li>
339 <li><a href="../../../../index.html?org/apache/solr/core/SolrCore.LazyQueryResponseWriterWrapper.html" target="_top">FRAMES</a></li>
340 <li><a href="SolrCore.LazyQueryResponseWriterWrapper.html" target="_top">NO FRAMES</a></li>
342 <ul class="navList" id="allclasses_navbar_bottom">
343 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
346 <script type="text/javascript"><!--
347 allClassesLink = document.getElementById("allclasses_navbar_bottom");
349 allClassesLink.style.display = "block";
352 allClassesLink.style.display = "none";
358 <ul class="subNavList">
359 <li>SUMMARY: </li>
360 <li>NESTED | </li>
361 <li>FIELD | </li>
362 <li><a href="#constructor_summary">CONSTR</a> | </li>
363 <li><a href="#method_summary">METHOD</a></li>
365 <ul class="subNavList">
366 <li>DETAIL: </li>
367 <li>FIELD | </li>
368 <li><a href="#constructor_detail">CONSTR</a> | </li>
369 <li><a href="#method_detail">METHOD</a></li>
372 <a name="skip-navbar_bottom">
375 <!-- ======== END OF BOTTOM NAVBAR ======= -->
376 <p class="legalCopy"><small>
377 <i>Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.</i>
378 <script src='../../../../prettify.js' type='text/javascript'></script>
379 <script type='text/javascript'>
381 var oldonload = window.onload;
382 if (typeof oldonload != 'function') {
383 window.onload = prettyPrint;
385 window.onload = function() {