| 程序包 | 说明 |
|---|---|
| com.firefly.client.http2 | |
| com.firefly.codec.http2.stream | |
| com.firefly.server.http2 |
| 限定符和类型 | 类和说明 |
|---|---|
class |
HTTP2ClientSession |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
SessionSPI
The SPI interface for implementing a HTTP/2 session.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
HTTP2Session |
| 限定符和类型 | 方法和说明 |
|---|---|
Session |
AbstractHTTP2Connection.getHttp2Session() |
Session |
Stream.getSession() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
HTTP2Session.notifyClose(Session session,
GoAwayFrame frame) |
protected void |
HTTP2Session.notifyFailure(Session session,
Throwable failure) |
protected boolean |
HTTP2Session.notifyIdleTimeout(Session session) |
protected void |
HTTP2Session.notifyPing(Session session,
PingFrame frame) |
protected void |
HTTP2Session.notifyReset(Session session,
ResetFrame frame) |
protected void |
HTTP2Session.notifySettings(Session session,
SettingsFrame frame) |
void |
Session.Listener.onClose(Session session,
GoAwayFrame frame)
Callback method invoked when a GOAWAY frame has been received.
|
void |
Session.Listener.Adapter.onClose(Session session,
GoAwayFrame frame) |
void |
Session.Listener.onFailure(Session session,
Throwable failure)
Callback method invoked when a failure has been detected for this
session.
|
void |
Session.Listener.Adapter.onFailure(Session session,
Throwable failure) |
boolean |
Session.Listener.onIdleTimeout(Session session)
Callback method invoked when the idle timeout expired.
|
boolean |
Session.Listener.Adapter.onIdleTimeout(Session session) |
void |
Session.Listener.onPing(Session session,
PingFrame frame)
Callback method invoked when a PING frame has been received.
|
void |
Session.Listener.Adapter.onPing(Session session,
PingFrame frame) |
Map<Integer,Integer> |
Session.Listener.onPreface(Session session)
Callback method invoked when the preface has been received.
|
Map<Integer,Integer> |
Session.Listener.Adapter.onPreface(Session session) |
void |
Session.Listener.onReset(Session session,
ResetFrame frame)
Callback method invoked when a RST_STREAM frame has been received for
an unknown stream.
|
void |
Session.Listener.Adapter.onReset(Session session,
ResetFrame frame) |
void |
Session.Listener.onSettings(Session session,
SettingsFrame frame)
Callback method invoked when a SETTINGS frame has been received.
|
void |
Session.Listener.Adapter.onSettings(Session session,
SettingsFrame frame) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
HTTP2ServerSession |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ServerSessionListener.onAccept(Session session)
Callback method invoked when a connection has been accepted by the
server.
|
void |
ServerSessionListener.Adapter.onAccept(Session session) |
Copyright © 2016. All rights reserved.