source: sandbox/expresso-solr/solr/docs/api/org/apache/solr/handler/admin/ShowFileRequestHandler.html @ 7588

Revision 7588, 32.5 KB checked in by adir, 11 years ago (diff)

Ticket #000 - Adicionando a integracao de buscas com Solr na base a ser isnerida na comunidade

Line 
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:24 EDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=utf-8">
7<TITLE>
8ShowFileRequestHandler (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">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="ShowFileRequestHandler (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>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ShowFileRequestHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../../org/apache/solr/handler/admin/PropertiesRequestHandler.html" title="class in org.apache.solr.handler.admin"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../../org/apache/solr/handler/admin/SolrInfoMBeanHandler.html" title="class in org.apache.solr.handler.admin"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../../index.html?org/apache/solr/handler/admin/ShowFileRequestHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="ShowFileRequestHandler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
91org.apache.solr.handler.admin</FONT>
92<BR>
93Class ShowFileRequestHandler</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 "><A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html" title="class in org.apache.solr.handler">org.apache.solr.handler.RequestHandlerBase</A>
97      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.handler.admin.ShowFileRequestHandler</B>
98</PRE>
99<DL>
100<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/solr/core/SolrInfoMBean.html" title="interface in org.apache.solr.core">SolrInfoMBean</A>, <A HREF="../../../../../org/apache/solr/request/SolrRequestHandler.html" title="interface in org.apache.solr.request">SolrRequestHandler</A></DD>
101</DL>
102<HR>
103<DL>
104<DT><PRE>public class <B>ShowFileRequestHandler</B><DT>extends <A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html" title="class in org.apache.solr.handler">RequestHandlerBase</A></DL>
105</PRE>
106
107<P>
108This handler uses the RawResponseWriter to give client access to
109 files inside ${solr.home}/conf
110 
111 If you want to selectively restrict access some configuration files, you can list
112 these files in the <A HREF="../../../../../org/apache/solr/handler/admin/ShowFileRequestHandler.html#HIDDEN"><CODE>HIDDEN</CODE></A> invariants.  For example to hide
113 synonyms.txt and anotherfile.txt, you would register:
114 
115 <pre>
116 &lt;requestHandler name="/admin/file" class="org.apache.solr.handler.admin.ShowFileRequestHandler" &gt;
117   &lt;lst name="defaults"&gt;
118    &lt;str name="echoParams"&gt;explicit&lt;/str&gt;
119   &lt;/lst&gt;
120   &lt;lst name="invariants"&gt;
121    &lt;str name="hidden"&gt;synonyms.txt&lt;/str&gt;
122    &lt;str name="hidden"&gt;anotherfile.txt&lt;/str&gt;
123   &lt;/lst&gt;
124 &lt;/requestHandler&gt;
125 </pre>
126 
127 The ShowFileRequestHandler uses the <A HREF="../../../../../org/apache/solr/response/RawResponseWriter.html" title="class in org.apache.solr.response"><CODE>RawResponseWriter</CODE></A> (wt=raw) to return
128 file contents.  If you need to use a different writer, you will need to change
129 the registered invariant param for wt.
130 
131 If you want to override the contentType header returned for a given file, you can
132 set it directly using: <A HREF="../../../../../org/apache/solr/handler/admin/ShowFileRequestHandler.html#USE_CONTENT_TYPE"><CODE>USE_CONTENT_TYPE</CODE></A>.  For example, to get a plain text
133 version of schema.xml, try:
134 <pre>
135   http://localhost:8983/solr/admin/file?file=schema.xml&contentType=text/plain
136 </pre>
137<P>
138
139<P>
140<DL>
141<DT><B>Since:</B></DT>
142  <DD>solr 1.3</DD>
143</DL>
144<HR>
145
146<P>
147<!-- ======== NESTED CLASS SUMMARY ======== -->
148
149<A NAME="nested_class_summary"><!-- --></A>
150<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
151<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
152<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
153<B>Nested Class Summary</B></FONT></TH>
154</TR>
155</TABLE>
156&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.solr.core.SolrInfoMBean"><!-- --></A>
157<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
158<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
159<TH ALIGN="left"><B>Nested classes/interfaces inherited from interface org.apache.solr.core.<A HREF="../../../../../org/apache/solr/core/SolrInfoMBean.html" title="interface in org.apache.solr.core">SolrInfoMBean</A></B></TH>
160</TR>
161<TR BGCOLOR="white" CLASS="TableRowColor">
162<TD><CODE><A HREF="../../../../../org/apache/solr/core/SolrInfoMBean.Category.html" title="enum in org.apache.solr.core">SolrInfoMBean.Category</A></CODE></TD>
163</TR>
164</TABLE>
165&nbsp;
166<!-- =========== FIELD SUMMARY =========== -->
167
168<A NAME="field_summary"><!-- --></A>
169<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
171<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
172<B>Field Summary</B></FONT></TH>
173</TR>
174<TR BGCOLOR="white" CLASS="TableRowColor">
175<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176<CODE>static&nbsp;<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>
177<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/admin/ShowFileRequestHandler.html#HIDDEN">HIDDEN</A></B></CODE>
178
179<BR>
180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
181</TR>
182<TR BGCOLOR="white" CLASS="TableRowColor">
183<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184<CODE>protected &nbsp;<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>&lt;<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>&gt;</CODE></FONT></TD>
185<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/admin/ShowFileRequestHandler.html#hiddenFiles">hiddenFiles</A></B></CODE>
186
187<BR>
188&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
189</TR>
190<TR BGCOLOR="white" CLASS="TableRowColor">
191<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192<CODE>static&nbsp;<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>
193<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/admin/ShowFileRequestHandler.html#USE_CONTENT_TYPE">USE_CONTENT_TYPE</A></B></CODE>
194
195<BR>
196&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
197</TR>
198</TABLE>
199&nbsp;<A NAME="fields_inherited_from_class_org.apache.solr.handler.RequestHandlerBase"><!-- --></A>
200<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
201<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
202<TH ALIGN="left"><B>Fields inherited from class org.apache.solr.handler.<A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html" title="class in org.apache.solr.handler">RequestHandlerBase</A></B></TH>
203</TR>
204<TR BGCOLOR="white" CLASS="TableRowColor">
205<TD><CODE><A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#appends">appends</A>, <A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#defaults">defaults</A>, <A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#httpCaching">httpCaching</A>, <A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#initArgs">initArgs</A>, <A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#invariants">invariants</A></CODE></TD>
206</TR>
207</TABLE>
208&nbsp;
209<!-- ======== CONSTRUCTOR SUMMARY ======== -->
210
211<A NAME="constructor_summary"><!-- --></A>
212<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
213<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
214<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
215<B>Constructor Summary</B></FONT></TH>
216</TR>
217<TR BGCOLOR="white" CLASS="TableRowColor">
218<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/admin/ShowFileRequestHandler.html#ShowFileRequestHandler()">ShowFileRequestHandler</A></B>()</CODE>
219
220<BR>
221&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
222</TR>
223</TABLE>
224&nbsp;
225<!-- ========== METHOD SUMMARY =========== -->
226
227<A NAME="method_summary"><!-- --></A>
228<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
229<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
230<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
231<B>Method Summary</B></FONT></TH>
232</TR>
233<TR BGCOLOR="white" CLASS="TableRowColor">
234<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235<CODE>&nbsp;<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>
236<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/admin/ShowFileRequestHandler.html#getDescription()">getDescription</A></B>()</CODE>
237
238<BR>
239&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple one or two line description</TD>
240</TR>
241<TR BGCOLOR="white" CLASS="TableRowColor">
242<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243<CODE>&nbsp;<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>&lt;<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>&gt;</CODE></FONT></TD>
244<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/admin/ShowFileRequestHandler.html#getHiddenFiles()">getHiddenFiles</A></B>()</CODE>
245
246<BR>
247&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
248</TR>
249<TR BGCOLOR="white" CLASS="TableRowColor">
250<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
251<CODE>&nbsp;<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>
252<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/admin/ShowFileRequestHandler.html#getSource()">getSource</A></B>()</CODE>
253
254<BR>
255&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CVS Source, SVN Source, etc</TD>
256</TR>
257<TR BGCOLOR="white" CLASS="TableRowColor">
258<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
259<CODE>&nbsp;void</CODE></FONT></TD>
260<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/admin/ShowFileRequestHandler.html#handleRequestBody(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">handleRequestBody</A></B>(<A HREF="../../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A>&nbsp;req,
261                  <A HREF="../../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A>&nbsp;rsp)</CODE>
262
263<BR>
264&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
265</TR>
266<TR BGCOLOR="white" CLASS="TableRowColor">
267<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
268<CODE>&nbsp;void</CODE></FONT></TD>
269<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/admin/ShowFileRequestHandler.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>&nbsp;args)</CODE>
270
271<BR>
272&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes the <A HREF="../../../../../org/apache/solr/request/SolrRequestHandler.html" title="interface in org.apache.solr.request"><CODE>SolrRequestHandler</CODE></A> by creating three <A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params"><CODE>SolrParams</CODE></A> named.</TD>
273</TR>
274</TABLE>
275&nbsp;<A NAME="methods_inherited_from_class_org.apache.solr.handler.RequestHandlerBase"><!-- --></A>
276<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
277<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
278<TH ALIGN="left"><B>Methods inherited from class org.apache.solr.handler.<A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html" title="class in org.apache.solr.handler">RequestHandlerBase</A></B></TH>
279</TR>
280<TR BGCOLOR="white" CLASS="TableRowColor">
281<TD><CODE><A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#getCategory()">getCategory</A>, <A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#getDocs()">getDocs</A>, <A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#getInitArgs()">getInitArgs</A>, <A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#getName()">getName</A>, <A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#getStatistics()">getStatistics</A>, <A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#getVersion()">getVersion</A>, <A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#handleRequest(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">handleRequest</A></CODE></TD>
282</TR>
283</TABLE>
284&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
285<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
286<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
287<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>
288</TR>
289<TR BGCOLOR="white" CLASS="TableRowColor">
290<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>
291</TR>
292</TABLE>
293&nbsp;
294<P>
295
296<!-- ============ FIELD DETAIL =========== -->
297
298<A NAME="field_detail"><!-- --></A>
299<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
300<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
301<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
302<B>Field Detail</B></FONT></TH>
303</TR>
304</TABLE>
305
306<A NAME="HIDDEN"><!-- --></A><H3>
307HIDDEN</H3>
308<PRE>
309public static final <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>HIDDEN</B></PRE>
310<DL>
311<DL>
312<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.admin.ShowFileRequestHandler.HIDDEN">Constant Field Values</A></DL>
313</DL>
314<HR>
315
316<A NAME="USE_CONTENT_TYPE"><!-- --></A><H3>
317USE_CONTENT_TYPE</H3>
318<PRE>
319public static final <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>USE_CONTENT_TYPE</B></PRE>
320<DL>
321<DL>
322<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.admin.ShowFileRequestHandler.USE_CONTENT_TYPE">Constant Field Values</A></DL>
323</DL>
324<HR>
325
326<A NAME="hiddenFiles"><!-- --></A><H3>
327hiddenFiles</H3>
328<PRE>
329protected <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>&lt;<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>&gt; <B>hiddenFiles</B></PRE>
330<DL>
331<DL>
332</DL>
333</DL>
334
335<!-- ========= CONSTRUCTOR DETAIL ======== -->
336
337<A NAME="constructor_detail"><!-- --></A>
338<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
339<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
340<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
341<B>Constructor Detail</B></FONT></TH>
342</TR>
343</TABLE>
344
345<A NAME="ShowFileRequestHandler()"><!-- --></A><H3>
346ShowFileRequestHandler</H3>
347<PRE>
348public <B>ShowFileRequestHandler</B>()</PRE>
349<DL>
350</DL>
351
352<!-- ============ METHOD DETAIL ========== -->
353
354<A NAME="method_detail"><!-- --></A>
355<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
356<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
357<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
358<B>Method Detail</B></FONT></TH>
359</TR>
360</TABLE>
361
362<A NAME="init(org.apache.solr.common.util.NamedList)"><!-- --></A><H3>
363init</H3>
364<PRE>
365public void <B>init</B>(<A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util">NamedList</A>&nbsp;args)</PRE>
366<DL>
367<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#init(org.apache.solr.common.util.NamedList)">RequestHandlerBase</A></CODE></B></DD>
368<DD>Initializes the <A HREF="../../../../../org/apache/solr/request/SolrRequestHandler.html" title="interface in org.apache.solr.request"><CODE>SolrRequestHandler</CODE></A> by creating three <A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params"><CODE>SolrParams</CODE></A> named.
369 <table border="1">
370 <tr><th>Name</th><th>Description</th></tr>
371 <tr><td>defaults</td><td>Contains all of the named arguments contained within the list element named "defaults".</td></tr>
372 <tr><td>appends</td><td>Contains all of the named arguments contained within the list element named "appends".</td></tr>
373 <tr><td>invariants</td><td>Contains all of the named arguments contained within the list element named "invariants".</td></tr>
374 </table>
375
376 Example:
377 <pre>
378 &lt;lst name="defaults"&gt;
379 &lt;str name="echoParams"&gt;explicit&lt;/str&gt;
380 &lt;str name="qf"&gt;text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0&lt;/str&gt;
381 &lt;str name="mm"&gt;2&lt;-1 5&lt;-2 6&lt;90%&lt;/str&gt;
382 &lt;str name="bq"&gt;incubationdate_dt:[* TO NOW/DAY-1MONTH]^2.2&lt;/str&gt;
383 &lt;/lst&gt;
384 &lt;lst name="appends"&gt;
385 &lt;str name="fq"&gt;inStock:true&lt;/str&gt;
386 &lt;/lst&gt;
387
388 &lt;lst name="invariants"&gt;
389 &lt;str name="facet.field"&gt;cat&lt;/str&gt;
390 &lt;str name="facet.field"&gt;manu_exact&lt;/str&gt;
391 &lt;str name="facet.query"&gt;price:[* TO 500]&lt;/str&gt;
392 &lt;str name="facet.query"&gt;price:[500 TO *]&lt;/str&gt;
393 &lt;/lst&gt;
394 </pre>
395<P>
396<DD><DL>
397<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/request/SolrRequestHandler.html#init(org.apache.solr.common.util.NamedList)">init</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/request/SolrRequestHandler.html" title="interface in org.apache.solr.request">SolrRequestHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#init(org.apache.solr.common.util.NamedList)">init</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html" title="class in org.apache.solr.handler">RequestHandlerBase</A></CODE></DL>
398</DD>
399<DD><DL>
400<DT><B>Parameters:</B><DD><CODE>args</CODE> - The <A HREF="../../../../../org/apache/solr/common/util/NamedList.html" title="class in org.apache.solr.common.util"><CODE>NamedList</CODE></A> to initialize from<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#handleRequest(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)"><CODE>RequestHandlerBase.handleRequest(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)</CODE></A>,
401<A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#handleRequestBody(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)"><CODE>RequestHandlerBase.handleRequestBody(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)</CODE></A>,
402<A HREF="../../../../../org/apache/solr/util/SolrPluginUtils.html#setDefaults(org.apache.solr.request.SolrQueryRequest, org.apache.solr.common.params.SolrParams, org.apache.solr.common.params.SolrParams, org.apache.solr.common.params.SolrParams)"><CODE>SolrPluginUtils.setDefaults(org.apache.solr.request.SolrQueryRequest, org.apache.solr.common.params.SolrParams, org.apache.solr.common.params.SolrParams, org.apache.solr.common.params.SolrParams)</CODE></A>,
403<A HREF="../../../../../org/apache/solr/common/params/SolrParams.html#toSolrParams(org.apache.solr.common.util.NamedList)"><CODE>See also the example solrconfig.xml located in the Solr codebase (example/solr/conf).</CODE></A></DL>
404</DD>
405</DL>
406<HR>
407
408<A NAME="getHiddenFiles()"><!-- --></A><H3>
409getHiddenFiles</H3>
410<PRE>
411public <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>&lt;<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>&gt; <B>getHiddenFiles</B>()</PRE>
412<DL>
413<DD><DL>
414</DL>
415</DD>
416</DL>
417<HR>
418
419<A NAME="handleRequestBody(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)"><!-- --></A><H3>
420handleRequestBody</H3>
421<PRE>
422public void <B>handleRequestBody</B>(<A HREF="../../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A>&nbsp;req,
423                              <A HREF="../../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A>&nbsp;rsp)
424                       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>,
425                              org.apache.zookeeper.KeeperException,
426                              <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE>
427<DL>
428<DD><DL>
429<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#handleRequestBody(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse)">handleRequestBody</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html" title="class in org.apache.solr.handler">RequestHandlerBase</A></CODE></DL>
430</DD>
431<DD><DL>
432
433<DT><B>Throws:</B>
434<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>
435<DD><CODE>org.apache.zookeeper.KeeperException</CODE>
436<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL>
437</DD>
438</DL>
439<HR>
440
441<A NAME="getDescription()"><!-- --></A><H3>
442getDescription</H3>
443<PRE>
444public <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>getDescription</B>()</PRE>
445<DL>
446<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/solr/core/SolrInfoMBean.html#getDescription()">SolrInfoMBean</A></CODE></B></DD>
447<DD>Simple one or two line description
448<P>
449<DD><DL>
450<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/core/SolrInfoMBean.html#getDescription()">getDescription</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/core/SolrInfoMBean.html" title="interface in org.apache.solr.core">SolrInfoMBean</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#getDescription()">getDescription</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html" title="class in org.apache.solr.handler">RequestHandlerBase</A></CODE></DL>
451</DD>
452<DD><DL>
453</DL>
454</DD>
455</DL>
456<HR>
457
458<A NAME="getSource()"><!-- --></A><H3>
459getSource</H3>
460<PRE>
461public <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>getSource</B>()</PRE>
462<DL>
463<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/solr/core/SolrInfoMBean.html#getSource()">SolrInfoMBean</A></CODE></B></DD>
464<DD>CVS Source, SVN Source, etc
465<P>
466<DD><DL>
467<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/core/SolrInfoMBean.html#getSource()">getSource</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/solr/core/SolrInfoMBean.html" title="interface in org.apache.solr.core">SolrInfoMBean</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html#getSource()">getSource</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/handler/RequestHandlerBase.html" title="class in org.apache.solr.handler">RequestHandlerBase</A></CODE></DL>
468</DD>
469<DD><DL>
470</DL>
471</DD>
472</DL>
473<!-- ========= END OF CLASS DATA ========= -->
474<HR>
475
476
477<!-- ======= START OF BOTTOM NAVBAR ====== -->
478<A NAME="navbar_bottom"><!-- --></A>
479<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
480<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
481<TR>
482<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
483<A NAME="navbar_bottom_firstrow"><!-- --></A>
484<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
485  <TR ALIGN="center" VALIGN="top">
486  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
487  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
488  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
489  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ShowFileRequestHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
490  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
491  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
492  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
493  </TR>
494</TABLE>
495</TD>
496<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
497</EM>
498</TD>
499</TR>
500
501<TR>
502<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
503&nbsp;<A HREF="../../../../../org/apache/solr/handler/admin/PropertiesRequestHandler.html" title="class in org.apache.solr.handler.admin"><B>PREV CLASS</B></A>&nbsp;
504&nbsp;<A HREF="../../../../../org/apache/solr/handler/admin/SolrInfoMBeanHandler.html" title="class in org.apache.solr.handler.admin"><B>NEXT CLASS</B></A></FONT></TD>
505<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
506  <A HREF="../../../../../index.html?org/apache/solr/handler/admin/ShowFileRequestHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
507&nbsp;<A HREF="ShowFileRequestHandler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
508&nbsp;<SCRIPT type="text/javascript">
509  <!--
510  if(window==top) {
511    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
512  }
513  //-->
514</SCRIPT>
515<NOSCRIPT>
516  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
517</NOSCRIPT>
518
519
520</FONT></TD>
521</TR>
522<TR>
523<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
524  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
525<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
526DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
527</TR>
528</TABLE>
529<A NAME="skip-navbar_bottom"></A>
530<!-- ======== END OF BOTTOM NAVBAR ======= -->
531
532<HR>
533
534          <address>Copyright &copy; 2000-2012 Apache Software Foundation.  All Rights Reserved.</address>
535          <script src='../../../../../prettify.js' type='text/javascript'></script>
536          <script type='text/javascript'>
537            (function(){
538              var oldonload = window.onload;
539              if (typeof oldonload != 'function') {
540                window.onload = prettyPrint;
541              } else {
542                window.onload = function() {
543                  oldonload();
544                  prettyPrint();
545                }
546              }
547            })();
548          </script>
549       
550</BODY>
551</HTML>
Note: See TracBrowser for help on using the repository browser.