| 程序包 | 说明 |
|---|---|
| com.firefly.codec.http2.stream |
| 限定符和类型 | 类和说明 |
|---|---|
class |
HTTP2Stream |
| 限定符和类型 | 字段和说明 |
|---|---|
protected StreamSPI |
HTTP2Flusher.Entry.stream |
| 限定符和类型 | 方法和说明 |
|---|---|
protected StreamSPI |
HTTP2Session.createLocalStream(int streamId,
Promise<Stream> promise) |
protected StreamSPI |
HTTP2Session.createRemoteStream(int streamId) |
StreamSPI |
SessionSPI.getStream(int streamId) |
StreamSPI |
HTTP2Session.getStream(int streamId) |
protected StreamSPI |
HTTP2Session.newStream(int streamId,
boolean local) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SessionSPI.data(StreamSPI stream,
Callback callback,
DataFrame frame)
Enqueues the given DATA frame to be written to the connection.
|
void |
HTTP2Session.data(StreamSPI stream,
Callback callback,
DataFrame frame) |
void |
SessionSPI.frames(StreamSPI stream,
Callback callback,
Frame frame,
Frame... frames)
Enqueues the given frames to be written to the connection.
|
void |
HTTP2Session.frames(StreamSPI stream,
Callback callback,
Frame frame,
Frame... frames) |
protected void |
HTTP2Session.notifyHeaders(StreamSPI stream,
HeadersFrame frame) |
void |
SimpleFlowControlStrategy.onDataConsumed(SessionSPI session,
StreamSPI stream,
int length) |
void |
FlowControlStrategy.onDataConsumed(SessionSPI session,
StreamSPI stream,
int length) |
void |
BufferingFlowControlStrategy.onDataConsumed(SessionSPI session,
StreamSPI stream,
int length) |
void |
FlowControlStrategy.onDataReceived(SessionSPI session,
StreamSPI stream,
int length) |
void |
AbstractFlowControlStrategy.onDataReceived(SessionSPI session,
StreamSPI stream,
int length) |
void |
FlowControlStrategy.onDataSending(StreamSPI stream,
int length) |
void |
AbstractFlowControlStrategy.onDataSending(StreamSPI stream,
int length) |
void |
FlowControlStrategy.onDataSent(StreamSPI stream,
int length) |
void |
AbstractFlowControlStrategy.onDataSent(StreamSPI stream,
int length) |
protected void |
HTTP2Session.onStreamClosed(StreamSPI stream) |
void |
FlowControlStrategy.onStreamCreated(StreamSPI stream) |
void |
BufferingFlowControlStrategy.onStreamCreated(StreamSPI stream) |
void |
AbstractFlowControlStrategy.onStreamCreated(StreamSPI stream) |
void |
FlowControlStrategy.onStreamDestroyed(StreamSPI stream) |
void |
BufferingFlowControlStrategy.onStreamDestroyed(StreamSPI stream) |
void |
AbstractFlowControlStrategy.onStreamDestroyed(StreamSPI stream) |
protected void |
HTTP2Session.onStreamOpened(StreamSPI stream) |
protected void |
AbstractFlowControlStrategy.onStreamStalled(StreamSPI stream) |
protected void |
AbstractFlowControlStrategy.onStreamUnstalled(StreamSPI stream) |
void |
FlowControlStrategy.onWindowUpdate(SessionSPI session,
StreamSPI stream,
WindowUpdateFrame frame) |
void |
AbstractFlowControlStrategy.onWindowUpdate(SessionSPI session,
StreamSPI stream,
WindowUpdateFrame frame) |
void |
SessionSPI.onWindowUpdate(StreamSPI stream,
WindowUpdateFrame frame)
Callback method invoked when a WINDOW_UPDATE frame has been received.
|
void |
HTTP2Session.onWindowUpdate(StreamSPI stream,
WindowUpdateFrame frame) |
void |
SessionSPI.push(StreamSPI stream,
Promise<Stream> promise,
PushPromiseFrame frame,
Stream.Listener listener)
Enqueues the given PUSH_PROMISE frame to be written to the connection.
|
void |
HTTP2Session.push(StreamSPI stream,
Promise<Stream> promise,
PushPromiseFrame frame,
Stream.Listener listener) |
void |
SessionSPI.removeStream(StreamSPI stream)
Removes the given
stream. |
void |
HTTP2Session.removeStream(StreamSPI stream) |
void |
HTTP2Flusher.window(StreamSPI stream,
WindowUpdateFrame frame) |
void |
FlowControlStrategy.windowUpdate(SessionSPI session,
StreamSPI stream,
WindowUpdateFrame frame) |
void |
BufferingFlowControlStrategy.windowUpdate(SessionSPI session,
StreamSPI stream,
WindowUpdateFrame frame) |
void |
AbstractFlowControlStrategy.windowUpdate(SessionSPI session,
StreamSPI stream,
WindowUpdateFrame frame) |
| 构造器和说明 |
|---|
Entry(Frame frame,
StreamSPI stream,
Callback callback) |
Copyright © 2017. All rights reserved.