<p>Enqueues the given DATA frame to be written to the connection.</p>
<p>Enqueues the given frames to be written to the connection.</p>
@return the number of bytes written by this session
@return whether the push functionality is enabled
<p>Callback method invoked during an HTTP/1.1 to HTTP/2 upgrade requests to process the given synthetic frame.</p>
<p>Callback invoked when the idle timeout expires.</p>
<p>Callback invoked when the connection reads -1.</p>
<p>Callback method invoked when a WINDOW_UPDATE frame has been received.</p>
<p>Enqueues the given PUSH_PROMISE frame to be written to the connection.</p> <p>Differently from {@link #frames(StreamSPI, Callback, Frame, Frame...)}, this method generates atomically the stream id for the pushed stream.</p>
<p>Removes the given {@code stream}.</p>
<p>Updates the session receive window by the given {@code delta}.</p>
<p>Updates the session send window by the given {@code delta}.</p>
<p>Sends the given HEADERS {@code frame} to create a new {@link Stream}.</p>
<p>Sends the given PRIORITY {@code frame}.</p> <p>If the {@code frame} references a {@code streamId} that does not exist (for example {@code 0}), then a new {@code streamId} will be allocated, to support <em>unused anchor streams</em> that act as parent for other streams.</p>
<p>Sends the given SETTINGS {@code frame} to configure the session.</p>
<p>Sends the given PING {@code frame}.</p> <p>PING frames may be used to test the connection integrity and to measure round-trip time.</p>
<p>Closes the session by sending a GOAWAY frame with the given error code and payload.</p> <p>The GOAWAY frame is sent only once; subsequent or concurrent attempts to close the session will have no effect.</p>
@return whether the session is not open
@return a snapshot of all the streams currently belonging to this session
<p>Retrieves the stream with the given {@code streamId}.</p>
<p>A {@link Listener} is the passive counterpart of a {@link Session} and receives events happening on a HTTP/2 connection.</p>
<p>The SPI interface for implementing a HTTP/2 session.</p> <p>This class :{@link Session} by adding the methods required to implement the HTTP/2 session functionalities.</p>