public class StreamWriteContext
extends java.lang.Object
Constructor and Description |
---|
StreamWriteContext(Http2Stream stream,
Connection connection) |
Modifier and Type | Method and Description |
---|---|
void |
closeStream() |
Http2Stream |
getStream() |
void |
writeData(byte[] data,
boolean endStream,
CompletableListener<StreamWriteContext> completableListener)
write DATA frame
|
public StreamWriteContext(Http2Stream stream, Connection connection)
public void writeData(byte[] data, boolean endStream, CompletableListener<StreamWriteContext> completableListener)
data
- dataendStream
- end of streampublic void closeStream()
public Http2Stream getStream()