static interface ResponseBodyEmitter.Handler
Modifier and Type | Method and Description |
---|---|
void |
complete() |
void |
completeWithError(java.lang.Throwable failure) |
void |
onCompletion(java.lang.Runnable callback) |
void |
onError(java.util.function.Consumer<java.lang.Throwable> callback) |
void |
onTimeout(java.lang.Runnable callback) |
void |
send(java.lang.Object data,
MediaType mediaType) |
void send(java.lang.Object data, @Nullable MediaType mediaType) throws java.io.IOException
java.io.IOException
void complete()
void completeWithError(java.lang.Throwable failure)
void onTimeout(java.lang.Runnable callback)
void onError(java.util.function.Consumer<java.lang.Throwable> callback)
void onCompletion(java.lang.Runnable callback)