blob: 44f2de20b1f55cbcd22364324772e605318e9dde [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.14.1) on Mon Apr 04 09:09:38 CDT 2022 -->
<title>Session.Listener (Eclipse Jetty API Doc - v10.0.9)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-04-04">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Session.Listener (Eclipse Jetty API Doc - v10.0.9)";
}
}
catch(err) {
}
//-->
var data = {"i0":6,"i1":18,"i2":6,"i3":18,"i4":18,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Session.Listener.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.eclipse.jetty.http2.api</a></div>
<h2 title="Interface Session.Listener" class="title">Interface Session.Listener</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><code><a href="server/ServerSessionListener.html" title="interface in org.eclipse.jetty.http2.api.server">ServerSessionListener</a></code></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><code><a href="../server/HTTP2ServerConnectionFactory.HTTPServerSessionListener.html" title="class in org.eclipse.jetty.http2.server">HTTP2ServerConnectionFactory.HTTPServerSessionListener</a></code>, <code><a href="server/ServerSessionListener.Adapter.html" title="class in org.eclipse.jetty.http2.api.server">ServerSessionListener.Adapter</a></code>, <code><a href="Session.Listener.Adapter.html" title="class in org.eclipse.jetty.http2.api">Session.Listener.Adapter</a></code></dd>
</dl>
<dl>
<dt>Enclosing interface:</dt>
<dd><a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></dd>
</dl>
<hr>
<pre>public static interface <span class="typeNameLabel">Session.Listener</span></pre>
<div class="block"><p>A <a href="Session.Listener.html" title="interface in org.eclipse.jetty.http2.api"><code>Session.Listener</code></a> is the passive counterpart of a <a href="Session.html" title="interface in org.eclipse.jetty.http2.api"><code>Session</code></a> and
receives events happening on an HTTP/2 connection.</p></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="Session.html" title="interface in org.eclipse.jetty.http2.api"><code>Session</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Session.Listener.Adapter.html" title="class in org.eclipse.jetty.http2.api">Session.Listener.Adapter</a></span></code></th>
<td class="colLast">
<div class="block">Empty implementation of <a href="Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream.Listener</code></a>.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onClose(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame)">onClose</a></span>&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
<a href="../frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a>&nbsp;frame)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onClose(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame,org.eclipse.jetty.util.Callback)">onClose</a></span>&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
<a href="../frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a>&nbsp;frame,
<a href="../../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Callback method invoked when a GOAWAY frame caused the session to be closed.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onFailure(org.eclipse.jetty.http2.api.Session,java.lang.Throwable)">onFailure</a></span>&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
java.lang.Throwable&nbsp;failure)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onFailure(org.eclipse.jetty.http2.api.Session,java.lang.Throwable,org.eclipse.jetty.util.Callback)">onFailure</a></span>&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
java.lang.Throwable&nbsp;failure,
<a href="../../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Callback method invoked when a failure has been detected for this session.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>default void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onGoAway(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame)">onGoAway</a></span>&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
<a href="../frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a>&nbsp;frame)</code></th>
<td class="colLast">
<div class="block">Callback method invoked when a GOAWAY frame has been received.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onIdleTimeout(org.eclipse.jetty.http2.api.Session)">onIdleTimeout</a></span>&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session)</code></th>
<td class="colLast">
<div class="block">Callback method invoked when the idle timeout expired.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onNewStream(org.eclipse.jetty.http2.api.Stream,org.eclipse.jetty.http2.frames.HeadersFrame)">onNewStream</a></span>&#8203;(<a href="Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&nbsp;stream,
<a href="../frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame)</code></th>
<td class="colLast">
<div class="block">Callback method invoked when a new stream is being created upon
receiving a HEADERS frame representing an HTTP request.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onPing(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.PingFrame)">onPing</a></span>&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
<a href="../frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</a>&nbsp;frame)</code></th>
<td class="colLast">
<div class="block">Callback method invoked when a PING frame has been received.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.Integer,&#8203;java.lang.Integer&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onPreface(org.eclipse.jetty.http2.api.Session)">onPreface</a></span>&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session)</code></th>
<td class="colLast">
<div class="block">Callback method invoked:</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onReset(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.ResetFrame)">onReset</a></span>&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
<a href="../frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a>&nbsp;frame)</code></th>
<td class="colLast">
<div class="block">Callback method invoked when a RST_STREAM frame has been received for an unknown stream.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onSettings(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.SettingsFrame)">onSettings</a></span>&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
<a href="../frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a>&nbsp;frame)</code></th>
<td class="colLast">
<div class="block">Callback method invoked when a SETTINGS frame has been received.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="onPreface(org.eclipse.jetty.http2.api.Session)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onPreface</h4>
<pre class="methodSignature">java.util.Map&lt;java.lang.Integer,&#8203;java.lang.Integer&gt;&nbsp;onPreface&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session)</pre>
<div class="block"><p>Callback method invoked:</p>
<ul>
<li>for clients, just before the preface is sent, to gather the
SETTINGS configuration options the client wants to send to the server;</li>
<li>for servers, just after having received the preface, to gather
the SETTINGS configuration options the server wants to send to the
client.</li>
</ul></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - the session</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a (possibly empty or null) map containing SETTINGS configuration
options to send.</dd>
</dl>
</li>
</ul>
<a id="onNewStream(org.eclipse.jetty.http2.api.Stream,org.eclipse.jetty.http2.frames.HeadersFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onNewStream</h4>
<pre class="methodSignature"><a href="Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;onNewStream&#8203;(<a href="Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&nbsp;stream,
<a href="../frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame)</pre>
<div class="block"><p>Callback method invoked when a new stream is being created upon
receiving a HEADERS frame representing an HTTP request.</p>
<p>Applications should implement this method to process HTTP requests,
typically providing an HTTP response via
<a href="Stream.html#headers(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Callback)"><code>Stream.headers(HeadersFrame, Callback)</code></a>.</p>
<p>Applications can detect whether request DATA frames will be arriving
by testing <a href="../frames/HeadersFrame.html#isEndStream()"><code>HeadersFrame.isEndStream()</code></a>. If the application is
interested in processing the DATA frames, it must return a
<a href="Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream.Listener</code></a> implementation that overrides
<a href="Stream.Listener.html#onData(org.eclipse.jetty.http2.api.Stream,org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)"><code>Stream.Listener.onData(Stream, DataFrame, Callback)</code></a>.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - the newly created stream</dd>
<dd><code>frame</code> - the HEADERS frame received</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream.Listener</code></a> that will be notified of stream events</dd>
</dl>
</li>
</ul>
<a id="onSettings(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.SettingsFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onSettings</h4>
<pre class="methodSignature">void&nbsp;onSettings&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
<a href="../frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a>&nbsp;frame)</pre>
<div class="block"><p>Callback method invoked when a SETTINGS frame has been received.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - the session</dd>
<dd><code>frame</code> - the SETTINGS frame received</dd>
</dl>
</li>
</ul>
<a id="onPing(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.PingFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onPing</h4>
<pre class="methodSignature">void&nbsp;onPing&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
<a href="../frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</a>&nbsp;frame)</pre>
<div class="block"><p>Callback method invoked when a PING frame has been received.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - the session</dd>
<dd><code>frame</code> - the PING frame received</dd>
</dl>
</li>
</ul>
<a id="onReset(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.ResetFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onReset</h4>
<pre class="methodSignature">void&nbsp;onReset&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
<a href="../frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a>&nbsp;frame)</pre>
<div class="block"><p>Callback method invoked when a RST_STREAM frame has been received for an unknown stream.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - the session</dd>
<dd><code>frame</code> - the RST_STREAM frame received</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="Stream.Listener.html#onReset(org.eclipse.jetty.http2.api.Stream,org.eclipse.jetty.http2.frames.ResetFrame)"><code>Stream.Listener.onReset(Stream, ResetFrame)</code></a></dd>
</dl>
</li>
</ul>
<a id="onGoAway(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onGoAway</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onGoAway&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
<a href="../frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a>&nbsp;frame)</pre>
<div class="block"><p>Callback method invoked when a GOAWAY frame has been received.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - the session</dd>
<dd><code>frame</code> - the GOAWAY frame received</dd>
</dl>
</li>
</ul>
<a id="onClose(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onClose</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onClose&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
<a href="../frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a>&nbsp;frame,
<a href="../../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
<div class="block"><p>Callback method invoked when a GOAWAY frame caused the session to be closed.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - the session</dd>
<dd><code>frame</code> - the GOAWAY frame that caused the session to be closed</dd>
<dd><code>callback</code> - the callback to notify of the GOAWAY processing</dd>
</dl>
</li>
</ul>
<a id="onClose(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onClose</h4>
<pre class="methodSignature">void&nbsp;onClose&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
<a href="../frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a>&nbsp;frame)</pre>
</li>
</ul>
<a id="onIdleTimeout(org.eclipse.jetty.http2.api.Session)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onIdleTimeout</h4>
<pre class="methodSignature">boolean&nbsp;onIdleTimeout&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session)</pre>
<div class="block"><p>Callback method invoked when the idle timeout expired.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - the session</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>whether the session should be closed</dd>
</dl>
</li>
</ul>
<a id="onFailure(org.eclipse.jetty.http2.api.Session,java.lang.Throwable,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onFailure</h4>
<pre class="methodSignature">default&nbsp;void&nbsp;onFailure&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
java.lang.Throwable&nbsp;failure,
<a href="../../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
<div class="block"><p>Callback method invoked when a failure has been detected for this session.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - the session</dd>
<dd><code>failure</code> - the failure</dd>
<dd><code>callback</code> - the callback to notify of failure processing</dd>
</dl>
</li>
</ul>
<a id="onFailure(org.eclipse.jetty.http2.api.Session,java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>onFailure</h4>
<pre class="methodSignature">void&nbsp;onFailure&#8203;(<a href="Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session,
java.lang.Throwable&nbsp;failure)</pre>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Session.Listener.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 1995&#x2013;2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>