public static interface AsyncStreamingOutputPlus.Write
Modifier and Type | Method and Description |
---|---|
void |
write(AsyncStreamingOutputPlus.BufferSupplier supplier)
Write to a buffer, and flush its contents to the channel.
|
void write(AsyncStreamingOutputPlus.BufferSupplier supplier) throws java.io.IOException
The lifetime of the buffer will be managed by the AsyncChannelOutputPlus you issue this Write to. If the method exits successfully, the contents of the buffer will be written to the channel, otherwise the buffer will be cleaned and the exception propagated to the caller.
java.io.IOException
Copyright © 2009-2021 The Apache Software Foundation