Source
instead.@Deprecated public abstract static class Results.ByteChunks extends Results.Chunks<byte[]>
Results.Chunks.Out<A>
Constructor and Description |
---|
ByteChunks()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Results.ByteChunks |
whenReady(java.util.function.Consumer<Results.Chunks.Out<byte[]>> callback)
Deprecated.
Creates a ByteChunks.
|
onReady
public static Results.ByteChunks whenReady(java.util.function.Consumer<Results.Chunks.Out<byte[]>> callback)
onReady
method is
implemented using the specified Callback<Chunks.Out<byte[]>>
.callback
- the callback used to implement onReadyjava.lang.NullPointerException
- if the specified callback is null