public class ChunkBuffer extends Object implements Streamable, Appendable
Constructor and Description |
---|
ChunkBuffer() |
ChunkBuffer(Thread.UncaughtExceptionHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
Appendable |
append(char c) |
Appendable |
append(CharSequence csq) |
Appendable |
append(CharSequence csq,
int start,
int end) |
ChunkBuffer |
append(Chunk chunk) |
ChunkBuffer |
append(Iterable<Chunk> chunks) |
ChunkBuffer |
close() |
void |
send(Stream stream)
Send the chunks to the stream.
|
public ChunkBuffer()
public ChunkBuffer(Thread.UncaughtExceptionHandler errorHandler)
public Appendable append(CharSequence csq) throws IOException
append
in interface Appendable
IOException
public Appendable append(CharSequence csq, int start, int end) throws IOException
append
in interface Appendable
IOException
public Appendable append(char c) throws IOException
append
in interface Appendable
IOException
public ChunkBuffer append(Iterable<Chunk> chunks)
public ChunkBuffer append(Chunk chunk)
public void send(Stream stream)
Streamable
send
in interface Streamable
stream
- the streampublic ChunkBuffer close()
Copyright © 2015 eXo Platform SAS. All rights reserved.