public abstract class Http2ConnectionOutputSink extends Object
Http2Connection
and is responsible for session (connection) level flow control.Modifier and Type | Field and Description |
---|---|
protected Http2Connection |
http2Connection |
Constructor and Description |
---|
Http2ConnectionOutputSink(Http2Connection session) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
canWrite() |
void |
close() |
protected Http2FrameCodec |
frameCodec() |
protected abstract int |
getAvailablePeerConnectionWindowSize() |
protected abstract void |
notifyCanWrite(WriteHandler writeHandler) |
protected abstract void |
onPeerWindowUpdate(int delta) |
protected void |
writeDataDownStream(Http2Stream stream,
List<Http2Frame> headerFrames,
Buffer data,
CompletionHandler<WriteResult> completionHandler,
MessageCloner<Buffer> messageCloner,
boolean isLast) |
protected void |
writeDownStream(Http2Frame frame) |
protected void |
writeDownStream(Http2Frame frame,
CompletionHandler<WriteResult> completionHandler) |
protected <K> void |
writeDownStream(K anyMessage,
CompletionHandler<WriteResult> completionHandler,
MessageCloner<Buffer> messageCloner) |
protected void |
writeDownStream(List<Http2Frame> frames) |
protected void |
writeDownStream(List<Http2Frame> frames,
CompletionHandler<WriteResult> completionHandler) |
protected final Http2Connection http2Connection
public Http2ConnectionOutputSink(Http2Connection session)
public void close()
protected Http2FrameCodec frameCodec()
protected void writeDownStream(Http2Frame frame)
protected void writeDownStream(Http2Frame frame, CompletionHandler<WriteResult> completionHandler)
protected void writeDownStream(List<Http2Frame> frames)
protected void writeDownStream(List<Http2Frame> frames, CompletionHandler<WriteResult> completionHandler)
protected <K> void writeDownStream(K anyMessage, CompletionHandler<WriteResult> completionHandler, MessageCloner<Buffer> messageCloner)
protected void writeDataDownStream(Http2Stream stream, List<Http2Frame> headerFrames, Buffer data, CompletionHandler<WriteResult> completionHandler, MessageCloner<Buffer> messageCloner, boolean isLast)
protected abstract void onPeerWindowUpdate(int delta) throws Http2StreamException
Http2StreamException
protected abstract boolean canWrite()
protected abstract void notifyCanWrite(WriteHandler writeHandler)
protected abstract int getAvailablePeerConnectionWindowSize()
Copyright © 2016 Oracle Corporation. All rights reserved.