public abstract static class Results.StringChunks extends Results.Chunks<java.lang.String>
Results.Chunks.Out<A>
Constructor and Description |
---|
Results.StringChunks() |
Results.StringChunks(play.api.mvc.Codec codec) |
Results.StringChunks(java.lang.String codec) |
Modifier and Type | Method and Description |
---|---|
static Results.StringChunks |
whenReady(play.api.mvc.Codec codec,
F.Callback<Results.Chunks.Out<java.lang.String>> callback)
Creates a StringChunks.
|
static Results.StringChunks |
whenReady(F.Callback<Results.Chunks.Out<java.lang.String>> callback)
Creates a StringChunks.
|
static Results.StringChunks |
whenReady(java.lang.String codec,
F.Callback<Results.Chunks.Out<java.lang.String>> callback)
Creates a StringChunks.
|
onReady
public Results.StringChunks()
public Results.StringChunks(java.lang.String codec)
public Results.StringChunks(play.api.mvc.Codec codec)
public static Results.StringChunks whenReady(F.Callback<Results.Chunks.Out<java.lang.String>> callback)
onReady
method is
implemented using the specified Callback<Chunks.Out<String>>
.
Uses UTF-8 by default.callback
- the callback used to implement onReadyjava.lang.NullPointerException
- if the specified callback is nullpublic static Results.StringChunks whenReady(java.lang.String codec, F.Callback<Results.Chunks.Out<java.lang.String>> callback)
onReady
method is
implemented using the specified Callback<Chunks.Out<String>>
.codec
- the Codec charset usedcallback
- the callback used to implement onReadyjava.lang.NullPointerException
- if the specified callback is nullpublic static Results.StringChunks whenReady(play.api.mvc.Codec codec, F.Callback<Results.Chunks.Out<java.lang.String>> callback)
onReady
method is
implemented using the specified Callback<Chunks.Out<String>>
.codec
- the Codec usedcallback
- the callback used to implement onReadyjava.lang.NullPointerException
- if the specified callback is null