blob: efab9b1b3b3458494b631e980afe77a891bd46de [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>HTTP2Session (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="HTTP2Session (Eclipse Jetty API Doc - v10.0.9)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":9,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":6,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete 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/HTTP2Session.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><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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</a></div>
<h2 title="Class HTTP2Session" class="title">Class HTTP2Session</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.AbstractLifeCycle</a></li>
<li>
<ul class="inheritance">
<li><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.ContainerLifeCycle</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.jetty.http2.HTTP2Session</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code>, <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code>, <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code>, <code><a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></code>, <code><a href="../util/component/Destroyable.html" title="interface in org.eclipse.jetty.util.component">Destroyable</a></code>, <code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code>, <code><a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code>, <code><a href="../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><code><a href="client/HTTP2ClientSession.html" title="class in org.eclipse.jetty.http2.client">HTTP2ClientSession</a></code>, <code><a href="server/HTTP2ServerSession.html" title="class in org.eclipse.jetty.http2.server">HTTP2ServerSession</a></code></dd>
</dl>
<hr>
<pre><a href="../util/annotation/ManagedObject.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedObject</a>
public abstract class <span class="typeNameLabel">HTTP2Session</span>
extends <a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a>
implements <a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a>, <a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></pre>
</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>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3>
<code><a href="../util/component/AbstractLifeCycle.AbstractLifeCycleListener.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle.AbstractLifeCycleListener</a>, <a href="../util/component/AbstractLifeCycle.StopException.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle.StopException</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.Container">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></h3>
<code><a href="../util/component/Container.InheritedListener.html" title="interface in org.eclipse.jetty.util.component">Container.InheritedListener</a>, <a href="../util/component/Container.Listener.html" title="interface in org.eclipse.jetty.util.component">Container.Listener</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.Dumpable">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3>
<code><a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.LifeCycle">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></h3>
<code><a href="../util/component/LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.http2.parser.Parser.Listener">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.http2.parser.<a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></h3>
<code><a href="parser/Parser.Listener.Adapter.html" title="class in org.eclipse.jetty.http2.parser">Parser.Listener.Adapter</a>, <a href="parser/Parser.Listener.Wrapper.html" title="class in org.eclipse.jetty.http2.parser">Parser.Listener.Wrapper</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.http2.api.Session">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.http2.api.<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></h3>
<code><a href="api/Session.Listener.html" title="interface in org.eclipse.jetty.http2.api">Session.Listener</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3>
<code><a href="../util/component/AbstractLifeCycle.html#FAILED">FAILED</a>, <a href="../util/component/AbstractLifeCycle.html#STARTED">STARTED</a>, <a href="../util/component/AbstractLifeCycle.html#STARTING">STARTING</a>, <a href="../util/component/AbstractLifeCycle.html#STOPPED">STOPPED</a>, <a href="../util/component/AbstractLifeCycle.html#STOPPING">STOPPING</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.util.component.Dumpable">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3>
<code><a href="../util/component/Dumpable.html#KEY">KEY</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.util.thread.Scheduler,org.eclipse.jetty.io.EndPoint,org.eclipse.jetty.http2.generator.Generator,org.eclipse.jetty.http2.api.Session.Listener,org.eclipse.jetty.http2.FlowControlStrategy,int)">HTTP2Session</a></span>&#8203;(<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a>&nbsp;scheduler,
<a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&nbsp;endPoint,
<a href="generator/Generator.html" title="class in org.eclipse.jetty.http2.generator">Generator</a>&nbsp;generator,
<a href="api/Session.Listener.html" title="interface in org.eclipse.jetty.http2.api">Session.Listener</a>&nbsp;listener,
<a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a>&nbsp;flowControl,
int&nbsp;initialStreamId)</code></th>
<td class="colLast">&nbsp;</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="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete 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>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#abort(java.lang.String,java.lang.Throwable,org.eclipse.jetty.util.Callback)">abort</a></span>&#8203;(java.lang.String&nbsp;reason,
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">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)">close</a></span>&#8203;(int&nbsp;error,
java.lang.String&nbsp;reason,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Invoked internally and by applications to send a GO_AWAY frame to the other peer.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createLocalStream(int,org.eclipse.jetty.http.MetaData.Request,java.util.function.Consumer)">createLocalStream</a></span>&#8203;(int&nbsp;streamId,
<a href="../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a>&nbsp;request,
java.util.function.Consumer&lt;java.lang.Throwable&gt;&nbsp;failFn)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createRemoteStream(int,org.eclipse.jetty.http.MetaData.Request)">createRemoteStream</a></span>&#8203;(int&nbsp;streamId,
<a href="../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a>&nbsp;request)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#data(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Callback,org.eclipse.jetty.http2.frames.DataFrame)">data</a></span>&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback,
<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a>&nbsp;frame)</code></th>
<td class="colLast">
<div class="block">Enqueues the given DATA frame to be written to the connection.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#disconnect()">disconnect</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doStop()">doStop</a></span>()</code></th>
<td class="colLast">
<div class="block">Stops the managed lifecycle beans in the reverse order they were added.</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="#dump(java.lang.Appendable,java.lang.String)">dump</a></span>&#8203;(java.lang.Appendable&nbsp;out,
java.lang.String&nbsp;indent)</code></th>
<td class="colLast">
<div class="block">Dump this object (and children) into an Appendable using the provided indent after any new lines.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#frames(org.eclipse.jetty.http2.IStream,java.util.List,org.eclipse.jetty.util.Callback)">frames</a></span>&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
java.util.List&lt;? extends <a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</a>&gt;&nbsp;frames,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Enqueues the given frames to be written to the connection.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytesWritten()">getBytesWritten</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="CloseState.html" title="enum in org.eclipse.jetty.http2">CloseState</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCloseState()">getCloseState</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEndPoint()">getEndPoint</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFlowControlStrategy()">getFlowControlStrategy</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="generator/Generator.html" title="class in org.eclipse.jetty.http2.generator">Generator</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGenerator()">getGenerator</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInitialSessionRecvWindow()">getInitialSessionRecvWindow</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLastRemoteStreamId()">getLastRemoteStreamId</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>java.net.InetSocketAddress</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLocalAddress()">getLocalAddress</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>java.net.SocketAddress</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLocalSocketAddress()">getLocalSocketAddress</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxLocalStreams()">getMaxLocalStreams</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxRemoteStreams()">getMaxRemoteStreams</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRecvWindow()">getRecvWindow</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>java.net.InetSocketAddress</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRemoteAddress()">getRemoteAddress</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>java.net.SocketAddress</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRemoteSocketAddress()">getRemoteSocketAddress</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSendWindow()">getSendWindow</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStream(int)">getStream</a></span>&#8203;(int&nbsp;streamId)</code></th>
<td class="colLast">
<div class="block">Retrieves the stream with the given <code>streamId</code>.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStreamCount()">getStreamCount</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStreamIdleTimeout()">getStreamIdleTimeout</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>java.util.Collection&lt;<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStreams()">getStreams</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStreamsClosed()">getStreamsClosed</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStreamsOpened()">getStreamsOpened</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWriteThreshold()">getWriteThreshold</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#goAway(org.eclipse.jetty.http2.frames.GoAwayFrame,org.eclipse.jetty.util.Callback)">goAway</a></span>&#8203;(<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">&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>protected static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isClientStream(int)">isClientStream</a></span>&#8203;(int&nbsp;streamId)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isClosed()">isClosed</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isConnectProtocolEnabled()">isConnectProtocolEnabled</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isDisconnected()">isDisconnected</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isLocalStreamClosed(int)">isLocalStreamClosed</a></span>&#8203;(int&nbsp;streamId)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPushEnabled()">isPushEnabled</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRemoteStreamClosed(int)">isRemoteStreamClosed</a></span>&#8203;(int&nbsp;streamId)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>protected <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newStream(int,org.eclipse.jetty.http.MetaData.Request,boolean)">newStream</a></span>&#8203;(int&nbsp;streamId,
<a href="../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a>&nbsp;request,
boolean&nbsp;local)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">newStream</a></span>&#8203;(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame,
<a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">
<div class="block">Sends the given HEADERS <code>frame</code> to create a new <a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream</code></a>.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newStream(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">newStream</a></span>&#8203;(<a href="IStream.FrameList.html" title="class in org.eclipse.jetty.http2">IStream.FrameList</a>&nbsp;frames,
<a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">
<div class="block">Sends the given list of frames to create a new <a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream</code></a>.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newUpgradeStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.http2.api.Stream.Listener,java.util.function.Consumer)">newUpgradeStream</a></span>&#8203;(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame,
<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener,
java.util.function.Consumer&lt;java.lang.Throwable&gt;&nbsp;failFn)</code></th>
<td class="colLast">
<div class="block">Creates a new stream allocating a stream id if the given HEADERS frame does not have one.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyClose(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame,org.eclipse.jetty.util.Callback)">notifyClose</a></span>&#8203;(<a href="api/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">&nbsp;</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyFailure(org.eclipse.jetty.http2.api.Session,java.lang.Throwable,org.eclipse.jetty.util.Callback)">notifyFailure</a></span>&#8203;(<a href="api/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">&nbsp;</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyGoAway(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame)">notifyGoAway</a></span>&#8203;(<a href="api/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="i46" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyHeaders(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.HeadersFrame)">notifyHeaders</a></span>&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</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">&nbsp;</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyIdleTimeout(org.eclipse.jetty.http2.api.Session)">notifyIdleTimeout</a></span>&#8203;(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>protected <a href="api/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="#notifyNewStream(org.eclipse.jetty.http2.api.Stream,org.eclipse.jetty.http2.frames.HeadersFrame)">notifyNewStream</a></span>&#8203;(<a href="api/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">&nbsp;</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyPing(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.PingFrame)">notifyPing</a></span>&#8203;(<a href="api/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">&nbsp;</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyReset(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.ResetFrame)">notifyReset</a></span>&#8203;(<a href="api/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">&nbsp;</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifySettings(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.SettingsFrame)">notifySettings</a></span>&#8203;(<a href="api/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">&nbsp;</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onConnectionFailure(int,java.lang.String)">onConnectionFailure</a></span>&#8203;(int&nbsp;error,
java.lang.String&nbsp;reason)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onData(org.eclipse.jetty.http2.frames.DataFrame)">onData</a></span>&#8203;(<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a>&nbsp;frame)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onData(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)">onData</a></span>&#8203;(<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</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 DATA frame is received.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onFlushed(long)">onFlushed</a></span>&#8203;(long&nbsp;bytes)</code></th>
<td class="colLast">
<div class="block">Callback method invoked when bytes are flushed to the network.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onFrame(org.eclipse.jetty.http2.frames.Frame)">onFrame</a></span>&#8203;(<a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</a>&nbsp;frame)</code></th>
<td class="colLast">
<div class="block">Callback method invoked during an HTTP/1.1 to HTTP/2 upgrade requests
to process the given synthetic frame.</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)">onGoAway</a></span>&#8203;(<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">This method is called when receiving a GO_AWAY from the other peer.</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onHeaders(org.eclipse.jetty.http2.frames.HeadersFrame)">onHeaders</a></span>&#8203;(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onIdleTimeout()">onIdleTimeout</a></span>()</code></th>
<td class="colLast">
<div class="block">This method is invoked when the idle timeout expires.</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onPing(org.eclipse.jetty.http2.frames.PingFrame)">onPing</a></span>&#8203;(<a href="frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</a>&nbsp;frame)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onPriority(org.eclipse.jetty.http2.frames.PriorityFrame)">onPriority</a></span>&#8203;(<a href="frames/PriorityFrame.html" title="class in org.eclipse.jetty.http2.frames">PriorityFrame</a>&nbsp;frame)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onReset(org.eclipse.jetty.http2.frames.ResetFrame)">onReset</a></span>&#8203;(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a>&nbsp;frame)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onResetForUnknownStream(org.eclipse.jetty.http2.frames.ResetFrame)">onResetForUnknownStream</a></span>&#8203;(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a>&nbsp;frame)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i64" 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.frames.SettingsFrame)">onSettings</a></span>&#8203;(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a>&nbsp;frame)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onSettings(org.eclipse.jetty.http2.frames.SettingsFrame,boolean)">onSettings</a></span>&#8203;(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a>&nbsp;frame,
boolean&nbsp;reply)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onShutdown()">onShutdown</a></span>()</code></th>
<td class="colLast">
<div class="block">This method is called when the TCP FIN is received from the remote peer.</div>
</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onStreamFailure(int,int,java.lang.String)">onStreamFailure</a></span>&#8203;(int&nbsp;streamId,
int&nbsp;error,
java.lang.String&nbsp;reason)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onStreamOpened(org.eclipse.jetty.http2.IStream)">onStreamOpened</a></span>&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onWindowUpdate(org.eclipse.jetty.http2.frames.WindowUpdateFrame)">onWindowUpdate</a></span>&#8203;(<a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a>&nbsp;frame)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onWindowUpdate(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)">onWindowUpdate</a></span>&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
<a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a>&nbsp;frame)</code></th>
<td class="colLast">
<div class="block">Callback method invoked when a WINDOW_UPDATE frame has been received.</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ping(org.eclipse.jetty.http2.frames.PingFrame,org.eclipse.jetty.util.Callback)">ping</a></span>&#8203;(<a href="frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</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">Sends the given PING <code>frame</code>.</div>
</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#priority(org.eclipse.jetty.http2.frames.PriorityFrame,org.eclipse.jetty.util.Callback)">priority</a></span>&#8203;(<a href="frames/PriorityFrame.html" title="class in org.eclipse.jetty.http2.frames">PriorityFrame</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">Sends the given PRIORITY <code>frame</code>.</div>
</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#push(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.http2.api.Stream.Listener)">push</a></span>&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
<a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</a>&nbsp;frame,
<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">
<div class="block">Enqueues the given PUSH_PROMISE frame to be written to the connection.</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeStream(org.eclipse.jetty.http2.IStream)">removeStream</a></span>&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream)</code></th>
<td class="colLast">
<div class="block">Removes the given <code>stream</code>.</div>
</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setConnectProtocolEnabled(boolean)">setConnectProtocolEnabled</a></span>&#8203;(boolean&nbsp;connectProtocolEnabled)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInitialSessionRecvWindow(int)">setInitialSessionRecvWindow</a></span>&#8203;(int&nbsp;initialSessionRecvWindow)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMaxLocalStreams(int)">setMaxLocalStreams</a></span>&#8203;(int&nbsp;maxLocalStreams)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMaxRemoteStreams(int)">setMaxRemoteStreams</a></span>&#8203;(int&nbsp;maxRemoteStreams)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setStreamIdleTimeout(long)">setStreamIdleTimeout</a></span>&#8203;(long&nbsp;streamIdleTimeout)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#settings(org.eclipse.jetty.http2.frames.SettingsFrame,org.eclipse.jetty.util.Callback)">settings</a></span>&#8203;(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</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">Sends the given SETTINGS <code>frame</code> to configure the session.</div>
</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setWriteThreshold(int)">setWriteThreshold</a></span>&#8203;(int&nbsp;writeThreshold)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code>java.util.concurrent.CompletableFuture&lt;java.lang.Void&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#shutdown()">shutdown</a></span>()</code></th>
<td class="colLast">
<div class="block">Gracefully closes the session, returning a <code>CompletableFuture</code> that
is completed when all the streams currently being processed are completed.</div>
</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateLastRemoteStreamId(int)">updateLastRemoteStreamId</a></span>&#8203;(int&nbsp;streamId)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i85" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateRecvWindow(int)">updateRecvWindow</a></span>&#8203;(int&nbsp;delta)</code></th>
<td class="colLast">
<div class="block">Updates the session receive window by the given <code>delta</code>.</div>
</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateSendWindow(int)">updateSendWindow</a></span>&#8203;(int&nbsp;delta)</code></th>
<td class="colLast">
<div class="block">Updates the session send window by the given <code>delta</code>.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.ContainerLifeCycle">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></h3>
<code><a href="../util/component/ContainerLifeCycle.html#addBean(java.lang.Object)">addBean</a>, <a href="../util/component/ContainerLifeCycle.html#addBean(java.lang.Object,boolean)">addBean</a>, <a href="../util/component/ContainerLifeCycle.html#addEventListener(java.util.EventListener)">addEventListener</a>, <a href="../util/component/ContainerLifeCycle.html#addManaged(org.eclipse.jetty.util.component.LifeCycle)">addManaged</a>, <a href="../util/component/ContainerLifeCycle.html#contains(java.lang.Object)">contains</a>, <a href="../util/component/ContainerLifeCycle.html#destroy()">destroy</a>, <a href="../util/component/ContainerLifeCycle.html#doStart()">doStart</a>, <a href="../util/component/ContainerLifeCycle.html#dump()">dump</a>, <a href="../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable)">dump</a>, <a href="../util/component/ContainerLifeCycle.html#dumpObjects(java.lang.Appendable,java.lang.String,java.lang.Object...)">dumpObjects</a>, <a href="../util/component/ContainerLifeCycle.html#dumpStdErr()">dumpStdErr</a>, <a href="../util/component/ContainerLifeCycle.html#getBean(java.lang.Class)">getBean</a>, <a href="../util/component/ContainerLifeCycle.html#getBeans()">getBeans</a>, <a href="../util/component/ContainerLifeCycle.html#getBeans(java.lang.Class)">getBeans</a>, <a href="../util/component/ContainerLifeCycle.html#getContainedBeans(java.lang.Class)">getContainedBeans</a>, <a href="../util/component/ContainerLifeCycle.html#getContainedBeans(java.lang.Class,java.util.Collection)">getContainedBeans</a>, <a href="../util/component/ContainerLifeCycle.html#isAuto(java.lang.Object)">isAuto</a>, <a href="../util/component/ContainerLifeCycle.html#isManaged(java.lang.Object)">isManaged</a>, <a href="../util/component/ContainerLifeCycle.html#isUnmanaged(java.lang.Object)">isUnmanaged</a>, <a href="../util/component/ContainerLifeCycle.html#manage(java.lang.Object)">manage</a>, <a href="../util/component/ContainerLifeCycle.html#removeBean(java.lang.Object)">removeBean</a>, <a href="../util/component/ContainerLifeCycle.html#removeBeans()">removeBeans</a>, <a href="../util/component/ContainerLifeCycle.html#removeEventListener(java.util.EventListener)">removeEventListener</a>, <a href="../util/component/ContainerLifeCycle.html#setBeans(java.util.Collection)">setBeans</a>, <a href="../util/component/ContainerLifeCycle.html#start(org.eclipse.jetty.util.component.LifeCycle)">start</a>, <a href="../util/component/ContainerLifeCycle.html#stop(org.eclipse.jetty.util.component.LifeCycle)">stop</a>, <a href="../util/component/ContainerLifeCycle.html#unmanage(java.lang.Object)">unmanage</a>, <a href="../util/component/ContainerLifeCycle.html#updateBean(java.lang.Object,java.lang.Object)">updateBean</a>, <a href="../util/component/ContainerLifeCycle.html#updateBean(java.lang.Object,java.lang.Object,boolean)">updateBean</a>, <a href="../util/component/ContainerLifeCycle.html#updateBeans(java.lang.Object%5B%5D,java.lang.Object%5B%5D)">updateBeans</a>, <a href="../util/component/ContainerLifeCycle.html#updateBeans(java.util.Collection,java.util.Collection)">updateBeans</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3>
<code><a href="../util/component/AbstractLifeCycle.html#getEventListeners()">getEventListeners</a>, <a href="../util/component/AbstractLifeCycle.html#getState()">getState</a>, <a href="../util/component/AbstractLifeCycle.html#getState(org.eclipse.jetty.util.component.LifeCycle)">getState</a>, <a href="../util/component/AbstractLifeCycle.html#isFailed()">isFailed</a>, <a href="../util/component/AbstractLifeCycle.html#isRunning()">isRunning</a>, <a href="../util/component/AbstractLifeCycle.html#isStarted()">isStarted</a>, <a href="../util/component/AbstractLifeCycle.html#isStarting()">isStarting</a>, <a href="../util/component/AbstractLifeCycle.html#isStopped()">isStopped</a>, <a href="../util/component/AbstractLifeCycle.html#isStopping()">isStopping</a>, <a href="../util/component/AbstractLifeCycle.html#setEventListeners(java.util.Collection)">setEventListeners</a>, <a href="../util/component/AbstractLifeCycle.html#start()">start</a>, <a href="../util/component/AbstractLifeCycle.html#stop()">stop</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Container">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></h3>
<code><a href="../util/component/Container.html#getCachedBeans(java.lang.Class)">getCachedBeans</a>, <a href="../util/component/Container.html#getEventListeners()">getEventListeners</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Dumpable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3>
<code><a href="../util/component/Dumpable.html#dumpSelf()">dumpSelf</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Dumpable.DumpableContainer">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></h3>
<code><a href="../util/component/Dumpable.DumpableContainer.html#isDumpable(java.lang.Object)">isDumpable</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.http2.parser.Parser.Listener">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.http2.parser.<a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></h3>
<code><a href="parser/Parser.Listener.html#onPushPromise(org.eclipse.jetty.http2.frames.PushPromiseFrame)">onPushPromise</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.http2.api.Session">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.http2.api.<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></h3>
<code><a href="api/Session.html#newStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.http2.api.Stream.Listener)">newStream</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(org.eclipse.jetty.util.thread.Scheduler,org.eclipse.jetty.io.EndPoint,org.eclipse.jetty.http2.generator.Generator,org.eclipse.jetty.http2.api.Session.Listener,org.eclipse.jetty.http2.FlowControlStrategy,int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HTTP2Session</h4>
<pre>public&nbsp;HTTP2Session&#8203;(<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a>&nbsp;scheduler,
<a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&nbsp;endPoint,
<a href="generator/Generator.html" title="class in org.eclipse.jetty.http2.generator">Generator</a>&nbsp;generator,
<a href="api/Session.Listener.html" title="interface in org.eclipse.jetty.http2.api">Session.Listener</a>&nbsp;listener,
<a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a>&nbsp;flowControl,
int&nbsp;initialStreamId)</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="doStop()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doStop</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;doStop()
throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../util/component/ContainerLifeCycle.html#doStop()">ContainerLifeCycle</a></code></span></div>
<div class="block">Stops the managed lifecycle beans in the reverse order they were added.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/component/ContainerLifeCycle.html#doStop()">doStop</a></code>&nbsp;in class&nbsp;<code><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - If there was a problem stopping. Will cause a transition to FAILED state</dd>
</dl>
</li>
</ul>
<a id="getFlowControlStrategy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFlowControlStrategy</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="The flow control strategy",
<a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true)
public&nbsp;<a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a>&nbsp;getFlowControlStrategy()</pre>
</li>
</ul>
<a id="getStreamsOpened()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStreamsOpened</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="The total number of streams opened",
<a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true)
public&nbsp;long&nbsp;getStreamsOpened()</pre>
</li>
</ul>
<a id="getStreamsClosed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStreamsClosed</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="The total number of streams closed",
<a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true)
public&nbsp;long&nbsp;getStreamsClosed()</pre>
</li>
</ul>
<a id="getMaxLocalStreams()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxLocalStreams</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The maximum number of concurrent local streams")
public&nbsp;int&nbsp;getMaxLocalStreams()</pre>
</li>
</ul>
<a id="setMaxLocalStreams(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxLocalStreams</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setMaxLocalStreams&#8203;(int&nbsp;maxLocalStreams)</pre>
</li>
</ul>
<a id="getMaxRemoteStreams()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxRemoteStreams</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The maximum number of concurrent remote streams")
public&nbsp;int&nbsp;getMaxRemoteStreams()</pre>
</li>
</ul>
<a id="setMaxRemoteStreams(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxRemoteStreams</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setMaxRemoteStreams&#8203;(int&nbsp;maxRemoteStreams)</pre>
</li>
</ul>
<a id="getStreamIdleTimeout()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStreamIdleTimeout</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The stream\'s idle timeout")
public&nbsp;long&nbsp;getStreamIdleTimeout()</pre>
</li>
</ul>
<a id="setStreamIdleTimeout(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStreamIdleTimeout</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setStreamIdleTimeout&#8203;(long&nbsp;streamIdleTimeout)</pre>
</li>
</ul>
<a id="getInitialSessionRecvWindow()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInitialSessionRecvWindow</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The initial size of session\'s flow control receive window")
public&nbsp;int&nbsp;getInitialSessionRecvWindow()</pre>
</li>
</ul>
<a id="setInitialSessionRecvWindow(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInitialSessionRecvWindow</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setInitialSessionRecvWindow&#8203;(int&nbsp;initialSessionRecvWindow)</pre>
</li>
</ul>
<a id="getWriteThreshold()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWriteThreshold</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The number of bytes that trigger a TCP write")
public&nbsp;int&nbsp;getWriteThreshold()</pre>
</li>
</ul>
<a id="setWriteThreshold(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWriteThreshold</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setWriteThreshold&#8203;(int&nbsp;writeThreshold)</pre>
</li>
</ul>
<a id="getEndPoint()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEndPoint</h4>
<pre class="methodSignature">public&nbsp;<a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&nbsp;getEndPoint()</pre>
</li>
</ul>
<a id="getGenerator()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGenerator</h4>
<pre class="methodSignature">public&nbsp;<a href="generator/Generator.html" title="class in org.eclipse.jetty.http2.generator">Generator</a>&nbsp;getGenerator()</pre>
</li>
</ul>
<a id="getBytesWritten()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytesWritten</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getBytesWritten()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#getBytesWritten()">getBytesWritten</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of bytes written by this session</dd>
</dl>
</li>
</ul>
<a id="onData(org.eclipse.jetty.http2.frames.DataFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onData</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onData&#8203;(<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a>&nbsp;frame)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="parser/Parser.Listener.html#onData(org.eclipse.jetty.http2.frames.DataFrame)">onData</a></code>&nbsp;in interface&nbsp;<code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd>
</dl>
</li>
</ul>
<a id="onData(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onData</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onData&#8203;(<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a>&nbsp;frame,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ISession.html#onData(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)">ISession</a></code></span></div>
<div class="block"><p>Callback method invoked when a DATA frame is received.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#onData(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)">onData</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>frame</code> - the DATA frame received</dd>
<dd><code>callback</code> - the callback to notify when the frame has been processed</dd>
</dl>
</li>
</ul>
<a id="isLocalStreamClosed(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLocalStreamClosed</h4>
<pre class="methodSignature">protected&nbsp;boolean&nbsp;isLocalStreamClosed&#8203;(int&nbsp;streamId)</pre>
</li>
</ul>
<a id="isRemoteStreamClosed(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isRemoteStreamClosed</h4>
<pre class="methodSignature">protected&nbsp;boolean&nbsp;isRemoteStreamClosed&#8203;(int&nbsp;streamId)</pre>
</li>
</ul>
<a id="onHeaders(org.eclipse.jetty.http2.frames.HeadersFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onHeaders</h4>
<pre class="methodSignature">public abstract&nbsp;void&nbsp;onHeaders&#8203;(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="parser/Parser.Listener.html#onHeaders(org.eclipse.jetty.http2.frames.HeadersFrame)">onHeaders</a></code>&nbsp;in interface&nbsp;<code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd>
</dl>
</li>
</ul>
<a id="onPriority(org.eclipse.jetty.http2.frames.PriorityFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onPriority</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onPriority&#8203;(<a href="frames/PriorityFrame.html" title="class in org.eclipse.jetty.http2.frames">PriorityFrame</a>&nbsp;frame)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="parser/Parser.Listener.html#onPriority(org.eclipse.jetty.http2.frames.PriorityFrame)">onPriority</a></code>&nbsp;in interface&nbsp;<code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd>
</dl>
</li>
</ul>
<a id="onReset(org.eclipse.jetty.http2.frames.ResetFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onReset</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onReset&#8203;(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a>&nbsp;frame)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="parser/Parser.Listener.html#onReset(org.eclipse.jetty.http2.frames.ResetFrame)">onReset</a></code>&nbsp;in interface&nbsp;<code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd>
</dl>
</li>
</ul>
<a id="onResetForUnknownStream(org.eclipse.jetty.http2.frames.ResetFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onResetForUnknownStream</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;onResetForUnknownStream&#8203;(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a>&nbsp;frame)</pre>
</li>
</ul>
<a id="onSettings(org.eclipse.jetty.http2.frames.SettingsFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onSettings</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onSettings&#8203;(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a>&nbsp;frame)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="parser/Parser.Listener.html#onSettings(org.eclipse.jetty.http2.frames.SettingsFrame)">onSettings</a></code>&nbsp;in interface&nbsp;<code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd>
</dl>
</li>
</ul>
<a id="onSettings(org.eclipse.jetty.http2.frames.SettingsFrame,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onSettings</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onSettings&#8203;(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a>&nbsp;frame,
boolean&nbsp;reply)</pre>
</li>
</ul>
<a id="onPing(org.eclipse.jetty.http2.frames.PingFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onPing</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onPing&#8203;(<a href="frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</a>&nbsp;frame)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="parser/Parser.Listener.html#onPing(org.eclipse.jetty.http2.frames.PingFrame)">onPing</a></code>&nbsp;in interface&nbsp;<code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd>
</dl>
</li>
</ul>
<a id="onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onGoAway</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onGoAway&#8203;(<a href="frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a>&nbsp;frame)</pre>
<div class="block"><p>This method is called when receiving a GO_AWAY from the other peer.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="parser/Parser.Listener.html#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)">onGoAway</a></code>&nbsp;in interface&nbsp;<code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>frame</code> - the GO_AWAY frame that has been received.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)"><code>close(int, String, Callback)</code></a>,
<a href="#onShutdown()"><code>onShutdown()</code></a>,
<a href="#onIdleTimeout()"><code>onIdleTimeout()</code></a></dd>
</dl>
</li>
</ul>
<a id="onWindowUpdate(org.eclipse.jetty.http2.frames.WindowUpdateFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onWindowUpdate</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onWindowUpdate&#8203;(<a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a>&nbsp;frame)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="parser/Parser.Listener.html#onWindowUpdate(org.eclipse.jetty.http2.frames.WindowUpdateFrame)">onWindowUpdate</a></code>&nbsp;in interface&nbsp;<code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd>
</dl>
</li>
</ul>
<a id="onWindowUpdate(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onWindowUpdate</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onWindowUpdate&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
<a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a>&nbsp;frame)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ISession.html#onWindowUpdate(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)">ISession</a></code></span></div>
<div class="block"><p>Callback method invoked when a WINDOW_UPDATE frame has been received.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#onWindowUpdate(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)">onWindowUpdate</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - the stream the window update belongs to, or null if the window update belongs to the session</dd>
<dd><code>frame</code> - the WINDOW_UPDATE frame received</dd>
</dl>
</li>
</ul>
<a id="onStreamFailure(int,int,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStreamFailure</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onStreamFailure&#8203;(int&nbsp;streamId,
int&nbsp;error,
java.lang.String&nbsp;reason)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="parser/Parser.Listener.html#onStreamFailure(int,int,java.lang.String)">onStreamFailure</a></code>&nbsp;in interface&nbsp;<code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd>
</dl>
</li>
</ul>
<a id="onConnectionFailure(int,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onConnectionFailure</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onConnectionFailure&#8203;(int&nbsp;error,
java.lang.String&nbsp;reason)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="parser/Parser.Listener.html#onConnectionFailure(int,java.lang.String)">onConnectionFailure</a></code>&nbsp;in interface&nbsp;<code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd>
</dl>
</li>
</ul>
<a id="abort(java.lang.String,java.lang.Throwable,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>abort</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;abort&#8203;(java.lang.String&nbsp;reason,
java.lang.Throwable&nbsp;failure,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
</li>
</ul>
<a id="newStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newStream</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;newStream&#8203;(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame,
<a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="api/Session.html#newStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">Session</a></code></span></div>
<div class="block"><p>Sends the given HEADERS <code>frame</code> to create a new <a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream</code></a>.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Session.html#newStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">newStream</a></code>&nbsp;in interface&nbsp;<code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>frame</code> - the HEADERS frame containing the HTTP headers</dd>
<dd><code>promise</code> - the promise that gets notified of the stream creation</dd>
<dd><code>listener</code> - the listener that gets notified of stream events</dd>
</dl>
</li>
</ul>
<a id="newStream(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newStream</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;newStream&#8203;(<a href="IStream.FrameList.html" title="class in org.eclipse.jetty.http2">IStream.FrameList</a>&nbsp;frames,
<a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ISession.html#newStream(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">ISession</a></code></span></div>
<div class="block"><p>Sends the given list of frames to create a new <a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream</code></a>.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#newStream(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">newStream</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>frames</code> - the list of frames to send</dd>
<dd><code>promise</code> - the promise that gets notified of the stream creation</dd>
<dd><code>listener</code> - the listener that gets notified of stream events</dd>
</dl>
</li>
</ul>
<a id="newUpgradeStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.http2.api.Stream.Listener,java.util.function.Consumer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newUpgradeStream</h4>
<pre class="methodSignature">public&nbsp;<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&nbsp;newUpgradeStream&#8203;(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame,
<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener,
java.util.function.Consumer&lt;java.lang.Throwable&gt;&nbsp;failFn)</pre>
<div class="block"><p>Creates a new stream allocating a stream id if the given HEADERS frame does not have one.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>frame</code> - the HEADERS frame that triggered the stream creation
allocated stream id, or null if not interested in the modified headers frame</dd>
<dd><code>listener</code> - the listener that gets notified of stream events</dd>
</dl>
</li>
</ul>
<a id="newStream(int,org.eclipse.jetty.http.MetaData.Request,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newStream</h4>
<pre class="methodSignature">protected&nbsp;<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;newStream&#8203;(int&nbsp;streamId,
<a href="../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a>&nbsp;request,
boolean&nbsp;local)</pre>
</li>
</ul>
<a id="priority(org.eclipse.jetty.http2.frames.PriorityFrame,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>priority</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;priority&#8203;(<a href="frames/PriorityFrame.html" title="class in org.eclipse.jetty.http2.frames">PriorityFrame</a>&nbsp;frame,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="api/Session.html#priority(org.eclipse.jetty.http2.frames.PriorityFrame,org.eclipse.jetty.util.Callback)">Session</a></code></span></div>
<div class="block"><p>Sends the given PRIORITY <code>frame</code>.</p>
<p>If the <code>frame</code> references a <code>streamId</code> that does not exist
(for example <code>0</code>), then a new <code>streamId</code> will be allocated, to
support <em>unused anchor streams</em> that act as parent for other streams.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Session.html#priority(org.eclipse.jetty.http2.frames.PriorityFrame,org.eclipse.jetty.util.Callback)">priority</a></code>&nbsp;in interface&nbsp;<code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>frame</code> - the PRIORITY frame to send</dd>
<dd><code>callback</code> - the callback that gets notified when the frame has been sent</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the new stream id generated by the PRIORITY frame, or the stream id
that it is already referencing</dd>
</dl>
</li>
</ul>
<a id="push(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.http2.api.Stream.Listener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>push</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;push&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
<a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</a>&nbsp;frame,
<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ISession.html#push(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.http2.api.Stream.Listener)">ISession</a></code></span></div>
<div class="block"><p>Enqueues the given PUSH_PROMISE frame to be written to the connection.</p>
<p>Differently from <a href="ISession.html#frames(org.eclipse.jetty.http2.IStream,java.util.List,org.eclipse.jetty.util.Callback)"><code>ISession.frames(IStream, List, Callback)</code></a>, this method
generates atomically the stream id for the pushed stream.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#push(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.http2.api.Stream.Listener)">push</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - the stream associated to the pushed stream</dd>
<dd><code>promise</code> - the promise that gets notified of the pushed stream creation</dd>
<dd><code>frame</code> - the PUSH_PROMISE frame to enqueue</dd>
<dd><code>listener</code> - the listener that gets notified of pushed stream events</dd>
</dl>
</li>
</ul>
<a id="settings(org.eclipse.jetty.http2.frames.SettingsFrame,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>settings</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;settings&#8203;(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a>&nbsp;frame,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="api/Session.html#settings(org.eclipse.jetty.http2.frames.SettingsFrame,org.eclipse.jetty.util.Callback)">Session</a></code></span></div>
<div class="block"><p>Sends the given SETTINGS <code>frame</code> to configure the session.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Session.html#settings(org.eclipse.jetty.http2.frames.SettingsFrame,org.eclipse.jetty.util.Callback)">settings</a></code>&nbsp;in interface&nbsp;<code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>frame</code> - the SETTINGS frame to send</dd>
<dd><code>callback</code> - the callback that gets notified when the frame has been sent</dd>
</dl>
</li>
</ul>
<a id="ping(org.eclipse.jetty.http2.frames.PingFrame,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ping</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;ping&#8203;(<a href="frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</a>&nbsp;frame,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="api/Session.html#ping(org.eclipse.jetty.http2.frames.PingFrame,org.eclipse.jetty.util.Callback)">Session</a></code></span></div>
<div class="block"><p>Sends the given PING <code>frame</code>.</p>
<p>PING frames may be used to test the connection integrity and to measure
round-trip time.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Session.html#ping(org.eclipse.jetty.http2.frames.PingFrame,org.eclipse.jetty.util.Callback)">ping</a></code>&nbsp;in interface&nbsp;<code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>frame</code> - the PING frame to send</dd>
<dd><code>callback</code> - the callback that gets notified when the frame has been sent</dd>
</dl>
</li>
</ul>
<a id="close(int,java.lang.String,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;close&#8203;(int&nbsp;error,
java.lang.String&nbsp;reason,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
<div class="block"><p>Invoked internally and by applications to send a GO_AWAY frame to the other peer.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Session.html#close(int,java.lang.String,org.eclipse.jetty.util.Callback)">close</a></code>&nbsp;in interface&nbsp;<code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>error</code> - the error code</dd>
<dd><code>reason</code> - the reason</dd>
<dd><code>callback</code> - the callback to invoke when the operation is complete</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the frame is being sent, false if the session was already closed</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)"><code>onGoAway(GoAwayFrame)</code></a>,
<a href="#onShutdown()"><code>onShutdown()</code></a>,
<a href="#onIdleTimeout()"><code>onIdleTimeout()</code></a></dd>
</dl>
</li>
</ul>
<a id="shutdown()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shutdown</h4>
<pre class="methodSignature">public&nbsp;java.util.concurrent.CompletableFuture&lt;java.lang.Void&gt;&nbsp;shutdown()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ISession.html#shutdown()">ISession</a></code></span></div>
<div class="block"><p>Gracefully closes the session, returning a <code>CompletableFuture</code> that
is completed when all the streams currently being processed are completed.</p>
<p>Implementation is idempotent, i.e. calling this method a second time
or concurrently results in a no-operation.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#shutdown()">shutdown</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <code>CompletableFuture</code> that is completed when all the streams are completed</dd>
</dl>
</li>
</ul>
<a id="goAway(org.eclipse.jetty.http2.frames.GoAwayFrame,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>goAway</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;goAway&#8203;(<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>
</li>
</ul>
<a id="isClosed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isClosed</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isClosed()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Session.html#isClosed()">isClosed</a></code>&nbsp;in interface&nbsp;<code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>whether the session is not open</dd>
</dl>
</li>
</ul>
<a id="getCloseState()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCloseState</h4>
<pre class="methodSignature">public&nbsp;<a href="CloseState.html" title="enum in org.eclipse.jetty.http2">CloseState</a>&nbsp;getCloseState()</pre>
</li>
</ul>
<a id="frames(org.eclipse.jetty.http2.IStream,java.util.List,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>frames</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;frames&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
java.util.List&lt;? extends <a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</a>&gt;&nbsp;frames,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ISession.html#frames(org.eclipse.jetty.http2.IStream,java.util.List,org.eclipse.jetty.util.Callback)">ISession</a></code></span></div>
<div class="block"><p>Enqueues the given frames to be written to the connection.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#frames(org.eclipse.jetty.http2.IStream,java.util.List,org.eclipse.jetty.util.Callback)">frames</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - the stream the frames belong to</dd>
<dd><code>frames</code> - the frames to enqueue</dd>
<dd><code>callback</code> - the callback that gets notified when the frames have been sent</dd>
</dl>
</li>
</ul>
<a id="data(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Callback,org.eclipse.jetty.http2.frames.DataFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>data</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;data&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback,
<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a>&nbsp;frame)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ISession.html#data(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Callback,org.eclipse.jetty.http2.frames.DataFrame)">ISession</a></code></span></div>
<div class="block"><p>Enqueues the given DATA frame to be written to the connection.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#data(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Callback,org.eclipse.jetty.http2.frames.DataFrame)">data</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - the stream the data frame belongs to</dd>
<dd><code>callback</code> - the callback that gets notified when the frame has been sent</dd>
<dd><code>frame</code> - the DATA frame to send</dd>
</dl>
</li>
</ul>
<a id="createLocalStream(int,org.eclipse.jetty.http.MetaData.Request,java.util.function.Consumer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createLocalStream</h4>
<pre class="methodSignature">protected&nbsp;<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;createLocalStream&#8203;(int&nbsp;streamId,
<a href="../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a>&nbsp;request,
java.util.function.Consumer&lt;java.lang.Throwable&gt;&nbsp;failFn)</pre>
</li>
</ul>
<a id="createRemoteStream(int,org.eclipse.jetty.http.MetaData.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRemoteStream</h4>
<pre class="methodSignature">protected&nbsp;<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;createRemoteStream&#8203;(int&nbsp;streamId,
<a href="../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a>&nbsp;request)</pre>
</li>
</ul>
<a id="removeStream(org.eclipse.jetty.http2.IStream)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeStream</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;removeStream&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ISession.html#removeStream(org.eclipse.jetty.http2.IStream)">ISession</a></code></span></div>
<div class="block"><p>Removes the given <code>stream</code>.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#removeStream(org.eclipse.jetty.http2.IStream)">removeStream</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - the stream to remove</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>whether the stream was removed</dd>
</dl>
</li>
</ul>
<a id="getStreams()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStreams</h4>
<pre class="methodSignature">public&nbsp;java.util.Collection&lt;<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;getStreams()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Session.html#getStreams()">getStreams</a></code>&nbsp;in interface&nbsp;<code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a snapshot of all the streams currently belonging to this session</dd>
</dl>
</li>
</ul>
<a id="getStreamCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStreamCount</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The number of active streams")
public&nbsp;int&nbsp;getStreamCount()</pre>
</li>
</ul>
<a id="getStream(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStream</h4>
<pre class="methodSignature">public&nbsp;<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;getStream&#8203;(int&nbsp;streamId)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="api/Session.html#getStream(int)">Session</a></code></span></div>
<div class="block"><p>Retrieves the stream with the given <code>streamId</code>.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#getStream(int)">getStream</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Session.html#getStream(int)">getStream</a></code>&nbsp;in interface&nbsp;<code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>streamId</code> - the stream id of the stream looked for</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the stream with the given id, or null if no such stream exist</dd>
</dl>
</li>
</ul>
<a id="getLocalAddress()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLocalAddress</h4>
<pre class="methodSignature">public&nbsp;java.net.InetSocketAddress&nbsp;getLocalAddress()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Session.html#getLocalAddress()">getLocalAddress</a></code>&nbsp;in interface&nbsp;<code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the local network address this session is bound to,
or <code>null</code> if this session is not bound to a network address</dd>
</dl>
</li>
</ul>
<a id="getLocalSocketAddress()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLocalSocketAddress</h4>
<pre class="methodSignature">public&nbsp;java.net.SocketAddress&nbsp;getLocalSocketAddress()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Session.html#getLocalSocketAddress()">getLocalSocketAddress</a></code>&nbsp;in interface&nbsp;<code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the local network address this session is bound to,
or <code>null</code> if this session is not bound to a network address</dd>
</dl>
</li>
</ul>
<a id="getRemoteAddress()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRemoteAddress</h4>
<pre class="methodSignature">public&nbsp;java.net.InetSocketAddress&nbsp;getRemoteAddress()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Session.html#getRemoteAddress()">getRemoteAddress</a></code>&nbsp;in interface&nbsp;<code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the remote network address this session is connected to,
or <code>null</code> if this session is not connected to a network address</dd>
</dl>
</li>
</ul>
<a id="getRemoteSocketAddress()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRemoteSocketAddress</h4>
<pre class="methodSignature">public&nbsp;java.net.SocketAddress&nbsp;getRemoteSocketAddress()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Session.html#getRemoteSocketAddress()">getRemoteSocketAddress</a></code>&nbsp;in interface&nbsp;<code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the remote network address this session is connected to,
or <code>null</code> if this session is not connected to a network address</dd>
</dl>
</li>
</ul>
<a id="getSendWindow()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSendWindow</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="The flow control send window",
<a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true)
public&nbsp;int&nbsp;getSendWindow()</pre>
</li>
</ul>
<a id="getRecvWindow()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRecvWindow</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="The flow control receive window",
<a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true)
public&nbsp;int&nbsp;getRecvWindow()</pre>
</li>
</ul>
<a id="updateSendWindow(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateSendWindow</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;updateSendWindow&#8203;(int&nbsp;delta)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ISession.html#updateSendWindow(int)">ISession</a></code></span></div>
<div class="block"><p>Updates the session send window by the given <code>delta</code>.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#updateSendWindow(int)">updateSendWindow</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>delta</code> - the delta value (positive or negative) to add to the session send window</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the previous value of the session send window</dd>
</dl>
</li>
</ul>
<a id="updateRecvWindow(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateRecvWindow</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;updateRecvWindow&#8203;(int&nbsp;delta)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ISession.html#updateRecvWindow(int)">ISession</a></code></span></div>
<div class="block"><p>Updates the session receive window by the given <code>delta</code>.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#updateRecvWindow(int)">updateRecvWindow</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>delta</code> - the delta value (positive or negative) to add to the session receive window</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the previous value of the session receive window</dd>
</dl>
</li>
</ul>
<a id="isPushEnabled()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPushEnabled</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="Whether HTTP/2 push is enabled",
<a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true)
public&nbsp;boolean&nbsp;isPushEnabled()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#isPushEnabled()">isPushEnabled</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>whether the push functionality is enabled</dd>
</dl>
</li>
</ul>
<a id="isConnectProtocolEnabled()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isConnectProtocolEnabled</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="Whether CONNECT requests supports a protocol",
<a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true)
public&nbsp;boolean&nbsp;isConnectProtocolEnabled()</pre>
</li>
</ul>
<a id="setConnectProtocolEnabled(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConnectProtocolEnabled</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setConnectProtocolEnabled&#8203;(boolean&nbsp;connectProtocolEnabled)</pre>
</li>
</ul>
<a id="onShutdown()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onShutdown</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onShutdown()</pre>
<div class="block"><p>This method is called when the TCP FIN is received from the remote peer.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#onShutdown()">onShutdown</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)"><code>onGoAway(GoAwayFrame)</code></a>,
<a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)"><code>close(int, String, Callback)</code></a>,
<a href="#onIdleTimeout()"><code>onIdleTimeout()</code></a></dd>
</dl>
</li>
</ul>
<a id="onIdleTimeout()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onIdleTimeout</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;onIdleTimeout()</pre>
<div class="block"><p>This method is invoked when the idle timeout expires.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#onIdleTimeout()">onIdleTimeout</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the session should be closed, false otherwise</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)"><code>onGoAway(GoAwayFrame)</code></a>,
<a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)"><code>close(int, String, Callback)</code></a>,
<a href="#onShutdown()"><code>onShutdown()</code></a></dd>
</dl>
</li>
</ul>
<a id="onFrame(org.eclipse.jetty.http2.frames.Frame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onFrame</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onFrame&#8203;(<a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</a>&nbsp;frame)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ISession.html#onFrame(org.eclipse.jetty.http2.frames.Frame)">ISession</a></code></span></div>
<div class="block"><p>Callback method invoked during an HTTP/1.1 to HTTP/2 upgrade requests
to process the given synthetic frame.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#onFrame(org.eclipse.jetty.http2.frames.Frame)">onFrame</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>frame</code> - the synthetic frame to process</dd>
</dl>
</li>
</ul>
<a id="onStreamOpened(org.eclipse.jetty.http2.IStream)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStreamOpened</h4>
<pre class="methodSignature">protected final&nbsp;void&nbsp;onStreamOpened&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream)</pre>
</li>
</ul>
<a id="onFlushed(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onFlushed</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onFlushed&#8203;(long&nbsp;bytes)
throws java.io.IOException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="ISession.html#onFlushed(long)">ISession</a></code></span></div>
<div class="block"><p>Callback method invoked when bytes are flushed to the network.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ISession.html#onFlushed(long)">onFlushed</a></code>&nbsp;in interface&nbsp;<code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bytes</code> - the number of bytes flushed to the network</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if the flush should fail</dd>
</dl>
</li>
</ul>
<a id="disconnect()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>disconnect</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;disconnect()</pre>
</li>
</ul>
<a id="isDisconnected()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDisconnected</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isDisconnected()</pre>
</li>
</ul>
<a id="getLastRemoteStreamId()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastRemoteStreamId</h4>
<pre class="methodSignature">protected&nbsp;int&nbsp;getLastRemoteStreamId()</pre>
</li>
</ul>
<a id="updateLastRemoteStreamId(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateLastRemoteStreamId</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;updateLastRemoteStreamId&#8203;(int&nbsp;streamId)</pre>
</li>
</ul>
<a id="notifyNewStream(org.eclipse.jetty.http2.api.Stream,org.eclipse.jetty.http2.frames.HeadersFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>notifyNewStream</h4>
<pre class="methodSignature">protected&nbsp;<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;notifyNewStream&#8203;(<a href="api/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>
</li>
</ul>
<a id="notifySettings(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.SettingsFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>notifySettings</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;notifySettings&#8203;(<a href="api/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>
</li>
</ul>
<a id="notifyPing(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.PingFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>notifyPing</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;notifyPing&#8203;(<a href="api/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>
</li>
</ul>
<a id="notifyReset(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.ResetFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>notifyReset</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;notifyReset&#8203;(<a href="api/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>
</li>
</ul>
<a id="notifyGoAway(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>notifyGoAway</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;notifyGoAway&#8203;(<a href="api/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="notifyClose(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>notifyClose</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;notifyClose&#8203;(<a href="api/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>
</li>
</ul>
<a id="notifyIdleTimeout(org.eclipse.jetty.http2.api.Session)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>notifyIdleTimeout</h4>
<pre class="methodSignature">protected&nbsp;boolean&nbsp;notifyIdleTimeout&#8203;(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&nbsp;session)</pre>
</li>
</ul>
<a id="notifyFailure(org.eclipse.jetty.http2.api.Session,java.lang.Throwable,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>notifyFailure</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;notifyFailure&#8203;(<a href="api/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>
</li>
</ul>
<a id="notifyHeaders(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.HeadersFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>notifyHeaders</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;notifyHeaders&#8203;(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame)</pre>
</li>
</ul>
<a id="isClientStream(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isClientStream</h4>
<pre class="methodSignature">protected static&nbsp;boolean&nbsp;isClientStream&#8203;(int&nbsp;streamId)</pre>
</li>
</ul>
<a id="dump(java.lang.Appendable,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dump</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;dump&#8203;(java.lang.Appendable&nbsp;out,
java.lang.String&nbsp;indent)
throws java.io.IOException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../util/component/Dumpable.html#dump(java.lang.Appendable,java.lang.String)">Dumpable</a></code></span></div>
<div class="block">Dump this object (and children) into an Appendable using the provided indent after any new lines.
The indent should not be applied to the first object dumped.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../util/component/Dumpable.html#dump(java.lang.Appendable,java.lang.String)">dump</a></code>&nbsp;in interface&nbsp;<code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable,java.lang.String)">dump</a></code>&nbsp;in class&nbsp;<code><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>out</code> - The appendable to dump to</dd>
<dd><code>indent</code> - The indent to apply after any new lines.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if unable to write to Appendable</dd>
</dl>
</li>
</ul>
<a id="toString()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/component/AbstractLifeCycle.html#toString()">toString</a></code>&nbsp;in class&nbsp;<code><a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></code></dd>
</dl>
</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/HTTP2Session.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><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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>