public interface NettyOutputStream
ServletOutputStream.flush()| 限定符和类型 | 方法和说明 |
|---|---|
io.netty.channel.ChannelProgressivePromise |
write(io.netty.handler.stream.ChunkedInput input)
use netty batch write
|
io.netty.channel.ChannelProgressivePromise |
write(FileChannel fileChannel,
long position,
long count)
use netty zero copy
|
io.netty.channel.ChannelProgressivePromise |
write(File file,
long position,
long count)
use netty zero copy
|
io.netty.channel.ChannelProgressivePromise write(io.netty.handler.stream.ChunkedInput input)
throws IOException
input - ChunkedInputIOException - if closeChunkedFile,
ChunkedNioStream,
ChunkedNioFile,
ChunkedStreamio.netty.channel.ChannelProgressivePromise write(FileChannel fileChannel, long position, long count) throws IOException
fileChannel - FileChannelcount - countposition - positionChannelProgressivePromise.addListener(GenericFutureListener) }IOException - if closeGenericProgressiveFutureListenerio.netty.channel.ChannelProgressivePromise write(File file, long position, long count) throws IOException
file - filecount - countposition - positionChannelProgressivePromise.addListener(GenericFutureListener) }IOException - if closeGenericProgressiveFutureListenerCopyright © 2020. All rights reserved.