Modifier and Type | Interface and Description |
---|---|
interface |
ISession
The SPI interface for implementing a HTTP/2 session.
|
Modifier and Type | Class and Description |
---|---|
class |
HTTP2Session |
Modifier and Type | Method and Description |
---|---|
protected void |
HTTP2Session.notifyClose(Session session,
GoAwayFrame frame,
Callback callback) |
protected void |
HTTP2Session.notifyFailure(Session session,
java.lang.Throwable failure,
Callback callback) |
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) |
Modifier and Type | Method and Description |
---|---|
Session |
Stream.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
Session.Listener.onClose(Session session,
GoAwayFrame frame) |
void |
Session.Listener.Adapter.onClose(Session session,
GoAwayFrame frame) |
default void |
Session.Listener.onClose(Session session,
GoAwayFrame frame,
Callback callback)
Callback method invoked when a GOAWAY frame has been received.
|
void |
Session.Listener.onFailure(Session session,
java.lang.Throwable failure) |
void |
Session.Listener.Adapter.onFailure(Session session,
java.lang.Throwable failure) |
default void |
Session.Listener.onFailure(Session session,
java.lang.Throwable failure,
Callback callback)
Callback method invoked when a failure has been detected for this session.
|
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) |
java.util.Map<java.lang.Integer,java.lang.Integer> |
Session.Listener.onPreface(Session session)
Callback method invoked:
|
java.util.Map<java.lang.Integer,java.lang.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) |
Modifier and Type | Method and Description |
---|---|
void |
ServerSessionListener.onAccept(Session session)
Callback method invoked when a connection has been accepted by the server.
|
void |
ServerSessionListener.Adapter.onAccept(Session session) |
Modifier and Type | Class and Description |
---|---|
class |
HTTP2ClientSession |
Modifier and Type | Field and Description |
---|---|
private Promise<Session> |
HTTP2ClientConnectionFactory.HTTP2ClientConnection.promise |
Modifier and Type | Method and Description |
---|---|
void |
HTTP2Client.accept(SslContextFactory sslContextFactory,
java.nio.channels.SocketChannel channel,
Session.Listener listener,
Promise<Session> promise) |
void |
HTTP2Client.connect(java.net.InetSocketAddress address,
Session.Listener listener,
Promise<Session> promise) |
void |
HTTP2Client.connect(SslContextFactory sslContextFactory,
java.net.InetSocketAddress address,
Session.Listener listener,
Promise<Session> promise) |
void |
HTTP2Client.connect(SslContextFactory sslContextFactory,
java.net.InetSocketAddress address,
Session.Listener listener,
Promise<Session> promise,
java.util.Map<java.lang.String,java.lang.Object> context) |
private java.util.Map<java.lang.String,java.lang.Object> |
HTTP2Client.contextFrom(SslContextFactory sslContextFactory,
java.net.InetSocketAddress address,
Session.Listener listener,
Promise<Session> promise,
java.util.Map<java.lang.String,java.lang.Object> context) |
Constructor and Description |
---|
HTTP2ClientConnection(HTTP2Client client,
ByteBufferPool byteBufferPool,
java.util.concurrent.Executor executor,
EndPoint endpoint,
Parser parser,
ISession session,
int bufferSize,
Promise<Session> promise,
Session.Listener listener) |
Modifier and Type | Field and Description |
---|---|
private Session |
HttpConnectionOverHTTP2.session |
private Session |
HttpChannelOverHTTP2.session |
Modifier and Type | Method and Description |
---|---|
Session |
HttpConnectionOverHTTP2.getSession() |
Session |
HttpChannelOverHTTP2.getSession() |
Modifier and Type | Method and Description |
---|---|
protected HttpConnectionOverHTTP2 |
HttpClientTransportOverHTTP2.newHttpConnection(HttpDestination destination,
Session session) |
void |
HttpClientTransportOverHTTP2.SessionListenerPromise.onClose(Session session,
GoAwayFrame frame) |
void |
HttpClientTransportOverHTTP2.SessionListenerPromise.onFailure(Session session,
java.lang.Throwable failure) |
boolean |
HttpClientTransportOverHTTP2.SessionListenerPromise.onIdleTimeout(Session session) |
private void |
HttpClientTransportOverHTTP2.SessionListenerPromise.onServerPreface(Session session) |
void |
HttpClientTransportOverHTTP2.SessionListenerPromise.onSettings(Session session,
SettingsFrame frame) |
void |
HttpClientTransportOverHTTP2.SessionListenerPromise.succeeded(Session session) |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpClientTransportOverHTTP2.connect(SslContextFactory sslContextFactory,
java.net.InetSocketAddress address,
Session.Listener listener,
Promise<Session> promise,
java.util.Map<java.lang.String,java.lang.Object> context) |
Constructor and Description |
---|
HttpChannelOverHTTP2(HttpDestination destination,
HttpConnectionOverHTTP2 connection,
Session session) |
HttpConnectionOverHTTP2(HttpDestination destination,
Session session) |
Modifier and Type | Class and Description |
---|---|
class |
HTTP2ServerSession |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<Session> |
AbstractHTTP2ServerConnectionFactory.HTTP2SessionContainer.sessions |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Session> |
AbstractHTTP2ServerConnectionFactory.HTTP2SessionContainer.getSessions() |
Modifier and Type | Method and Description |
---|---|
private java.util.Map<java.lang.Integer,java.lang.Integer> |
HTTP2ServerSession.notifyPreface(Session session) |
void |
RawHTTP2ServerConnectionFactory.RawServerSessionListener.onAccept(Session session) |
void |
RawHTTP2ServerConnectionFactory.RawServerSessionListener.onClose(Session session,
GoAwayFrame frame) |
void |
HTTP2ServerConnectionFactory.HTTPServerSessionListener.onClose(Session session,
GoAwayFrame frame,
Callback callback) |
void |
RawHTTP2ServerConnectionFactory.RawServerSessionListener.onFailure(Session session,
java.lang.Throwable failure) |
void |
HTTP2ServerConnectionFactory.HTTPServerSessionListener.onFailure(Session session,
java.lang.Throwable failure,
Callback callback) |
boolean |
RawHTTP2ServerConnectionFactory.RawServerSessionListener.onIdleTimeout(Session session) |
boolean |
HTTP2ServerConnectionFactory.HTTPServerSessionListener.onIdleTimeout(Session session) |
void |
RawHTTP2ServerConnectionFactory.RawServerSessionListener.onPing(Session session,
PingFrame frame) |
java.util.Map<java.lang.Integer,java.lang.Integer> |
RawHTTP2ServerConnectionFactory.RawServerSessionListener.onPreface(Session session) |
java.util.Map<java.lang.Integer,java.lang.Integer> |
HTTP2ServerConnectionFactory.HTTPServerSessionListener.onPreface(Session session) |
void |
RawHTTP2ServerConnectionFactory.RawServerSessionListener.onReset(Session session,
ResetFrame frame) |
void |
RawHTTP2ServerConnectionFactory.RawServerSessionListener.onSettings(Session session,
SettingsFrame frame) |