public static interface StreamByteDistributor.Writer
| 限定符和类型 | 方法和说明 |
|---|---|
void |
write(Http2Stream stream,
int numBytes)
Writes the allocated bytes for this stream.
|
void write(Http2Stream stream, int numBytes)
Any Throwable thrown from this method is considered a programming error.
A GOAWAY frame will be sent and the will be connection closed.
stream - the stream for which to perform the write.numBytes - the number of bytes to write.