play.mvc
Class Results.ByteChunks

java.lang.Object
  extended by play.mvc.Results.Chunks<byte[]>
      extended by play.mvc.Results.ByteChunks
Enclosing class:
Results

public abstract static class Results.ByteChunks
extends Results.Chunks<byte[]>

Chunked result based on byte[] chunks.


Nested Class Summary
 
Nested classes/interfaces inherited from class play.mvc.Results.Chunks
Results.Chunks.Out<A>
 
Constructor Summary
Results.ByteChunks()
           
 
Method Summary
static Results.ByteChunks whenReady(F.Callback<Results.Chunks.Out<byte[]>> callback)
          Creates a ByteChunks.
 
Methods inherited from class play.mvc.Results.Chunks
onReady
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Results.ByteChunks

public Results.ByteChunks()
Method Detail

whenReady

public static Results.ByteChunks whenReady(F.Callback<Results.Chunks.Out<byte[]>> callback)
Creates a ByteChunks. The abstract onReady method is implemented using the specified Callback<Chunks.Out<byte[]>>.

Parameters:
callback - the callback used to implement onReady
Returns:
a new ByteChunks
Throws:
java.lang.NullPointerException - if the specified callback is null