blob: c454475a738a10de0e0c13614214efa24fbafcc0 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.6) on Fri May 22 12:37:48 EDT 2020 -->
<title>HTTP2ServerConnection (Jetty :: Project 9.4.29.v20200521 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-05-22">
<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.3.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.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="HTTP2ServerConnection (Jetty :: Project 9.4.29.v20200521 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"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};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = false;
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/HTTP2ServerConnection.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.server</a></div>
<h2 title="Class HTTP2ServerConnection" class="title">Class HTTP2ServerConnection</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../io/AbstractConnection.html" title="class in org.eclipse.jetty.io">org.eclipse.jetty.io.AbstractConnection</a></li>
<li>
<ul class="inheritance">
<li><a href="../HTTP2Connection.html" title="class in org.eclipse.jetty.http2">org.eclipse.jetty.http2.HTTP2Connection</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.jetty.http2.server.HTTP2ServerConnection</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>java.io.Closeable</code>, <code>java.lang.AutoCloseable</code>, <code><a href="../../io/Connection.html" title="interface in org.eclipse.jetty.io">Connection</a></code>, <code><a href="../../io/Connection.UpgradeTo.html" title="interface in org.eclipse.jetty.io">Connection.UpgradeTo</a></code>, <code><a href="../../io/WriteFlusher.Listener.html" title="interface in org.eclipse.jetty.io">WriteFlusher.Listener</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">HTTP2ServerConnection</span>
extends <a href="../HTTP2Connection.html" title="class in org.eclipse.jetty.http2">HTTP2Connection</a>
implements <a href="../../io/Connection.UpgradeTo.html" title="interface in org.eclipse.jetty.io">Connection.UpgradeTo</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>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="HTTP2ServerConnection.ServerHttpChannelOverHTTP2.html" title="class in org.eclipse.jetty.http2.server">HTTP2ServerConnection.ServerHttpChannelOverHTTP2</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.http2.HTTP2Connection">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.eclipse.jetty.http2.<a href="../HTTP2Connection.html" title="class in org.eclipse.jetty.http2">HTTP2Connection</a></h3>
<code><a href="../HTTP2Connection.HTTP2Producer.html" title="class in org.eclipse.jetty.http2">HTTP2Connection.HTTP2Producer</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.io.Connection">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.io.<a href="../../io/Connection.html" title="interface in org.eclipse.jetty.io">Connection</a></h3>
<code><a href="../../io/Connection.Listener.html" title="interface in org.eclipse.jetty.io">Connection.Listener</a>, <a href="../../io/Connection.UpgradeFrom.html" title="interface in org.eclipse.jetty.io">Connection.UpgradeFrom</a>, <a href="../../io/Connection.UpgradeTo.html" title="interface in org.eclipse.jetty.io">Connection.UpgradeTo</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.http2.HTTP2Connection">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.jetty.http2.<a href="../HTTP2Connection.html" title="class in org.eclipse.jetty.http2">HTTP2Connection</a></h3>
<code><a href="../HTTP2Connection.html#LOG">LOG</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.io.ByteBufferPool,java.util.concurrent.Executor,org.eclipse.jetty.io.EndPoint,org.eclipse.jetty.server.HttpConfiguration,org.eclipse.jetty.http2.parser.ServerParser,org.eclipse.jetty.http2.ISession,int,org.eclipse.jetty.http2.api.server.ServerSessionListener)">HTTP2ServerConnection</a></span>&#8203;(<a href="../../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io">ByteBufferPool</a>&nbsp;byteBufferPool,
java.util.concurrent.Executor&nbsp;executor,
<a href="../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&nbsp;endPoint,
<a href="../../server/HttpConfiguration.html" title="class in org.eclipse.jetty.server">HttpConfiguration</a>&nbsp;httpConfig,
<a href="../parser/ServerParser.html" title="class in org.eclipse.jetty.http2.parser">ServerParser</a>&nbsp;parser,
<a href="../ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a>&nbsp;session,
int&nbsp;inputBufferSize,
<a href="../api/server/ServerSessionListener.html" title="interface in org.eclipse.jetty.http2.api.server">ServerSessionListener</a>&nbsp;listener)</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="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>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMessagesIn()">getMessagesIn</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMessagesOut()">getMessagesOut</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected <a href="../parser/ServerParser.html" title="class in org.eclipse.jetty.http2.parser">ServerParser</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getParser()">getParser</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRecycleHttpChannels()">isRecycleHttpChannels</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSupportedProtocol(java.lang.String)">isSupportedProtocol</a></span>&#8203;(java.lang.String&nbsp;protocol)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected <a href="HTTP2ServerConnection.ServerHttpChannelOverHTTP2.html" title="class in org.eclipse.jetty.http2.server">HTTP2ServerConnection.ServerHttpChannelOverHTTP2</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newServerHttpChannelOverHTTP2(org.eclipse.jetty.server.Connector,org.eclipse.jetty.server.HttpConfiguration,org.eclipse.jetty.http2.server.HttpTransportOverHTTP2)">newServerHttpChannelOverHTTP2</a></span>&#8203;(<a href="../../server/Connector.html" title="interface in org.eclipse.jetty.server">Connector</a>&nbsp;connector,
<a href="../../server/HttpConfiguration.html" title="class in org.eclipse.jetty.server">HttpConfiguration</a>&nbsp;httpConfig,
<a href="HttpTransportOverHTTP2.html" title="class in org.eclipse.jetty.http2.server">HttpTransportOverHTTP2</a>&nbsp;transport)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" 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.IStream,org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)">onData</a></span>&#8203;(<a href="../IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
<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">&nbsp;</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="#onNewStream(org.eclipse.jetty.server.Connector,org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.HeadersFrame)">onNewStream</a></span>&#8203;(<a href="../../server/Connector.html" title="interface in org.eclipse.jetty.server">Connector</a>&nbsp;connector,
<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="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onOpen()">onOpen</a></span>()</code></th>
<td class="colLast">
<div class="block">Callback method invoked when this connection is opened.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onSessionFailure(java.lang.Throwable,org.eclipse.jetty.util.Callback)">onSessionFailure</a></span>&#8203;(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="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onSessionTimeout(java.lang.Throwable)">onSessionTimeout</a></span>&#8203;(java.lang.Throwable&nbsp;failure)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onStreamFailure(org.eclipse.jetty.http2.IStream,java.lang.Throwable,org.eclipse.jetty.util.Callback)">onStreamFailure</a></span>&#8203;(<a href="../IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
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="i12" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onStreamTimeout(org.eclipse.jetty.http2.IStream,java.lang.Throwable)">onStreamTimeout</a></span>&#8203;(<a href="../IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
java.lang.Throwable&nbsp;failure)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onTrailers(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.HeadersFrame)">onTrailers</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="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onUpgradeTo(java.nio.ByteBuffer)">onUpgradeTo</a></span>&#8203;(java.nio.ByteBuffer&nbsp;buffer)</code></th>
<td class="colLast">
<div class="block">Callback method invoked when this connection is upgraded.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#push(org.eclipse.jetty.server.Connector,org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http.MetaData.Request)">push</a></span>&#8203;(<a href="../../server/Connector.html" title="interface in org.eclipse.jetty.server">Connector</a>&nbsp;connector,
<a href="../IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
<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="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRecycleHttpChannels(boolean)">setRecycleHttpChannels</a></span>&#8203;(boolean&nbsp;recycleHttpChannels)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#upgrade(org.eclipse.jetty.http.MetaData.Request)">upgrade</a></span>&#8203;(<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>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.http2.HTTP2Connection">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.http2.<a href="../HTTP2Connection.html" title="class in org.eclipse.jetty.http2">HTTP2Connection</a></h3>
<code><a href="../HTTP2Connection.html#close()">close</a>, <a href="../HTTP2Connection.html#dispatch()">dispatch</a>, <a href="../HTTP2Connection.html#getBytesIn()">getBytesIn</a>, <a href="../HTTP2Connection.html#getBytesOut()">getBytesOut</a>, <a href="../HTTP2Connection.html#getSession()">getSession</a>, <a href="../HTTP2Connection.html#offerTask(java.lang.Runnable,boolean)">offerTask</a>, <a href="../HTTP2Connection.html#onClose()">onClose</a>, <a href="../HTTP2Connection.html#onFillable()">onFillable</a>, <a href="../HTTP2Connection.html#onFlushed(long)">onFlushed</a>, <a href="../HTTP2Connection.html#onIdleExpired()">onIdleExpired</a>, <a href="../HTTP2Connection.html#produce()">produce</a>, <a href="../HTTP2Connection.html#setInputBuffer(java.nio.ByteBuffer)">setInputBuffer</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.io.AbstractConnection">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.io.<a href="../../io/AbstractConnection.html" title="class in org.eclipse.jetty.io">AbstractConnection</a></h3>
<code><a href="../../io/AbstractConnection.html#addListener(org.eclipse.jetty.io.Connection.Listener)">addListener</a>, <a href="../../io/AbstractConnection.html#failedCallback(org.eclipse.jetty.util.Callback,java.lang.Throwable)">failedCallback</a>, <a href="../../io/AbstractConnection.html#fillInterested()">fillInterested</a>, <a href="../../io/AbstractConnection.html#getCreatedTimeStamp()">getCreatedTimeStamp</a>, <a href="../../io/AbstractConnection.html#getEndPoint()">getEndPoint</a>, <a href="../../io/AbstractConnection.html#getExecutor()">getExecutor</a>, <a href="../../io/AbstractConnection.html#getInputBufferSize()">getInputBufferSize</a>, <a href="../../io/AbstractConnection.html#isFillInterested()">isFillInterested</a>, <a href="../../io/AbstractConnection.html#onFillInterestedFailed(java.lang.Throwable)">onFillInterestedFailed</a>, <a href="../../io/AbstractConnection.html#onReadTimeout(java.lang.Throwable)">onReadTimeout</a>, <a href="../../io/AbstractConnection.html#removeListener(org.eclipse.jetty.io.Connection.Listener)">removeListener</a>, <a href="../../io/AbstractConnection.html#setInputBufferSize(int)">setInputBufferSize</a>, <a href="../../io/AbstractConnection.html#toConnectionString()">toConnectionString</a>, <a href="../../io/AbstractConnection.html#toString()">toString</a>, <a href="../../io/AbstractConnection.html#tryFillInterested()">tryFillInterested</a>, <a href="../../io/AbstractConnection.html#tryFillInterested(org.eclipse.jetty.util.Callback)">tryFillInterested</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>
</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.io.ByteBufferPool,java.util.concurrent.Executor,org.eclipse.jetty.io.EndPoint,org.eclipse.jetty.server.HttpConfiguration,org.eclipse.jetty.http2.parser.ServerParser,org.eclipse.jetty.http2.ISession,int,org.eclipse.jetty.http2.api.server.ServerSessionListener)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HTTP2ServerConnection</h4>
<pre>public&nbsp;HTTP2ServerConnection&#8203;(<a href="../../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io">ByteBufferPool</a>&nbsp;byteBufferPool,
java.util.concurrent.Executor&nbsp;executor,
<a href="../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&nbsp;endPoint,
<a href="../../server/HttpConfiguration.html" title="class in org.eclipse.jetty.server">HttpConfiguration</a>&nbsp;httpConfig,
<a href="../parser/ServerParser.html" title="class in org.eclipse.jetty.http2.parser">ServerParser</a>&nbsp;parser,
<a href="../ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a>&nbsp;session,
int&nbsp;inputBufferSize,
<a href="../api/server/ServerSessionListener.html" title="interface in org.eclipse.jetty.http2.api.server">ServerSessionListener</a>&nbsp;listener)</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="isSupportedProtocol(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSupportedProtocol</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isSupportedProtocol&#8203;(java.lang.String&nbsp;protocol)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>protocol</code> - An HTTP2 protocol variant</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the protocol version is supported</dd>
</dl>
</li>
</ul>
<a id="getMessagesIn()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessagesIn</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMessagesIn()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../io/Connection.html#getMessagesIn()">getMessagesIn</a></code>&nbsp;in interface&nbsp;<code><a href="../../io/Connection.html" title="interface in org.eclipse.jetty.io">Connection</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../io/AbstractConnection.html#getMessagesIn()">getMessagesIn</a></code>&nbsp;in class&nbsp;<code><a href="../../io/AbstractConnection.html" title="class in org.eclipse.jetty.io">AbstractConnection</a></code></dd>
</dl>
</li>
</ul>
<a id="getMessagesOut()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessagesOut</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMessagesOut()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../io/Connection.html#getMessagesOut()">getMessagesOut</a></code>&nbsp;in interface&nbsp;<code><a href="../../io/Connection.html" title="interface in org.eclipse.jetty.io">Connection</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../io/AbstractConnection.html#getMessagesOut()">getMessagesOut</a></code>&nbsp;in class&nbsp;<code><a href="../../io/AbstractConnection.html" title="class in org.eclipse.jetty.io">AbstractConnection</a></code></dd>
</dl>
</li>
</ul>
<a id="getParser()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParser</h4>
<pre class="methodSignature">protected&nbsp;<a href="../parser/ServerParser.html" title="class in org.eclipse.jetty.http2.parser">ServerParser</a>&nbsp;getParser()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../HTTP2Connection.html#getParser()">getParser</a></code>&nbsp;in class&nbsp;<code><a href="../HTTP2Connection.html" title="class in org.eclipse.jetty.http2">HTTP2Connection</a></code></dd>
</dl>
</li>
</ul>
<a id="isRecycleHttpChannels()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isRecycleHttpChannels</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isRecycleHttpChannels()</pre>
</li>
</ul>
<a id="setRecycleHttpChannels(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRecycleHttpChannels</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setRecycleHttpChannels&#8203;(boolean&nbsp;recycleHttpChannels)</pre>
</li>
</ul>
<a id="onUpgradeTo(java.nio.ByteBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onUpgradeTo</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onUpgradeTo&#8203;(java.nio.ByteBuffer&nbsp;buffer)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../io/Connection.UpgradeTo.html#onUpgradeTo(java.nio.ByteBuffer)">Connection.UpgradeTo</a></code></span></div>
<div class="block"><p>Callback method invoked when this connection is upgraded.</p>
<p>This must be called before <a href="../../io/Connection.html#onOpen()"><code>Connection.onOpen()</code></a>.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../io/Connection.UpgradeTo.html#onUpgradeTo(java.nio.ByteBuffer)">onUpgradeTo</a></code>&nbsp;in interface&nbsp;<code><a href="../../io/Connection.UpgradeTo.html" title="interface in org.eclipse.jetty.io">Connection.UpgradeTo</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>buffer</code> - An optional buffer that can contain prefilled data. Typically this
results from an upgrade of one protocol to the other where the old connection has buffered
data destined for the new connection. The new connection must take ownership of the buffer
and is responsible for returning it to the buffer pool</dd>
</dl>
</li>
</ul>
<a id="onOpen()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onOpen</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onOpen()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../io/Connection.html#onOpen()">Connection</a></code></span></div>
<div class="block"><p>Callback method invoked when this connection is opened.</p>
<p>Creators of the connection implementation are responsible for calling this method.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../io/Connection.html#onOpen()">onOpen</a></code>&nbsp;in interface&nbsp;<code><a href="../../io/Connection.html" title="interface in org.eclipse.jetty.io">Connection</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../HTTP2Connection.html#onOpen()">onOpen</a></code>&nbsp;in class&nbsp;<code><a href="../HTTP2Connection.html" title="class in org.eclipse.jetty.http2">HTTP2Connection</a></code></dd>
</dl>
</li>
</ul>
<a id="onNewStream(org.eclipse.jetty.server.Connector,org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.HeadersFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onNewStream</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onNewStream&#8203;(<a href="../../server/Connector.html" title="interface in org.eclipse.jetty.server">Connector</a>&nbsp;connector,
<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="onData(org.eclipse.jetty.http2.IStream,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="../IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
<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>
</li>
</ul>
<a id="onTrailers(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.HeadersFrame)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onTrailers</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onTrailers&#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="onStreamTimeout(org.eclipse.jetty.http2.IStream,java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStreamTimeout</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;onStreamTimeout&#8203;(<a href="../IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
java.lang.Throwable&nbsp;failure)</pre>
</li>
</ul>
<a id="onStreamFailure(org.eclipse.jetty.http2.IStream,java.lang.Throwable,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStreamFailure</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onStreamFailure&#8203;(<a href="../IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
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="onSessionTimeout(java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onSessionTimeout</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;onSessionTimeout&#8203;(java.lang.Throwable&nbsp;failure)</pre>
</li>
</ul>
<a id="onSessionFailure(java.lang.Throwable,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onSessionFailure</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;onSessionFailure&#8203;(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="push(org.eclipse.jetty.server.Connector,org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http.MetaData.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>push</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;push&#8203;(<a href="../../server/Connector.html" title="interface in org.eclipse.jetty.server">Connector</a>&nbsp;connector,
<a href="../IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
<a href="../../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a>&nbsp;request)</pre>
</li>
</ul>
<a id="newServerHttpChannelOverHTTP2(org.eclipse.jetty.server.Connector,org.eclipse.jetty.server.HttpConfiguration,org.eclipse.jetty.http2.server.HttpTransportOverHTTP2)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newServerHttpChannelOverHTTP2</h4>
<pre class="methodSignature">protected&nbsp;<a href="HTTP2ServerConnection.ServerHttpChannelOverHTTP2.html" title="class in org.eclipse.jetty.http2.server">HTTP2ServerConnection.ServerHttpChannelOverHTTP2</a>&nbsp;newServerHttpChannelOverHTTP2&#8203;(<a href="../../server/Connector.html" title="interface in org.eclipse.jetty.server">Connector</a>&nbsp;connector,
<a href="../../server/HttpConfiguration.html" title="class in org.eclipse.jetty.server">HttpConfiguration</a>&nbsp;httpConfig,
<a href="HttpTransportOverHTTP2.html" title="class in org.eclipse.jetty.http2.server">HttpTransportOverHTTP2</a>&nbsp;transport)</pre>
</li>
</ul>
<a id="upgrade(org.eclipse.jetty.http.MetaData.Request)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>upgrade</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;upgrade&#8203;(<a href="../../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a>&nbsp;request)</pre>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HTTP2ServerConnection.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;2020 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>