- Enclosing interface:
public static interface StreamByteDistributor.WriterObject that performs the writing of the bytes that have been allocated for a stream.
void write(Http2Stream stream, int numBytes)Writes the allocated bytes for this stream.
Throwablethrown from this method is considered a programming error. A
GOAWAYframe 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.