public static interface StreamByteDistributor.Writer
| Modifier and Type | Method and Description |
|---|---|
void |
write(Http2Stream stream, int numBytes)
为此流写入分配的字节。
|
void write(Http2Stream stream, int numBytes)
从这个方法抛出的任何Throwable被认为是编程错误。 一个GOAWAY帧将被发送,并将关闭连接。
stream - 要执行写入的流。
numBytes - 要写入的字节数。
Copyright © 2008–2018 The Netty Project. All rights reserved.