151
|
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_17) on Sat Feb 06 17:11:29 CET 2010 -->
|
|
6 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
7 <TITLE>
|
|
8 HttpServletResponseImpl (Apache XML-RPC 3.1.3 API)
|
|
9 </TITLE>
|
|
10
|
|
11 <META NAME="date" CONTENT="2010-02-06">
|
|
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="HttpServletResponseImpl (Apache XML-RPC 3.1.3 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/HttpServletResponseImpl.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="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
49 </TR>
|
|
50 </TABLE>
|
|
51 </TD>
|
|
52 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
53 </EM>
|
|
54 </TD>
|
|
55 </TR>
|
|
56
|
|
57 <TR>
|
|
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
59 <A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletRequestImpl.html" title="class in org.apache.xmlrpc.webserver"><B>PREV CLASS</B></A>
|
|
60 <A HREF="../../../../org/apache/xmlrpc/webserver/RequestData.html" title="class in org.apache.xmlrpc.webserver"><B>NEXT CLASS</B></A></FONT></TD>
|
|
61 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
62 <A HREF="../../../../index.html?org/apache/xmlrpc/webserver/HttpServletResponseImpl.html" target="_top"><B>FRAMES</B></A>
|
|
63 <A HREF="HttpServletResponseImpl.html" target="_top"><B>NO FRAMES</B></A>
|
|
64 <SCRIPT type="text/javascript">
|
|
65 <!--
|
|
66 if(window==top) {
|
|
67 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
68 }
|
|
69 //-->
|
|
70 </SCRIPT>
|
|
71 <NOSCRIPT>
|
|
72 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
73 </NOSCRIPT>
|
|
74
|
|
75
|
|
76 </FONT></TD>
|
|
77 </TR>
|
|
78 <TR>
|
|
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
80 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
81 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
82 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
83 </TR>
|
|
84 </TABLE>
|
|
85 <A NAME="skip-navbar_top"></A>
|
|
86 <!-- ========= END OF TOP NAVBAR ========= -->
|
|
87
|
|
88 <HR>
|
|
89 <!-- ======== START OF CLASS DATA ======== -->
|
|
90 <H2>
|
|
91 <FONT SIZE="-1">
|
|
92 org.apache.xmlrpc.webserver</FONT>
|
|
93 <BR>
|
|
94 Class HttpServletResponseImpl</H2>
|
|
95 <PRE>
|
|
96 java.lang.Object
|
|
97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.webserver.HttpServletResponseImpl</B>
|
|
98 </PRE>
|
|
99 <HR>
|
|
100 <DL>
|
|
101 <DT><PRE>public class <B>HttpServletResponseImpl</B><DT>extends java.lang.Object</DL>
|
|
102 </PRE>
|
|
103
|
|
104 <P>
|
|
105 Stub implementation of a <CODE>javax.servlet.http.HttpServletResponse</CODE>
|
|
106 with lots of unimplemented methods. I implemented only those, which
|
|
107 are required for testing the <A HREF="../../../../org/apache/xmlrpc/webserver/XmlRpcServlet.html" title="class in org.apache.xmlrpc.webserver"><CODE>XmlRpcServlet</CODE></A>.
|
|
108 Perhaps someone else is adding more at a later time?
|
|
109 <P>
|
|
110
|
|
111 <P>
|
|
112 <HR>
|
|
113
|
|
114 <P>
|
|
115
|
|
116 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
117
|
|
118 <A NAME="constructor_summary"><!-- --></A>
|
|
119 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
120 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
121 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
122 <B>Constructor Summary</B></FONT></TH>
|
|
123 </TR>
|
|
124 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
125 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#HttpServletResponseImpl(java.net.Socket)">HttpServletResponseImpl</A></B>(java.net.Socket pSocket)</CODE>
|
|
126
|
|
127 <BR>
|
|
128 Creates a new instance.</TD>
|
|
129 </TR>
|
|
130 </TABLE>
|
|
131
|
|
132 <!-- ========== METHOD SUMMARY =========== -->
|
|
133
|
|
134 <A NAME="method_summary"><!-- --></A>
|
|
135 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
136 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
137 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
138 <B>Method Summary</B></FONT></TH>
|
|
139 </TR>
|
|
140 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
141 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
142 <CODE> void</CODE></FONT></TD>
|
|
143 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#addCookie(Cookie)">addCookie</A></B>(Cookie pCookie)</CODE>
|
|
144
|
|
145 <BR>
|
|
146 </TD>
|
|
147 </TR>
|
|
148 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
149 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
150 <CODE> void</CODE></FONT></TD>
|
|
151 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#addDateHeader(java.lang.String, long)">addDateHeader</A></B>(java.lang.String pHeader,
|
|
152 long pDate)</CODE>
|
|
153
|
|
154 <BR>
|
|
155 </TD>
|
|
156 </TR>
|
|
157 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
159 <CODE> void</CODE></FONT></TD>
|
|
160 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#addHeader(java.lang.String, java.lang.String)">addHeader</A></B>(java.lang.String pHeader,
|
|
161 java.lang.String pValue)</CODE>
|
|
162
|
|
163 <BR>
|
|
164 </TD>
|
|
165 </TR>
|
|
166 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
167 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
168 <CODE> void</CODE></FONT></TD>
|
|
169 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#addIntHeader(java.lang.String, int)">addIntHeader</A></B>(java.lang.String pHeader,
|
|
170 int pValue)</CODE>
|
|
171
|
|
172 <BR>
|
|
173 </TD>
|
|
174 </TR>
|
|
175 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
176 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
177 <CODE> boolean</CODE></FONT></TD>
|
|
178 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#containsHeader(java.lang.String)">containsHeader</A></B>(java.lang.String pHeader)</CODE>
|
|
179
|
|
180 <BR>
|
|
181 </TD>
|
|
182 </TR>
|
|
183 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
184 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
185 <CODE> java.lang.String</CODE></FONT></TD>
|
|
186 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#encodeRedirectUrl(java.lang.String)">encodeRedirectUrl</A></B>(java.lang.String pURL)</CODE>
|
|
187
|
|
188 <BR>
|
|
189 </TD>
|
|
190 </TR>
|
|
191 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
192 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
193 <CODE> java.lang.String</CODE></FONT></TD>
|
|
194 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#encodeRedirectURL(java.lang.String)">encodeRedirectURL</A></B>(java.lang.String pURL)</CODE>
|
|
195
|
|
196 <BR>
|
|
197 </TD>
|
|
198 </TR>
|
|
199 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
200 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
201 <CODE> java.lang.String</CODE></FONT></TD>
|
|
202 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#encodeUrl(java.lang.String)">encodeUrl</A></B>(java.lang.String pURL)</CODE>
|
|
203
|
|
204 <BR>
|
|
205 </TD>
|
|
206 </TR>
|
|
207 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
208 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
209 <CODE> java.lang.String</CODE></FONT></TD>
|
|
210 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#encodeURL(java.lang.String)">encodeURL</A></B>(java.lang.String pURL)</CODE>
|
|
211
|
|
212 <BR>
|
|
213 </TD>
|
|
214 </TR>
|
|
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/xmlrpc/webserver/HttpServletResponseImpl.html#flushBuffer()">flushBuffer</A></B>()</CODE>
|
|
219
|
|
220 <BR>
|
|
221 </TD>
|
|
222 </TR>
|
|
223 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
224 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
225 <CODE> int</CODE></FONT></TD>
|
|
226 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#getBufferSize()">getBufferSize</A></B>()</CODE>
|
|
227
|
|
228 <BR>
|
|
229 </TD>
|
|
230 </TR>
|
|
231 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
232 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
233 <CODE> java.lang.String</CODE></FONT></TD>
|
|
234 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#getCharacterEncoding()">getCharacterEncoding</A></B>()</CODE>
|
|
235
|
|
236 <BR>
|
|
237 </TD>
|
|
238 </TR>
|
|
239 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
240 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
241 <CODE> java.lang.String</CODE></FONT></TD>
|
|
242 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#getContentType()">getContentType</A></B>()</CODE>
|
|
243
|
|
244 <BR>
|
|
245 Returns the content type used for the MIME body sent in this
|
|
246 response.</TD>
|
|
247 </TR>
|
|
248 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
249 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
250 <CODE> java.util.Locale</CODE></FONT></TD>
|
|
251 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#getLocale()">getLocale</A></B>()</CODE>
|
|
252
|
|
253 <BR>
|
|
254 </TD>
|
|
255 </TR>
|
|
256 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
257 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
258 <CODE> ServletOutputStream</CODE></FONT></TD>
|
|
259 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#getOutputStream()">getOutputStream</A></B>()</CODE>
|
|
260
|
|
261 <BR>
|
|
262 </TD>
|
|
263 </TR>
|
|
264 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
265 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
266 <CODE>static java.lang.String</CODE></FONT></TD>
|
|
267 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#getStatusMessage(int)">getStatusMessage</A></B>(int pStatusCode)</CODE>
|
|
268
|
|
269 <BR>
|
|
270 Returns a default message for a given HTTP status code.</TD>
|
|
271 </TR>
|
|
272 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
273 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
274 <CODE> java.io.PrintWriter</CODE></FONT></TD>
|
|
275 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#getWriter()">getWriter</A></B>()</CODE>
|
|
276
|
|
277 <BR>
|
|
278 </TD>
|
|
279 </TR>
|
|
280 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
281 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
282 <CODE> boolean</CODE></FONT></TD>
|
|
283 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#isCommitted()">isCommitted</A></B>()</CODE>
|
|
284
|
|
285 <BR>
|
|
286 </TD>
|
|
287 </TR>
|
|
288 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
289 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
290 <CODE> void</CODE></FONT></TD>
|
|
291 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#reset()">reset</A></B>()</CODE>
|
|
292
|
|
293 <BR>
|
|
294 </TD>
|
|
295 </TR>
|
|
296 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
297 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
298 <CODE> void</CODE></FONT></TD>
|
|
299 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#resetBuffer()">resetBuffer</A></B>()</CODE>
|
|
300
|
|
301 <BR>
|
|
302 </TD>
|
|
303 </TR>
|
|
304 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
305 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
306 <CODE> void</CODE></FONT></TD>
|
|
307 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#sendError(int)">sendError</A></B>(int pStatusCode)</CODE>
|
|
308
|
|
309 <BR>
|
|
310 </TD>
|
|
311 </TR>
|
|
312 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
313 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
314 <CODE> void</CODE></FONT></TD>
|
|
315 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#sendError(int, java.lang.String)">sendError</A></B>(int pStatusCode,
|
|
316 java.lang.String pMessage)</CODE>
|
|
317
|
|
318 <BR>
|
|
319 </TD>
|
|
320 </TR>
|
|
321 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
322 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
323 <CODE>protected void</CODE></FONT></TD>
|
|
324 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#sendError(int, java.lang.String, java.lang.String)">sendError</A></B>(int pStatusCode,
|
|
325 java.lang.String pMessage,
|
|
326 java.lang.String pDescription)</CODE>
|
|
327
|
|
328 <BR>
|
|
329 </TD>
|
|
330 </TR>
|
|
331 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
332 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
333 <CODE> void</CODE></FONT></TD>
|
|
334 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#sendRedirect(java.lang.String)">sendRedirect</A></B>(java.lang.String arg0)</CODE>
|
|
335
|
|
336 <BR>
|
|
337 </TD>
|
|
338 </TR>
|
|
339 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
340 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
341 <CODE> void</CODE></FONT></TD>
|
|
342 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#setBufferSize(int)">setBufferSize</A></B>(int pBufferSize)</CODE>
|
|
343
|
|
344 <BR>
|
|
345 </TD>
|
|
346 </TR>
|
|
347 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
348 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
349 <CODE> void</CODE></FONT></TD>
|
|
350 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#setCharacterEncoding(java.lang.String)">setCharacterEncoding</A></B>(java.lang.String pCharset)</CODE>
|
|
351
|
|
352 <BR>
|
|
353 Sets the character encoding (MIME charset) of the response being sent
|
|
354 to the client, for example, to UTF-8.</TD>
|
|
355 </TR>
|
|
356 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
357 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
358 <CODE> void</CODE></FONT></TD>
|
|
359 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#setContentLength(int)">setContentLength</A></B>(int pContentLength)</CODE>
|
|
360
|
|
361 <BR>
|
|
362 </TD>
|
|
363 </TR>
|
|
364 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
365 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
366 <CODE> void</CODE></FONT></TD>
|
|
367 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#setContentType(java.lang.String)">setContentType</A></B>(java.lang.String pType)</CODE>
|
|
368
|
|
369 <BR>
|
|
370 </TD>
|
|
371 </TR>
|
|
372 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
373 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
374 <CODE> void</CODE></FONT></TD>
|
|
375 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#setDateHeader(java.lang.String, long)">setDateHeader</A></B>(java.lang.String arg0,
|
|
376 long arg1)</CODE>
|
|
377
|
|
378 <BR>
|
|
379 </TD>
|
|
380 </TR>
|
|
381 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
382 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
383 <CODE> void</CODE></FONT></TD>
|
|
384 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#setHeader(java.lang.String, java.lang.String)">setHeader</A></B>(java.lang.String pHeader,
|
|
385 java.lang.String pValue)</CODE>
|
|
386
|
|
387 <BR>
|
|
388 </TD>
|
|
389 </TR>
|
|
390 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
391 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
392 <CODE> void</CODE></FONT></TD>
|
|
393 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#setIntHeader(java.lang.String, int)">setIntHeader</A></B>(java.lang.String pHeader,
|
|
394 int pValue)</CODE>
|
|
395
|
|
396 <BR>
|
|
397 </TD>
|
|
398 </TR>
|
|
399 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
400 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
401 <CODE> void</CODE></FONT></TD>
|
|
402 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#setLocale(java.util.Locale)">setLocale</A></B>(java.util.Locale pLocale)</CODE>
|
|
403
|
|
404 <BR>
|
|
405 </TD>
|
|
406 </TR>
|
|
407 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
408 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
409 <CODE> void</CODE></FONT></TD>
|
|
410 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#setStatus(int)">setStatus</A></B>(int pStatusCode)</CODE>
|
|
411
|
|
412 <BR>
|
|
413 </TD>
|
|
414 </TR>
|
|
415 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
416 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
417 <CODE> void</CODE></FONT></TD>
|
|
418 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#setStatus(int, java.lang.String)">setStatus</A></B>(int pStatusCode,
|
|
419 java.lang.String pMessage)</CODE>
|
|
420
|
|
421 <BR>
|
|
422 </TD>
|
|
423 </TR>
|
|
424 </TABLE>
|
|
425 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
426 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
427 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
428 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
429 </TR>
|
|
430 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
431 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
|
432 </TR>
|
|
433 </TABLE>
|
|
434
|
|
435 <P>
|
|
436
|
|
437 <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
438
|
|
439 <A NAME="constructor_detail"><!-- --></A>
|
|
440 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
441 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
442 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
443 <B>Constructor Detail</B></FONT></TH>
|
|
444 </TR>
|
|
445 </TABLE>
|
|
446
|
|
447 <A NAME="HttpServletResponseImpl(java.net.Socket)"><!-- --></A><H3>
|
|
448 HttpServletResponseImpl</H3>
|
|
449 <PRE>
|
|
450 public <B>HttpServletResponseImpl</B>(java.net.Socket pSocket)
|
|
451 throws java.io.IOException</PRE>
|
|
452 <DL>
|
|
453 <DD>Creates a new instance.
|
|
454 <P>
|
|
455 <DL>
|
|
456 <DT><B>Parameters:</B><DD><CODE>pSocket</CODE> - The clients socket.
|
|
457 <DT><B>Throws:</B>
|
|
458 <DD><CODE>java.io.IOException</CODE> - Accessing the sockets output stream failed.</DL>
|
|
459 </DL>
|
|
460
|
|
461 <!-- ============ METHOD DETAIL ========== -->
|
|
462
|
|
463 <A NAME="method_detail"><!-- --></A>
|
|
464 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
465 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
466 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
467 <B>Method Detail</B></FONT></TH>
|
|
468 </TR>
|
|
469 </TABLE>
|
|
470
|
|
471 <A NAME="addCookie(Cookie)"><!-- --></A><H3>
|
|
472 addCookie</H3>
|
|
473 <PRE>
|
|
474 public void <B>addCookie</B>(Cookie pCookie)</PRE>
|
|
475 <DL>
|
|
476 <DD><DL>
|
|
477 </DL>
|
|
478 </DD>
|
|
479 </DL>
|
|
480 <HR>
|
|
481
|
|
482 <A NAME="addDateHeader(java.lang.String, long)"><!-- --></A><H3>
|
|
483 addDateHeader</H3>
|
|
484 <PRE>
|
|
485 public void <B>addDateHeader</B>(java.lang.String pHeader,
|
|
486 long pDate)</PRE>
|
|
487 <DL>
|
|
488 <DD><DL>
|
|
489 </DL>
|
|
490 </DD>
|
|
491 </DL>
|
|
492 <HR>
|
|
493
|
|
494 <A NAME="addHeader(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
495 addHeader</H3>
|
|
496 <PRE>
|
|
497 public void <B>addHeader</B>(java.lang.String pHeader,
|
|
498 java.lang.String pValue)</PRE>
|
|
499 <DL>
|
|
500 <DD><DL>
|
|
501 </DL>
|
|
502 </DD>
|
|
503 </DL>
|
|
504 <HR>
|
|
505
|
|
506 <A NAME="addIntHeader(java.lang.String, int)"><!-- --></A><H3>
|
|
507 addIntHeader</H3>
|
|
508 <PRE>
|
|
509 public void <B>addIntHeader</B>(java.lang.String pHeader,
|
|
510 int pValue)</PRE>
|
|
511 <DL>
|
|
512 <DD><DL>
|
|
513 </DL>
|
|
514 </DD>
|
|
515 </DL>
|
|
516 <HR>
|
|
517
|
|
518 <A NAME="containsHeader(java.lang.String)"><!-- --></A><H3>
|
|
519 containsHeader</H3>
|
|
520 <PRE>
|
|
521 public boolean <B>containsHeader</B>(java.lang.String pHeader)</PRE>
|
|
522 <DL>
|
|
523 <DD><DL>
|
|
524 </DL>
|
|
525 </DD>
|
|
526 </DL>
|
|
527 <HR>
|
|
528
|
|
529 <A NAME="encodeRedirectURL(java.lang.String)"><!-- --></A><H3>
|
|
530 encodeRedirectURL</H3>
|
|
531 <PRE>
|
|
532 public java.lang.String <B>encodeRedirectURL</B>(java.lang.String pURL)</PRE>
|
|
533 <DL>
|
|
534 <DD><DL>
|
|
535 </DL>
|
|
536 </DD>
|
|
537 </DL>
|
|
538 <HR>
|
|
539
|
|
540 <A NAME="encodeRedirectUrl(java.lang.String)"><!-- --></A><H3>
|
|
541 encodeRedirectUrl</H3>
|
|
542 <PRE>
|
|
543 public java.lang.String <B>encodeRedirectUrl</B>(java.lang.String pURL)</PRE>
|
|
544 <DL>
|
|
545 <DD><DL>
|
|
546 </DL>
|
|
547 </DD>
|
|
548 </DL>
|
|
549 <HR>
|
|
550
|
|
551 <A NAME="encodeURL(java.lang.String)"><!-- --></A><H3>
|
|
552 encodeURL</H3>
|
|
553 <PRE>
|
|
554 public java.lang.String <B>encodeURL</B>(java.lang.String pURL)</PRE>
|
|
555 <DL>
|
|
556 <DD><DL>
|
|
557 </DL>
|
|
558 </DD>
|
|
559 </DL>
|
|
560 <HR>
|
|
561
|
|
562 <A NAME="encodeUrl(java.lang.String)"><!-- --></A><H3>
|
|
563 encodeUrl</H3>
|
|
564 <PRE>
|
|
565 public java.lang.String <B>encodeUrl</B>(java.lang.String pURL)</PRE>
|
|
566 <DL>
|
|
567 <DD><DL>
|
|
568 </DL>
|
|
569 </DD>
|
|
570 </DL>
|
|
571 <HR>
|
|
572
|
|
573 <A NAME="sendError(int)"><!-- --></A><H3>
|
|
574 sendError</H3>
|
|
575 <PRE>
|
|
576 public void <B>sendError</B>(int pStatusCode)
|
|
577 throws java.io.IOException</PRE>
|
|
578 <DL>
|
|
579 <DD><DL>
|
|
580
|
|
581 <DT><B>Throws:</B>
|
|
582 <DD><CODE>java.io.IOException</CODE></DL>
|
|
583 </DD>
|
|
584 </DL>
|
|
585 <HR>
|
|
586
|
|
587 <A NAME="sendError(int, java.lang.String)"><!-- --></A><H3>
|
|
588 sendError</H3>
|
|
589 <PRE>
|
|
590 public void <B>sendError</B>(int pStatusCode,
|
|
591 java.lang.String pMessage)
|
|
592 throws java.io.IOException</PRE>
|
|
593 <DL>
|
|
594 <DD><DL>
|
|
595
|
|
596 <DT><B>Throws:</B>
|
|
597 <DD><CODE>java.io.IOException</CODE></DL>
|
|
598 </DD>
|
|
599 </DL>
|
|
600 <HR>
|
|
601
|
|
602 <A NAME="sendError(int, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
603 sendError</H3>
|
|
604 <PRE>
|
|
605 protected void <B>sendError</B>(int pStatusCode,
|
|
606 java.lang.String pMessage,
|
|
607 java.lang.String pDescription)
|
|
608 throws java.io.IOException</PRE>
|
|
609 <DL>
|
|
610 <DD><DL>
|
|
611
|
|
612 <DT><B>Throws:</B>
|
|
613 <DD><CODE>java.io.IOException</CODE></DL>
|
|
614 </DD>
|
|
615 </DL>
|
|
616 <HR>
|
|
617
|
|
618 <A NAME="sendRedirect(java.lang.String)"><!-- --></A><H3>
|
|
619 sendRedirect</H3>
|
|
620 <PRE>
|
|
621 public void <B>sendRedirect</B>(java.lang.String arg0)
|
|
622 throws java.io.IOException</PRE>
|
|
623 <DL>
|
|
624 <DD><DL>
|
|
625
|
|
626 <DT><B>Throws:</B>
|
|
627 <DD><CODE>java.io.IOException</CODE></DL>
|
|
628 </DD>
|
|
629 </DL>
|
|
630 <HR>
|
|
631
|
|
632 <A NAME="setDateHeader(java.lang.String, long)"><!-- --></A><H3>
|
|
633 setDateHeader</H3>
|
|
634 <PRE>
|
|
635 public void <B>setDateHeader</B>(java.lang.String arg0,
|
|
636 long arg1)</PRE>
|
|
637 <DL>
|
|
638 <DD><DL>
|
|
639 </DL>
|
|
640 </DD>
|
|
641 </DL>
|
|
642 <HR>
|
|
643
|
|
644 <A NAME="setHeader(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
645 setHeader</H3>
|
|
646 <PRE>
|
|
647 public void <B>setHeader</B>(java.lang.String pHeader,
|
|
648 java.lang.String pValue)</PRE>
|
|
649 <DL>
|
|
650 <DD><DL>
|
|
651 </DL>
|
|
652 </DD>
|
|
653 </DL>
|
|
654 <HR>
|
|
655
|
|
656 <A NAME="setIntHeader(java.lang.String, int)"><!-- --></A><H3>
|
|
657 setIntHeader</H3>
|
|
658 <PRE>
|
|
659 public void <B>setIntHeader</B>(java.lang.String pHeader,
|
|
660 int pValue)</PRE>
|
|
661 <DL>
|
|
662 <DD><DL>
|
|
663 </DL>
|
|
664 </DD>
|
|
665 </DL>
|
|
666 <HR>
|
|
667
|
|
668 <A NAME="setStatus(int)"><!-- --></A><H3>
|
|
669 setStatus</H3>
|
|
670 <PRE>
|
|
671 public void <B>setStatus</B>(int pStatusCode)</PRE>
|
|
672 <DL>
|
|
673 <DD><DL>
|
|
674 </DL>
|
|
675 </DD>
|
|
676 </DL>
|
|
677 <HR>
|
|
678
|
|
679 <A NAME="setStatus(int, java.lang.String)"><!-- --></A><H3>
|
|
680 setStatus</H3>
|
|
681 <PRE>
|
|
682 public void <B>setStatus</B>(int pStatusCode,
|
|
683 java.lang.String pMessage)</PRE>
|
|
684 <DL>
|
|
685 <DD><DL>
|
|
686 </DL>
|
|
687 </DD>
|
|
688 </DL>
|
|
689 <HR>
|
|
690
|
|
691 <A NAME="flushBuffer()"><!-- --></A><H3>
|
|
692 flushBuffer</H3>
|
|
693 <PRE>
|
|
694 public void <B>flushBuffer</B>()
|
|
695 throws java.io.IOException</PRE>
|
|
696 <DL>
|
|
697 <DD><DL>
|
|
698
|
|
699 <DT><B>Throws:</B>
|
|
700 <DD><CODE>java.io.IOException</CODE></DL>
|
|
701 </DD>
|
|
702 </DL>
|
|
703 <HR>
|
|
704
|
|
705 <A NAME="getBufferSize()"><!-- --></A><H3>
|
|
706 getBufferSize</H3>
|
|
707 <PRE>
|
|
708 public int <B>getBufferSize</B>()</PRE>
|
|
709 <DL>
|
|
710 <DD><DL>
|
|
711 </DL>
|
|
712 </DD>
|
|
713 </DL>
|
|
714 <HR>
|
|
715
|
|
716 <A NAME="setCharacterEncoding(java.lang.String)"><!-- --></A><H3>
|
|
717 setCharacterEncoding</H3>
|
|
718 <PRE>
|
|
719 public void <B>setCharacterEncoding</B>(java.lang.String pCharset)</PRE>
|
|
720 <DL>
|
|
721 <DD><p>Sets the character encoding (MIME charset) of the response being sent
|
|
722 to the client, for example, to UTF-8. If the character encoding has
|
|
723 already been set by setContentType(java.lang.String) or
|
|
724 setLocale(java.util.Locale), this method overrides it.
|
|
725 Calling setContentType(java.lang.String) with the String
|
|
726 of text/html and calling this method with the String of UTF-8
|
|
727 is equivalent with calling setContentType with the String of
|
|
728 text/html; charset=UTF-8.</p>
|
|
729 <p>This method can be called repeatedly to change the character
|
|
730 encoding. This method has no effect if it is called after getWriter
|
|
731 has been called or after the response has been committed.</p>
|
|
732 <p>Containers must communicate the character encoding used for
|
|
733 the servlet response's writer to the client if the protocol
|
|
734 provides a way for doing so. In the case of HTTP, the character
|
|
735 encoding is communicated as part of the Content-Type header for
|
|
736 text media types. Note that the character encoding cannot be
|
|
737 communicated via HTTP headers if the servlet does not specify
|
|
738 a content type; however, it is still used to encode text written
|
|
739 via the servlet response's writer.</p>
|
|
740 <P>
|
|
741 <DD><DL>
|
|
742 <DT><B>Parameters:</B><DD><CODE>pCharset</CODE> - A String specifying only the character set defined
|
|
743 by IANA Character Sets (http://www.iana.org/assignments/character-sets)<DT><B>Since:</B></DT>
|
|
744 <DD>Servlet API 2.4</DD>
|
|
745 <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#setLocale(java.util.Locale)"><CODE>setLocale(Locale)</CODE></A></DL>
|
|
746 </DD>
|
|
747 </DL>
|
|
748 <HR>
|
|
749
|
|
750 <A NAME="getCharacterEncoding()"><!-- --></A><H3>
|
|
751 getCharacterEncoding</H3>
|
|
752 <PRE>
|
|
753 public java.lang.String <B>getCharacterEncoding</B>()</PRE>
|
|
754 <DL>
|
|
755 <DD><DL>
|
|
756 </DL>
|
|
757 </DD>
|
|
758 </DL>
|
|
759 <HR>
|
|
760
|
|
761 <A NAME="getLocale()"><!-- --></A><H3>
|
|
762 getLocale</H3>
|
|
763 <PRE>
|
|
764 public java.util.Locale <B>getLocale</B>()</PRE>
|
|
765 <DL>
|
|
766 <DD><DL>
|
|
767 </DL>
|
|
768 </DD>
|
|
769 </DL>
|
|
770 <HR>
|
|
771
|
|
772 <A NAME="getOutputStream()"><!-- --></A><H3>
|
|
773 getOutputStream</H3>
|
|
774 <PRE>
|
|
775 public ServletOutputStream <B>getOutputStream</B>()
|
|
776 throws java.io.IOException</PRE>
|
|
777 <DL>
|
|
778 <DD><DL>
|
|
779
|
|
780 <DT><B>Throws:</B>
|
|
781 <DD><CODE>java.io.IOException</CODE></DL>
|
|
782 </DD>
|
|
783 </DL>
|
|
784 <HR>
|
|
785
|
|
786 <A NAME="getWriter()"><!-- --></A><H3>
|
|
787 getWriter</H3>
|
|
788 <PRE>
|
|
789 public java.io.PrintWriter <B>getWriter</B>()
|
|
790 throws java.io.IOException</PRE>
|
|
791 <DL>
|
|
792 <DD><DL>
|
|
793
|
|
794 <DT><B>Throws:</B>
|
|
795 <DD><CODE>java.io.IOException</CODE></DL>
|
|
796 </DD>
|
|
797 </DL>
|
|
798 <HR>
|
|
799
|
|
800 <A NAME="isCommitted()"><!-- --></A><H3>
|
|
801 isCommitted</H3>
|
|
802 <PRE>
|
|
803 public boolean <B>isCommitted</B>()</PRE>
|
|
804 <DL>
|
|
805 <DD><DL>
|
|
806 </DL>
|
|
807 </DD>
|
|
808 </DL>
|
|
809 <HR>
|
|
810
|
|
811 <A NAME="reset()"><!-- --></A><H3>
|
|
812 reset</H3>
|
|
813 <PRE>
|
|
814 public void <B>reset</B>()</PRE>
|
|
815 <DL>
|
|
816 <DD><DL>
|
|
817 </DL>
|
|
818 </DD>
|
|
819 </DL>
|
|
820 <HR>
|
|
821
|
|
822 <A NAME="resetBuffer()"><!-- --></A><H3>
|
|
823 resetBuffer</H3>
|
|
824 <PRE>
|
|
825 public void <B>resetBuffer</B>()</PRE>
|
|
826 <DL>
|
|
827 <DD><DL>
|
|
828 </DL>
|
|
829 </DD>
|
|
830 </DL>
|
|
831 <HR>
|
|
832
|
|
833 <A NAME="setBufferSize(int)"><!-- --></A><H3>
|
|
834 setBufferSize</H3>
|
|
835 <PRE>
|
|
836 public void <B>setBufferSize</B>(int pBufferSize)</PRE>
|
|
837 <DL>
|
|
838 <DD><DL>
|
|
839 </DL>
|
|
840 </DD>
|
|
841 </DL>
|
|
842 <HR>
|
|
843
|
|
844 <A NAME="setContentLength(int)"><!-- --></A><H3>
|
|
845 setContentLength</H3>
|
|
846 <PRE>
|
|
847 public void <B>setContentLength</B>(int pContentLength)</PRE>
|
|
848 <DL>
|
|
849 <DD><DL>
|
|
850 </DL>
|
|
851 </DD>
|
|
852 </DL>
|
|
853 <HR>
|
|
854
|
|
855 <A NAME="getContentType()"><!-- --></A><H3>
|
|
856 getContentType</H3>
|
|
857 <PRE>
|
|
858 public java.lang.String <B>getContentType</B>()</PRE>
|
|
859 <DL>
|
|
860 <DD><p>Returns the content type used for the MIME body sent in this
|
|
861 response. The content type proper must have been specified
|
|
862 using setContentType(java.lang.String) before the response is
|
|
863 committed. If no content type has been specified, this method
|
|
864 returns null. If a content type has been specified and a
|
|
865 character encoding has been explicitly or implicitly specified
|
|
866 as described in getCharacterEncoding(), the charset parameter
|
|
867 is included in the string returned. If no character encoding
|
|
868 has been specified, the charset parameter is omitted.</p>
|
|
869 <P>
|
|
870 <DD><DL>
|
|
871
|
|
872 <DT><B>Returns:</B><DD>A String specifying the content type, for example,
|
|
873 text/html; charset=UTF-8, or null<DT><B>Since:</B></DT>
|
|
874 <DD>Servlet API 2.4</DD>
|
|
875 <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletResponseImpl.html#setContentType(java.lang.String)"><CODE>setContentType(String)</CODE></A></DL>
|
|
876 </DD>
|
|
877 </DL>
|
|
878 <HR>
|
|
879
|
|
880 <A NAME="setContentType(java.lang.String)"><!-- --></A><H3>
|
|
881 setContentType</H3>
|
|
882 <PRE>
|
|
883 public void <B>setContentType</B>(java.lang.String pType)</PRE>
|
|
884 <DL>
|
|
885 <DD><DL>
|
|
886 </DL>
|
|
887 </DD>
|
|
888 </DL>
|
|
889 <HR>
|
|
890
|
|
891 <A NAME="setLocale(java.util.Locale)"><!-- --></A><H3>
|
|
892 setLocale</H3>
|
|
893 <PRE>
|
|
894 public void <B>setLocale</B>(java.util.Locale pLocale)</PRE>
|
|
895 <DL>
|
|
896 <DD><DL>
|
|
897 </DL>
|
|
898 </DD>
|
|
899 </DL>
|
|
900 <HR>
|
|
901
|
|
902 <A NAME="getStatusMessage(int)"><!-- --></A><H3>
|
|
903 getStatusMessage</H3>
|
|
904 <PRE>
|
|
905 public static java.lang.String <B>getStatusMessage</B>(int pStatusCode)</PRE>
|
|
906 <DL>
|
|
907 <DD>Returns a default message for a given HTTP status code.
|
|
908 <P>
|
|
909 <DD><DL>
|
|
910 <DT><B>Parameters:</B><DD><CODE>pStatusCode</CODE> - The status code being queried.
|
|
911 <DT><B>Returns:</B><DD>The default message.</DL>
|
|
912 </DD>
|
|
913 </DL>
|
|
914 <!-- ========= END OF CLASS DATA ========= -->
|
|
915 <HR>
|
|
916
|
|
917
|
|
918 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
919 <A NAME="navbar_bottom"><!-- --></A>
|
|
920 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
921 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
922 <TR>
|
|
923 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
924 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
925 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
926 <TR ALIGN="center" VALIGN="top">
|
|
927 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
928 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
929 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
930 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/HttpServletResponseImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
931 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
932 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
933 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
934 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
935 </TR>
|
|
936 </TABLE>
|
|
937 </TD>
|
|
938 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
939 </EM>
|
|
940 </TD>
|
|
941 </TR>
|
|
942
|
|
943 <TR>
|
|
944 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
945 <A HREF="../../../../org/apache/xmlrpc/webserver/HttpServletRequestImpl.html" title="class in org.apache.xmlrpc.webserver"><B>PREV CLASS</B></A>
|
|
946 <A HREF="../../../../org/apache/xmlrpc/webserver/RequestData.html" title="class in org.apache.xmlrpc.webserver"><B>NEXT CLASS</B></A></FONT></TD>
|
|
947 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
948 <A HREF="../../../../index.html?org/apache/xmlrpc/webserver/HttpServletResponseImpl.html" target="_top"><B>FRAMES</B></A>
|
|
949 <A HREF="HttpServletResponseImpl.html" target="_top"><B>NO FRAMES</B></A>
|
|
950 <SCRIPT type="text/javascript">
|
|
951 <!--
|
|
952 if(window==top) {
|
|
953 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
954 }
|
|
955 //-->
|
|
956 </SCRIPT>
|
|
957 <NOSCRIPT>
|
|
958 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
959 </NOSCRIPT>
|
|
960
|
|
961
|
|
962 </FONT></TD>
|
|
963 </TR>
|
|
964 <TR>
|
|
965 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
966 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
967 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
968 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
969 </TR>
|
|
970 </TABLE>
|
|
971 <A NAME="skip-navbar_bottom"></A>
|
|
972 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
973
|
|
974 <HR>
|
|
975 Copyright © 2001-2010 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
|
|
976 </BODY>
|
|
977 </HTML>
|