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 AppendableIOExceptionpublic Appendable append(CharSequence csq, int start, int end) throws IOException
append in interface AppendableIOExceptionpublic Appendable append(char c) throws IOException
append in interface AppendableIOExceptionpublic ChunkBuffer append(Iterable<Chunk> chunks)
public ChunkBuffer append(Chunk chunk)
public void send(Stream stream)
Streamablesend in interface Streamablestream - the streampublic ChunkBuffer close()
Copyright © 2017 eXo Platform SAS. All rights reserved.