Package | Description |
---|---|
org.eclipse.jetty.http2 | |
org.eclipse.jetty.http2.client | |
org.eclipse.jetty.http2.client.http | |
org.eclipse.jetty.http2.server |
Modifier and Type | Class and Description |
---|---|
class |
HTTP2Stream |
Modifier and Type | Field and Description |
---|---|
private IStream |
HTTP2Session.StreamPromiseCallback.stream |
private IStream |
HTTP2Session.DataCallback.stream |
protected IStream |
HTTP2Flusher.Entry.stream |
private IStream |
HTTP2Flusher.WindowEntry.stream |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<IStream,java.util.concurrent.atomic.AtomicInteger> |
BufferingFlowControlStrategy.streamLevels |
private java.util.concurrent.ConcurrentMap<java.lang.Integer,IStream> |
HTTP2Session.streams |
private java.util.Map<IStream,java.lang.Long> |
AbstractFlowControlStrategy.streamsStalls |
Modifier and Type | Method and Description |
---|---|
protected IStream |
HTTP2Session.createLocalStream(int streamId) |
protected IStream |
HTTP2Session.createRemoteStream(int streamId) |
IStream |
ISession.getStream(int streamId) |
IStream |
HTTP2Session.getStream(int streamId) |
protected IStream |
HTTP2Session.newStream(int streamId,
boolean local) |
Modifier and Type | Method and Description |
---|---|
private void |
HTTP2Session.control(IStream stream,
Callback callback,
Frame frame) |
void |
ISession.data(IStream stream,
Callback callback,
DataFrame frame)
Enqueues the given DATA frame to be written to the connection.
|
void |
HTTP2Session.data(IStream stream,
Callback callback,
DataFrame frame) |
void |
ISession.frames(IStream stream,
Callback callback,
Frame frame,
Frame... frames)
Enqueues the given frames to be written to the connection.
|
void |
HTTP2Session.frames(IStream stream,
Callback callback,
Frame frame,
Frame... frames) |
protected void |
HTTP2Session.notifyHeaders(IStream stream,
HeadersFrame frame) |
void |
SimpleFlowControlStrategy.onDataConsumed(ISession session,
IStream stream,
int length) |
void |
FlowControlStrategy.onDataConsumed(ISession session,
IStream stream,
int length) |
void |
BufferingFlowControlStrategy.onDataConsumed(ISession session,
IStream stream,
int length) |
void |
FlowControlStrategy.onDataReceived(ISession session,
IStream stream,
int length) |
void |
AbstractFlowControlStrategy.onDataReceived(ISession session,
IStream stream,
int length) |
void |
FlowControlStrategy.onDataSending(IStream stream,
int length) |
void |
AbstractFlowControlStrategy.onDataSending(IStream stream,
int length) |
void |
FlowControlStrategy.onDataSent(IStream stream,
int length) |
void |
AbstractFlowControlStrategy.onDataSent(IStream stream,
int length) |
protected void |
HTTP2Session.onStreamClosed(IStream stream) |
void |
FlowControlStrategy.onStreamCreated(IStream stream) |
void |
BufferingFlowControlStrategy.onStreamCreated(IStream stream) |
void |
AbstractFlowControlStrategy.onStreamCreated(IStream stream) |
void |
FlowControlStrategy.onStreamDestroyed(IStream stream) |
void |
BufferingFlowControlStrategy.onStreamDestroyed(IStream stream) |
void |
AbstractFlowControlStrategy.onStreamDestroyed(IStream stream) |
protected void |
HTTP2Session.onStreamOpened(IStream stream) |
protected void |
AbstractFlowControlStrategy.onStreamStalled(IStream stream) |
protected void |
AbstractFlowControlStrategy.onStreamUnstalled(IStream stream) |
void |
FlowControlStrategy.onWindowUpdate(ISession session,
IStream stream,
WindowUpdateFrame frame) |
void |
AbstractFlowControlStrategy.onWindowUpdate(ISession session,
IStream stream,
WindowUpdateFrame frame) |
void |
ISession.onWindowUpdate(IStream stream,
WindowUpdateFrame frame)
Callback method invoked when a WINDOW_UPDATE frame has been received.
|
void |
HTTP2Session.onWindowUpdate(IStream stream,
WindowUpdateFrame frame) |
void |
ISession.push(IStream stream,
Promise<Stream> promise,
PushPromiseFrame frame,
Stream.Listener listener)
Enqueues the given PUSH_PROMISE frame to be written to the connection.
|
void |
HTTP2Session.push(IStream stream,
Promise<Stream> promise,
PushPromiseFrame frame,
Stream.Listener listener) |
void |
ISession.removeStream(IStream stream)
Removes the given
stream . |
void |
HTTP2Session.removeStream(IStream stream) |
void |
HTTP2Flusher.window(IStream stream,
WindowUpdateFrame frame) |
void |
FlowControlStrategy.windowUpdate(ISession session,
IStream stream,
WindowUpdateFrame frame) |
void |
BufferingFlowControlStrategy.windowUpdate(ISession session,
IStream stream,
WindowUpdateFrame frame) |
void |
AbstractFlowControlStrategy.windowUpdate(ISession session,
IStream stream,
WindowUpdateFrame frame) |
Constructor and Description |
---|
ControlEntry(Frame frame,
IStream stream,
Callback callback) |
DataCallback(Callback callback,
IStream stream,
int flowControlLength) |
DataEntry(DataFrame frame,
IStream stream,
Callback callback) |
Entry(Frame frame,
IStream stream,
Callback callback) |
StreamPromiseCallback(Promise<Stream> promise,
IStream stream) |
WindowEntry(IStream stream,
WindowUpdateFrame frame) |
Modifier and Type | Method and Description |
---|---|
private Stream.Listener |
HTTP2ClientSession.notifyPush(IStream stream,
IStream pushStream,
PushPromiseFrame frame) |
protected void |
HTTP2ClientSession.onStreamClosed(IStream stream) |
protected void |
HTTP2ClientSession.onStreamOpened(IStream stream) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
HttpChannelOverHTTP2.onStreamClosed(IStream stream) |
(package private) void |
HttpConnectionOverHTTP2.onStreamClosed(IStream stream,
HttpChannelOverHTTP2 channel) |
Modifier and Type | Field and Description |
---|---|
private IStream |
HttpTransportOverHTTP2.stream |
Modifier and Type | Method and Description |
---|---|
IStream |
HttpTransportOverHTTP2.getStream() |
protected IStream |
HttpChannelOverHTTP2.getStream() |
Modifier and Type | Method and Description |
---|---|
void |
HTTP2ServerConnection.onData(IStream stream,
DataFrame frame,
Callback callback) |
void |
HTTP2ServerConnection.onNewStream(Connector connector,
IStream stream,
HeadersFrame frame) |
void |
HTTP2ServerConnection.onStreamFailure(IStream stream,
java.lang.Throwable failure,
Callback callback) |
boolean |
HTTP2ServerConnection.onStreamTimeout(IStream stream,
java.lang.Throwable failure) |
void |
HTTP2ServerConnection.onTrailers(IStream stream,
HeadersFrame frame) |
private HttpChannelOverHTTP2 |
HTTP2ServerConnection.provideHttpChannel(Connector connector,
IStream stream) |
void |
HTTP2ServerConnection.push(Connector connector,
IStream stream,
MetaData.Request request) |
void |
HttpTransportOverHTTP2.setStream(IStream stream) |