Package fi.iki.elonen
Class NanoHTTPD.Response.ChunkedOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
fi.iki.elonen.NanoHTTPD.Response.ChunkedOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
NanoHTTPD.Response
Output stream that will automatically send every write to the wrapped
OutputStream according to chunked transfer:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6.1
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterOutputStream
close, flush
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
ChunkedOutputStream
-
-
Method Details
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
finish
- Throws:
IOException
-