1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
<!-- Generated by javadoc (build 1.5.0_11) on Sat Aug 18 11:01:00 CEST 2007 -->
6
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
8
ChunkedOutputStream (HttpClient 3.1 API)
11
<META NAME="keywords" CONTENT="org.apache.commons.httpclient.ChunkedOutputStream class">
13
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
15
<SCRIPT type="text/javascript">
16
function windowTitle()
18
parent.document.title="ChunkedOutputStream (HttpClient 3.1 API)";
26
<BODY BGCOLOR="white" onload="windowTitle();">
29
<!-- ========= START OF TOP NAVBAR ======= -->
30
<A NAME="navbar_top"><!-- --></A>
31
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
32
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
34
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
35
<A NAME="navbar_top_firstrow"><!-- --></A>
36
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
37
<TR ALIGN="center" VALIGN="top">
38
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
39
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
40
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
41
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ChunkedOutputStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
42
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
43
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
44
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
45
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
49
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
55
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
<A HREF="../../../../org/apache/commons/httpclient/ChunkedInputStream.html" title="class in org.apache.commons.httpclient"><B>PREV CLASS</B></A>
57
<A HREF="../../../../org/apache/commons/httpclient/CircularRedirectException.html" title="class in org.apache.commons.httpclient"><B>NEXT CLASS</B></A></FONT></TD>
58
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
<A HREF="../../../../index.html?org/apache/commons/httpclient/ChunkedOutputStream.html" target="_top"><B>FRAMES</B></A>
60
<A HREF="ChunkedOutputStream.html" target="_top"><B>NO FRAMES</B></A>
61
<SCRIPT type="text/javascript">
64
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
69
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
76
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
78
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
82
<A NAME="skip-navbar_top"></A>
83
<!-- ========= END OF TOP NAVBAR ========= -->
86
<!-- ======== START OF CLASS DATA ======== -->
89
org.apache.commons.httpclient</FONT>
91
Class ChunkedOutputStream</H2>
93
<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
94
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">java.io.OutputStream</A>
95
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.commons.httpclient.ChunkedOutputStream</B>
98
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Closeable.html" title="class or interface in java.io">Closeable</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Flushable.html" title="class or interface in java.io">Flushable</A></DD>
102
<DT><PRE>public class <B>ChunkedOutputStream</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A></DL>
106
Implements HTTP chunking support. Writes are buffered to an internal buffer (2048 default size).
107
Chunks are guaranteed to be at least as large as the buffer size (except for the last chunk).
112
<DT><B>Author:</B></DT>
113
<DD>Mohammad Rezaei, Goldman, Sachs & Co.</DD>
119
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
121
<A NAME="constructor_summary"><!-- --></A>
122
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
125
<B>Constructor Summary</B></FONT></TH>
127
<TR BGCOLOR="white" CLASS="TableRowColor">
128
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/ChunkedOutputStream.html#ChunkedOutputStream(java.io.OutputStream)">ChunkedOutputStream</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> stream)</CODE>
131
Wraps a stream and chunks the output.</TD>
133
<TR BGCOLOR="white" CLASS="TableRowColor">
134
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/ChunkedOutputStream.html#ChunkedOutputStream(java.io.OutputStream, int)">ChunkedOutputStream</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> stream,
135
int bufferSize)</CODE>
138
Wraps a stream and chunks the output.</TD>
142
<!-- ========== METHOD SUMMARY =========== -->
144
<A NAME="method_summary"><!-- --></A>
145
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
146
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
147
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
148
<B>Method Summary</B></FONT></TH>
150
<TR BGCOLOR="white" CLASS="TableRowColor">
151
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152
<CODE> void</CODE></FONT></TD>
153
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/ChunkedOutputStream.html#close()">close</A></B>()</CODE>
156
Finishes writing to the underlying stream, but does NOT close the underlying stream.</TD>
158
<TR BGCOLOR="white" CLASS="TableRowColor">
159
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
160
<CODE> void</CODE></FONT></TD>
161
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/ChunkedOutputStream.html#finish()">finish</A></B>()</CODE>
164
Must be called to ensure the internal cache is flushed and the closing chunk is written.</TD>
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/commons/httpclient/ChunkedOutputStream.html#flush()">flush</A></B>()</CODE>
172
Flushes the underlying stream, but leaves the internal buffer alone.</TD>
174
<TR BGCOLOR="white" CLASS="TableRowColor">
175
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176
<CODE>protected void</CODE></FONT></TD>
177
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/ChunkedOutputStream.html#flushCache()">flushCache</A></B>()</CODE>
180
Writes the cache out onto the underlying stream</TD>
182
<TR BGCOLOR="white" CLASS="TableRowColor">
183
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184
<CODE>protected void</CODE></FONT></TD>
185
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/ChunkedOutputStream.html#flushCacheWithAppend(byte[], int, int)">flushCacheWithAppend</A></B>(byte[] bufferToAppend,
190
Writes the cache and bufferToAppend to the underlying stream
191
as one large chunk</TD>
193
<TR BGCOLOR="white" CLASS="TableRowColor">
194
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195
<CODE> void</CODE></FONT></TD>
196
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/ChunkedOutputStream.html#write(byte[])">write</A></B>(byte[] b)</CODE>
199
Writes the array.</TD>
201
<TR BGCOLOR="white" CLASS="TableRowColor">
202
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203
<CODE> void</CODE></FONT></TD>
204
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/ChunkedOutputStream.html#write(byte[], int, int)">write</A></B>(byte[] src,
209
</TD>
211
<TR BGCOLOR="white" CLASS="TableRowColor">
212
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
213
<CODE> void</CODE></FONT></TD>
214
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/ChunkedOutputStream.html#write(int)">write</A></B>(int b)</CODE>
217
Write the specified byte to our output stream.</TD>
219
<TR BGCOLOR="white" CLASS="TableRowColor">
220
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
221
<CODE>protected void</CODE></FONT></TD>
222
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/ChunkedOutputStream.html#writeClosingChunk()">writeClosingChunk</A></B>()</CODE>
225
</TD>
228
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
229
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
230
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
231
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
233
<TR BGCOLOR="white" CLASS="TableRowColor">
234
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
240
<!-- ========= CONSTRUCTOR DETAIL ======== -->
242
<A NAME="constructor_detail"><!-- --></A>
243
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
244
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
245
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
246
<B>Constructor Detail</B></FONT></TH>
250
<A NAME="ChunkedOutputStream(java.io.OutputStream, int)"><!-- --></A><H3>
251
ChunkedOutputStream</H3>
253
public <B>ChunkedOutputStream</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> stream,
255
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
257
<DD>Wraps a stream and chunks the output.
260
<DT><B>Parameters:</B><DD><CODE>stream</CODE> - to wrap<DD><CODE>bufferSize</CODE> - minimum chunk size (excluding last chunk)
262
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE><DT><B>Since:</B></DT>
268
<A NAME="ChunkedOutputStream(java.io.OutputStream)"><!-- --></A><H3>
269
ChunkedOutputStream</H3>
271
public <B>ChunkedOutputStream</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> stream)
272
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
274
<DD>Wraps a stream and chunks the output. The default buffer size of 2048 was chosen because
275
the chunk overhead is less than 0.5%
278
<DT><B>Parameters:</B><DD><CODE>stream</CODE> -
280
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
283
<!-- ============ METHOD DETAIL ========== -->
285
<A NAME="method_detail"><!-- --></A>
286
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
287
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
288
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
289
<B>Method Detail</B></FONT></TH>
293
<A NAME="flushCache()"><!-- --></A><H3>
296
protected void <B>flushCache</B>()
297
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
299
<DD>Writes the cache out onto the underlying stream
304
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE><DT><B>Since:</B></DT>
311
<A NAME="flushCacheWithAppend(byte[], int, int)"><!-- --></A><H3>
312
flushCacheWithAppend</H3>
314
protected void <B>flushCacheWithAppend</B>(byte[] bufferToAppend,
317
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
319
<DD>Writes the cache and bufferToAppend to the underlying stream
323
<DT><B>Parameters:</B><DD><CODE>bufferToAppend</CODE> - <DD><CODE>off</CODE> - <DD><CODE>len</CODE> -
325
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE><DT><B>Since:</B></DT>
332
<A NAME="writeClosingChunk()"><!-- --></A><H3>
333
writeClosingChunk</H3>
335
protected void <B>writeClosingChunk</B>()
336
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
341
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
346
<A NAME="finish()"><!-- --></A><H3>
349
public void <B>finish</B>()
350
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
352
<DD>Must be called to ensure the internal cache is flushed and the closing chunk is written.
357
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE><DT><B>Since:</B></DT>
364
<A NAME="write(int)"><!-- --></A><H3>
367
public void <B>write</B>(int b)
368
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
370
<DD>Write the specified byte to our output stream.
372
Note: Avoid this method as it will cause an inefficient single byte chunk.
373
Use write (byte[], int, int) instead.
376
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html#write(int)" title="class or interface in java.io">write</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A></CODE></DL>
379
<DT><B>Parameters:</B><DD><CODE>b</CODE> - The byte to be written
381
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if an input/output error occurs</DL>
386
<A NAME="write(byte[])"><!-- --></A><H3>
389
public void <B>write</B>(byte[] b)
390
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
392
<DD>Writes the array. If the array does not fit within the buffer, it is
393
not split, but rather written out as one large chunk.
396
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html#write(byte[])" title="class or interface in java.io">write</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A></CODE></DL>
399
<DT><B>Parameters:</B><DD><CODE>b</CODE> -
401
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE><DT><B>Since:</B></DT>
408
<A NAME="write(byte[], int, int)"><!-- --></A><H3>
411
public void <B>write</B>(byte[] src,
414
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
417
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html#write(byte[], int, int)" title="class or interface in java.io">write</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A></CODE></DL>
422
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
427
<A NAME="flush()"><!-- --></A><H3>
430
public void <B>flush</B>()
431
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
433
<DD>Flushes the underlying stream, but leaves the internal buffer alone.
436
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Flushable.html#flush()" title="class or interface in java.io">flush</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Flushable.html" title="class or interface in java.io">Flushable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html#flush()" title="class or interface in java.io">flush</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A></CODE></DL>
441
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
446
<A NAME="close()"><!-- --></A><H3>
449
public void <B>close</B>()
450
throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
452
<DD>Finishes writing to the underlying stream, but does NOT close the underlying stream.
455
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Closeable.html#close()" title="class or interface in java.io">close</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Closeable.html" title="class or interface in java.io">Closeable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html#close()" title="class or interface in java.io">close</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A></CODE></DL>
460
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
463
<!-- ========= END OF CLASS DATA ========= -->
467
<!-- ======= START OF BOTTOM NAVBAR ====== -->
468
<A NAME="navbar_bottom"><!-- --></A>
469
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
470
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
472
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
473
<A NAME="navbar_bottom_firstrow"><!-- --></A>
474
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
475
<TR ALIGN="center" VALIGN="top">
476
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
477
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
478
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
479
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ChunkedOutputStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
480
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
481
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
482
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
483
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
487
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
493
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
494
<A HREF="../../../../org/apache/commons/httpclient/ChunkedInputStream.html" title="class in org.apache.commons.httpclient"><B>PREV CLASS</B></A>
495
<A HREF="../../../../org/apache/commons/httpclient/CircularRedirectException.html" title="class in org.apache.commons.httpclient"><B>NEXT CLASS</B></A></FONT></TD>
496
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
497
<A HREF="../../../../index.html?org/apache/commons/httpclient/ChunkedOutputStream.html" target="_top"><B>FRAMES</B></A>
498
<A HREF="ChunkedOutputStream.html" target="_top"><B>NO FRAMES</B></A>
499
<SCRIPT type="text/javascript">
502
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
507
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
514
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
515
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
516
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
517
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
520
<A NAME="skip-navbar_bottom"></A>
521
<!-- ======== END OF BOTTOM NAVBAR ======= -->
524
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.