| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) on Thu Sep 15 14:13:16 CDT 2022 --> |
| <title>HTTP2Session (Eclipse Jetty API Doc - v11.0.12)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2022-09-15"> |
| <meta name="description" content="declaration: package: org.eclipse.jetty.http2, class: HTTP2Session"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">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#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li><a href="#nested-class-summary">Nested</a> | </li> |
| <li><a href="#field-summary">Field</a> | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor-detail">Constr</a> | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.eclipse.jetty.http2</a></div> |
| <h1 title="Class HTTP2Session" class="title">Class HTTP2Session</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance"><a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.AbstractLifeCycle</a> |
| <div class="inheritance"><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.ContainerLifeCycle</a> |
| <div class="inheritance">org.eclipse.jetty.http2.HTTP2Session</div> |
| </div> |
| </div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <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 class="notes"> |
| <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> |
| <div class="type-signature"><span class="annotations"><a href="../util/annotation/ManagedObject.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedObject</a> |
| </span><span class="modifiers">public abstract class </span><span class="element-name type-name-label">HTTP2Session</span> |
| <span class="extends-implements">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></span></div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <li> |
| <section class="nested-class-summary" id="nested-class-summary"> |
| <h2>Nested Class Summary</h2> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.util.component.AbstractLifeCycle">Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h2> |
| <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></div> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.util.component.Container">Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></h2> |
| <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></div> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.util.component.Dumpable">Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h2> |
| <code><a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code></div> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.util.component.LifeCycle">Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></h2> |
| <code><a href="../util/component/LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a></code></div> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.http2.parser.Parser.Listener">Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.parser.<a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></h2> |
| <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></div> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.http2.api.Session">Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.api.<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></h2> |
| <code><a href="api/Session.Listener.html" title="interface in org.eclipse.jetty.http2.api">Session.Listener</a></code></div> |
| </section> |
| </li> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.eclipse.jetty.util.component.AbstractLifeCycle">Fields inherited from class 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></div> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.eclipse.jetty.util.component.Dumpable">Fields inherited from interface 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></div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><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)" class="member-name-link">HTTP2Session</a><wbr>(<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a> scheduler, |
| <a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> endPoint, |
| <a href="generator/Generator.html" title="class in org.eclipse.jetty.http2.generator">Generator</a> generator, |
| <a href="api/Session.Listener.html" title="interface in org.eclipse.jetty.http2.api">Session.Listener</a> listener, |
| <a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a> flowControl, |
| int initialStreamId)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#abort(java.lang.String,java.lang.Throwable,org.eclipse.jetty.util.Callback)" class="member-name-link">abort</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> reason, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a> failure, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)" class="member-name-link">close</a><wbr>(int error, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> reason, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Invoked internally and by applications to send a GO_AWAY frame to the other peer.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createLocalStream(int,org.eclipse.jetty.http.MetaData.Request,java.util.function.Consumer)" class="member-name-link">createLocalStream</a><wbr>(int streamId, |
| <a href="../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a> request, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a>> failFn)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createRemoteStream(int,org.eclipse.jetty.http.MetaData.Request)" class="member-name-link">createRemoteStream</a><wbr>(int streamId, |
| <a href="../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a> request)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#data(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Callback,org.eclipse.jetty.http2.frames.DataFrame)" class="member-name-link">data</a><wbr>(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback, |
| <a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a> frame)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Enqueues the given DATA frame to be written to the connection.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#disconnect()" class="member-name-link">disconnect</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#doStop()" class="member-name-link">doStop</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Stops the managed lifecycle beans in the reverse order they were added.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#dump(java.lang.Appendable,java.lang.String)" class="member-name-link">dump</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Appendable.html" title="class or interface in java.lang" class="external-link">Appendable</a> out, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> indent)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Dump this object (and children) into an Appendable using the provided indent after any new lines.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#frames(org.eclipse.jetty.http2.IStream,java.util.List,org.eclipse.jetty.util.Callback)" class="member-name-link">frames</a><wbr>(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</a>> frames, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Enqueues the given frames to be written to the connection.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBytesWritten()" class="member-name-link">getBytesWritten</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CloseState.html" title="enum in org.eclipse.jetty.http2">CloseState</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCloseState()" class="member-name-link">getCloseState</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getEndPoint()" class="member-name-link">getEndPoint</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFlowControlStrategy()" class="member-name-link">getFlowControlStrategy</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="generator/Generator.html" title="class in org.eclipse.jetty.http2.generator">Generator</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getGenerator()" class="member-name-link">getGenerator</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getInitialSessionRecvWindow()" class="member-name-link">getInitialSessionRecvWindow</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLastRemoteStreamId()" class="member-name-link">getLastRemoteStreamId</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/InetSocketAddress.html" title="class or interface in java.net" class="external-link">InetSocketAddress</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLocalAddress()" class="member-name-link">getLocalAddress</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/SocketAddress.html" title="class or interface in java.net" class="external-link">SocketAddress</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLocalSocketAddress()" class="member-name-link">getLocalSocketAddress</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxLocalStreams()" class="member-name-link">getMaxLocalStreams</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxRemoteStreams()" class="member-name-link">getMaxRemoteStreams</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRecvWindow()" class="member-name-link">getRecvWindow</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/InetSocketAddress.html" title="class or interface in java.net" class="external-link">InetSocketAddress</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRemoteAddress()" class="member-name-link">getRemoteAddress</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/SocketAddress.html" title="class or interface in java.net" class="external-link">SocketAddress</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRemoteSocketAddress()" class="member-name-link">getRemoteSocketAddress</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSendWindow()" class="member-name-link">getSendWindow</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getStream(int)" class="member-name-link">getStream</a><wbr>(int streamId)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Retrieves the stream with the given <code>streamId</code>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getStreamCount()" class="member-name-link">getStreamCount</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getStreamIdleTimeout()" class="member-name-link">getStreamIdleTimeout</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getStreams()" class="member-name-link">getStreams</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getStreamsClosed()" class="member-name-link">getStreamsClosed</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getStreamsOpened()" class="member-name-link">getStreamsOpened</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getWriteThreshold()" class="member-name-link">getWriteThreshold</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#goAway(org.eclipse.jetty.http2.frames.GoAwayFrame,org.eclipse.jetty.util.Callback)" class="member-name-link">goAway</a><wbr>(<a href="frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>protected static boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#isClientStream(int)" class="member-name-link">isClientStream</a><wbr>(int streamId)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isClosed()" class="member-name-link">isClosed</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isConnectProtocolEnabled()" class="member-name-link">isConnectProtocolEnabled</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isDisconnected()" class="member-name-link">isDisconnected</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isLocalStreamClosed(int)" class="member-name-link">isLocalStreamClosed</a><wbr>(int streamId)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isPushEnabled()" class="member-name-link">isPushEnabled</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isRemoteStreamClosed(int)" class="member-name-link">isRemoteStreamClosed</a><wbr>(int streamId)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#newStream(int,org.eclipse.jetty.http.MetaData.Request,boolean)" class="member-name-link">newStream</a><wbr>(int streamId, |
| <a href="../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a> request, |
| boolean local)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#newStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)" class="member-name-link">newStream</a><wbr>(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a> frame, |
| <a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a><<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>> promise, |
| <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a> listener)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#newStream(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)" class="member-name-link">newStream</a><wbr>(<a href="IStream.FrameList.html" title="class in org.eclipse.jetty.http2">IStream.FrameList</a> frames, |
| <a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a><<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>> promise, |
| <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a> listener)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <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> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#newUpgradeStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.http2.api.Stream.Listener,java.util.function.Consumer)" class="member-name-link">newUpgradeStream</a><wbr>(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a> frame, |
| <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a> listener, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a>> failFn)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Creates a new stream allocating a stream id if the given HEADERS frame does not have one.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#notifyClose(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame,org.eclipse.jetty.util.Callback)" class="member-name-link">notifyClose</a><wbr>(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| <a href="frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#notifyFailure(org.eclipse.jetty.http2.api.Session,java.lang.Throwable,org.eclipse.jetty.util.Callback)" class="member-name-link">notifyFailure</a><wbr>(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a> failure, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#notifyGoAway(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame)" class="member-name-link">notifyGoAway</a><wbr>(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| <a href="frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a> frame)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#notifyHeaders(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.HeadersFrame)" class="member-name-link">notifyHeaders</a><wbr>(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a> frame)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#notifyIdleTimeout(org.eclipse.jetty.http2.api.Session)" class="member-name-link">notifyIdleTimeout</a><wbr>(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#notifyNewStream(org.eclipse.jetty.http2.api.Stream,org.eclipse.jetty.http2.frames.HeadersFrame)" class="member-name-link">notifyNewStream</a><wbr>(<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a> stream, |
| <a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a> frame)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#notifyPing(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.PingFrame)" class="member-name-link">notifyPing</a><wbr>(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| <a href="frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</a> frame)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#notifyReset(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.ResetFrame)" class="member-name-link">notifyReset</a><wbr>(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| <a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a> frame)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#notifySettings(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.SettingsFrame)" class="member-name-link">notifySettings</a><wbr>(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| <a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a> frame)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onConnectionFailure(int,java.lang.String)" class="member-name-link">onConnectionFailure</a><wbr>(int error, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> reason)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onData(org.eclipse.jetty.http2.frames.DataFrame)" class="member-name-link">onData</a><wbr>(<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a> frame)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onData(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)" class="member-name-link">onData</a><wbr>(<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Callback method invoked when a DATA frame is received.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onFlushed(long)" class="member-name-link">onFlushed</a><wbr>(long bytes)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Callback method invoked when bytes are flushed to the network.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onFrame(org.eclipse.jetty.http2.frames.Frame)" class="member-name-link">onFrame</a><wbr>(<a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</a> frame)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Callback method invoked during an HTTP/1.1 to HTTP/2 upgrade requests |
| to process the given synthetic frame.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)" class="member-name-link">onGoAway</a><wbr>(<a href="frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a> frame)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">This method is called when receiving a GO_AWAY from the other peer.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>abstract void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#onHeaders(org.eclipse.jetty.http2.frames.HeadersFrame)" class="member-name-link">onHeaders</a><wbr>(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a> frame)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onIdleTimeout()" class="member-name-link">onIdleTimeout</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">This method is invoked when the idle timeout expires.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onPing(org.eclipse.jetty.http2.frames.PingFrame)" class="member-name-link">onPing</a><wbr>(<a href="frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</a> frame)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onPriority(org.eclipse.jetty.http2.frames.PriorityFrame)" class="member-name-link">onPriority</a><wbr>(<a href="frames/PriorityFrame.html" title="class in org.eclipse.jetty.http2.frames">PriorityFrame</a> frame)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onReset(org.eclipse.jetty.http2.frames.ResetFrame)" class="member-name-link">onReset</a><wbr>(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a> frame)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onResetForUnknownStream(org.eclipse.jetty.http2.frames.ResetFrame)" class="member-name-link">onResetForUnknownStream</a><wbr>(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a> frame)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onSettings(org.eclipse.jetty.http2.frames.SettingsFrame)" class="member-name-link">onSettings</a><wbr>(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a> frame)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onSettings(org.eclipse.jetty.http2.frames.SettingsFrame,boolean)" class="member-name-link">onSettings</a><wbr>(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a> frame, |
| boolean reply)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onShutdown()" class="member-name-link">onShutdown</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">This method is called when the TCP FIN is received from the remote peer.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onStreamFailure(int,int,java.lang.String)" class="member-name-link">onStreamFailure</a><wbr>(int streamId, |
| int error, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> reason)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected final void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onStreamOpened(org.eclipse.jetty.http2.IStream)" class="member-name-link">onStreamOpened</a><wbr>(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onWindowUpdate(org.eclipse.jetty.http2.frames.WindowUpdateFrame)" class="member-name-link">onWindowUpdate</a><wbr>(<a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a> frame)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onWindowUpdate(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)" class="member-name-link">onWindowUpdate</a><wbr>(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a> frame)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Callback method invoked when a WINDOW_UPDATE frame has been received.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#ping(org.eclipse.jetty.http2.frames.PingFrame,org.eclipse.jetty.util.Callback)" class="member-name-link">ping</a><wbr>(<a href="frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sends the given PING <code>frame</code>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#priority(org.eclipse.jetty.http2.frames.PriorityFrame,org.eclipse.jetty.util.Callback)" class="member-name-link">priority</a><wbr>(<a href="frames/PriorityFrame.html" title="class in org.eclipse.jetty.http2.frames">PriorityFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sends the given PRIORITY <code>frame</code>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><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)" class="member-name-link">push</a><wbr>(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a><<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>> promise, |
| <a href="frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</a> frame, |
| <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a> listener)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Enqueues the given PUSH_PROMISE frame to be written to the connection.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#removeStream(org.eclipse.jetty.http2.IStream)" class="member-name-link">removeStream</a><wbr>(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Removes the given <code>stream</code>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setConnectProtocolEnabled(boolean)" class="member-name-link">setConnectProtocolEnabled</a><wbr>(boolean connectProtocolEnabled)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setInitialSessionRecvWindow(int)" class="member-name-link">setInitialSessionRecvWindow</a><wbr>(int initialSessionRecvWindow)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxLocalStreams(int)" class="member-name-link">setMaxLocalStreams</a><wbr>(int maxLocalStreams)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxRemoteStreams(int)" class="member-name-link">setMaxRemoteStreams</a><wbr>(int maxRemoteStreams)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setStreamIdleTimeout(long)" class="member-name-link">setStreamIdleTimeout</a><wbr>(long streamIdleTimeout)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#settings(org.eclipse.jetty.http2.frames.SettingsFrame,org.eclipse.jetty.util.Callback)" class="member-name-link">settings</a><wbr>(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sends the given SETTINGS <code>frame</code> to configure the session.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setWriteThreshold(int)" class="member-name-link">setWriteThreshold</a><wbr>(int writeThreshold)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Void.html" title="class or interface in java.lang" class="external-link">Void</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#shutdown()" class="member-name-link">shutdown</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toString()" class="member-name-link">toString</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#updateLastRemoteStreamId(int)" class="member-name-link">updateLastRemoteStreamId</a><wbr>(int streamId)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#updateRecvWindow(int)" class="member-name-link">updateRecvWindow</a><wbr>(int delta)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Updates the session receive window by the given <code>delta</code>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#updateSendWindow(int)" class="member-name-link">updateSendWindow</a><wbr>(int delta)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Updates the session send window by the given <code>delta</code>.</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.util.component.ContainerLifeCycle">Methods inherited from class 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></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.util.component.AbstractLifeCycle">Methods inherited from class 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></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.util.component.Container">Methods inherited from interface 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></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.util.component.Dumpable">Methods inherited from interface 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></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.util.component.Dumpable.DumpableContainer">Methods inherited from interface 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></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.http2.parser.Parser.Listener">Methods inherited from interface 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></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.http2.api.Session">Methods inherited from interface 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></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>(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)"> |
| <h3>HTTP2Session</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">HTTP2Session</span><wbr><span class="parameters">(<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a> scheduler, |
| <a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> endPoint, |
| <a href="generator/Generator.html" title="class in org.eclipse.jetty.http2.generator">Generator</a> generator, |
| <a href="api/Session.Listener.html" title="interface in org.eclipse.jetty.http2.api">Session.Listener</a> listener, |
| <a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a> flowControl, |
| int initialStreamId)</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="doStop()"> |
| <h3>doStop</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">doStop</span>() |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Exception.html" title="class or interface in java.lang" class="external-link">Exception</a></span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <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 class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="../util/component/ContainerLifeCycle.html#doStop()">doStop</a></code> in class <code><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Exception.html" title="class or interface in java.lang" class="external-link">Exception</a></code> - If there was a problem stopping. Will cause a transition to FAILED state</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getFlowControlStrategy()"> |
| <h3>getFlowControlStrategy</h3> |
| <div class="member-signature"><span class="annotations"><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) |
| </span><span class="modifiers">public</span> <span class="return-type"><a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a></span> <span class="element-name">getFlowControlStrategy</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getStreamsOpened()"> |
| <h3>getStreamsOpened</h3> |
| <div class="member-signature"><span class="annotations"><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) |
| </span><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getStreamsOpened</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getStreamsClosed()"> |
| <h3>getStreamsClosed</h3> |
| <div class="member-signature"><span class="annotations"><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) |
| </span><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getStreamsClosed</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getMaxLocalStreams()"> |
| <h3>getMaxLocalStreams</h3> |
| <div class="member-signature"><span class="annotations"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The maximum number of concurrent local streams") |
| </span><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMaxLocalStreams</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setMaxLocalStreams(int)"> |
| <h3>setMaxLocalStreams</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setMaxLocalStreams</span><wbr><span class="parameters">(int maxLocalStreams)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getMaxRemoteStreams()"> |
| <h3>getMaxRemoteStreams</h3> |
| <div class="member-signature"><span class="annotations"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The maximum number of concurrent remote streams") |
| </span><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMaxRemoteStreams</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setMaxRemoteStreams(int)"> |
| <h3>setMaxRemoteStreams</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setMaxRemoteStreams</span><wbr><span class="parameters">(int maxRemoteStreams)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getStreamIdleTimeout()"> |
| <h3>getStreamIdleTimeout</h3> |
| <div class="member-signature"><span class="annotations"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The stream\'s idle timeout") |
| </span><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getStreamIdleTimeout</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setStreamIdleTimeout(long)"> |
| <h3>setStreamIdleTimeout</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setStreamIdleTimeout</span><wbr><span class="parameters">(long streamIdleTimeout)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getInitialSessionRecvWindow()"> |
| <h3>getInitialSessionRecvWindow</h3> |
| <div class="member-signature"><span class="annotations"><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") |
| </span><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getInitialSessionRecvWindow</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setInitialSessionRecvWindow(int)"> |
| <h3>setInitialSessionRecvWindow</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setInitialSessionRecvWindow</span><wbr><span class="parameters">(int initialSessionRecvWindow)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getWriteThreshold()"> |
| <h3>getWriteThreshold</h3> |
| <div class="member-signature"><span class="annotations"><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") |
| </span><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getWriteThreshold</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setWriteThreshold(int)"> |
| <h3>setWriteThreshold</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setWriteThreshold</span><wbr><span class="parameters">(int writeThreshold)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getEndPoint()"> |
| <h3>getEndPoint</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></span> <span class="element-name">getEndPoint</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getGenerator()"> |
| <h3>getGenerator</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="generator/Generator.html" title="class in org.eclipse.jetty.http2.generator">Generator</a></span> <span class="element-name">getGenerator</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getBytesWritten()"> |
| <h3>getBytesWritten</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getBytesWritten</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#getBytesWritten()">getBytesWritten</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>the number of bytes written by this session</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onData(org.eclipse.jetty.http2.frames.DataFrame)"> |
| <h3>onData</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onData</span><wbr><span class="parameters">(<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a> frame)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="parser/Parser.Listener.html#onData(org.eclipse.jetty.http2.frames.DataFrame)">onData</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onData(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)"> |
| <h3>onData</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onData</span><wbr><span class="parameters">(<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#onData(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)">onData</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Parameters:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isLocalStreamClosed(int)"> |
| <h3>isLocalStreamClosed</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">isLocalStreamClosed</span><wbr><span class="parameters">(int streamId)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isRemoteStreamClosed(int)"> |
| <h3>isRemoteStreamClosed</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">isRemoteStreamClosed</span><wbr><span class="parameters">(int streamId)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onHeaders(org.eclipse.jetty.http2.frames.HeadersFrame)"> |
| <h3>onHeaders</h3> |
| <div class="member-signature"><span class="modifiers">public abstract</span> <span class="return-type">void</span> <span class="element-name">onHeaders</span><wbr><span class="parameters">(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a> frame)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="parser/Parser.Listener.html#onHeaders(org.eclipse.jetty.http2.frames.HeadersFrame)">onHeaders</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onPriority(org.eclipse.jetty.http2.frames.PriorityFrame)"> |
| <h3>onPriority</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onPriority</span><wbr><span class="parameters">(<a href="frames/PriorityFrame.html" title="class in org.eclipse.jetty.http2.frames">PriorityFrame</a> frame)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="parser/Parser.Listener.html#onPriority(org.eclipse.jetty.http2.frames.PriorityFrame)">onPriority</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onReset(org.eclipse.jetty.http2.frames.ResetFrame)"> |
| <h3>onReset</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onReset</span><wbr><span class="parameters">(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a> frame)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="parser/Parser.Listener.html#onReset(org.eclipse.jetty.http2.frames.ResetFrame)">onReset</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onResetForUnknownStream(org.eclipse.jetty.http2.frames.ResetFrame)"> |
| <h3>onResetForUnknownStream</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">onResetForUnknownStream</span><wbr><span class="parameters">(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a> frame)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onSettings(org.eclipse.jetty.http2.frames.SettingsFrame)"> |
| <h3>onSettings</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onSettings</span><wbr><span class="parameters">(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a> frame)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="parser/Parser.Listener.html#onSettings(org.eclipse.jetty.http2.frames.SettingsFrame)">onSettings</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onSettings(org.eclipse.jetty.http2.frames.SettingsFrame,boolean)"> |
| <h3>onSettings</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onSettings</span><wbr><span class="parameters">(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a> frame, |
| boolean reply)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onPing(org.eclipse.jetty.http2.frames.PingFrame)"> |
| <h3>onPing</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onPing</span><wbr><span class="parameters">(<a href="frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</a> frame)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="parser/Parser.Listener.html#onPing(org.eclipse.jetty.http2.frames.PingFrame)">onPing</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)"> |
| <h3>onGoAway</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onGoAway</span><wbr><span class="parameters">(<a href="frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a> frame)</span></div> |
| <div class="block"><p>This method is called when receiving a GO_AWAY from the other peer.</p></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="parser/Parser.Listener.html#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)">onGoAway</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>frame</code> - the GO_AWAY frame that has been received.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)"><code>close(int, String, Callback)</code></a></li> |
| <li><a href="#onShutdown()"><code>onShutdown()</code></a></li> |
| <li><a href="#onIdleTimeout()"><code>onIdleTimeout()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onWindowUpdate(org.eclipse.jetty.http2.frames.WindowUpdateFrame)"> |
| <h3>onWindowUpdate</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onWindowUpdate</span><wbr><span class="parameters">(<a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a> frame)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="parser/Parser.Listener.html#onWindowUpdate(org.eclipse.jetty.http2.frames.WindowUpdateFrame)">onWindowUpdate</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onWindowUpdate(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)"> |
| <h3>onWindowUpdate</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onWindowUpdate</span><wbr><span class="parameters">(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a> frame)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#onWindowUpdate(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)">onWindowUpdate</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Parameters:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onStreamFailure(int,int,java.lang.String)"> |
| <h3>onStreamFailure</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onStreamFailure</span><wbr><span class="parameters">(int streamId, |
| int error, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> reason)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="parser/Parser.Listener.html#onStreamFailure(int,int,java.lang.String)">onStreamFailure</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onConnectionFailure(int,java.lang.String)"> |
| <h3>onConnectionFailure</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onConnectionFailure</span><wbr><span class="parameters">(int error, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> reason)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="parser/Parser.Listener.html#onConnectionFailure(int,java.lang.String)">onConnectionFailure</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="abort(java.lang.String,java.lang.Throwable,org.eclipse.jetty.util.Callback)"> |
| <h3>abort</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">abort</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> reason, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a> failure, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="newStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)"> |
| <h3>newStream</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">newStream</span><wbr><span class="parameters">(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a> frame, |
| <a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a><<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>> promise, |
| <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a> listener)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</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> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt>Parameters:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="newStream(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)"> |
| <h3>newStream</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">newStream</span><wbr><span class="parameters">(<a href="IStream.FrameList.html" title="class in org.eclipse.jetty.http2">IStream.FrameList</a> frames, |
| <a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a><<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>> promise, |
| <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a> listener)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</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> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Parameters:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="newUpgradeStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.http2.api.Stream.Listener,java.util.function.Consumer)"> |
| <h3>newUpgradeStream</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></span> <span class="element-name">newUpgradeStream</span><wbr><span class="parameters">(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a> frame, |
| <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a> listener, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a>> failFn)</span></div> |
| <div class="block"><p>Creates a new stream allocating a stream id if the given HEADERS frame does not have one.</p></div> |
| <dl class="notes"> |
| <dt>Parameters:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="newStream(int,org.eclipse.jetty.http.MetaData.Request,boolean)"> |
| <h3>newStream</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></span> <span class="element-name">newStream</span><wbr><span class="parameters">(int streamId, |
| <a href="../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a> request, |
| boolean local)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="priority(org.eclipse.jetty.http2.frames.PriorityFrame,org.eclipse.jetty.util.Callback)"> |
| <h3>priority</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">priority</span><wbr><span class="parameters">(<a href="frames/PriorityFrame.html" title="class in org.eclipse.jetty.http2.frames">PriorityFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="api/Session.html#priority(org.eclipse.jetty.http2.frames.PriorityFrame,org.eclipse.jetty.util.Callback)">priority</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt>Parameters:</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>Returns:</dt> |
| <dd>the new stream id generated by the PRIORITY frame, or the stream id |
| that it is already referencing</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" 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)"> |
| <h3>push</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">push</span><wbr><span class="parameters">(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a><<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>> promise, |
| <a href="frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</a> frame, |
| <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a> listener)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</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> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Parameters:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="settings(org.eclipse.jetty.http2.frames.SettingsFrame,org.eclipse.jetty.util.Callback)"> |
| <h3>settings</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">settings</span><wbr><span class="parameters">(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="api/Session.html#settings(org.eclipse.jetty.http2.frames.SettingsFrame,org.eclipse.jetty.util.Callback)">settings</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt>Parameters:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="ping(org.eclipse.jetty.http2.frames.PingFrame,org.eclipse.jetty.util.Callback)"> |
| <h3>ping</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">ping</span><wbr><span class="parameters">(<a href="frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="api/Session.html#ping(org.eclipse.jetty.http2.frames.PingFrame,org.eclipse.jetty.util.Callback)">ping</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt>Parameters:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="close(int,java.lang.String,org.eclipse.jetty.util.Callback)"> |
| <h3>close</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">close</span><wbr><span class="parameters">(int error, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> reason, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</span></div> |
| <div class="block"><p>Invoked internally and by applications to send a GO_AWAY frame to the other peer.</p></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="api/Session.html#close(int,java.lang.String,org.eclipse.jetty.util.Callback)">close</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt>Parameters:</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>Returns:</dt> |
| <dd>true if the frame is being sent, false if the session was already closed</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)"><code>onGoAway(GoAwayFrame)</code></a></li> |
| <li><a href="#onShutdown()"><code>onShutdown()</code></a></li> |
| <li><a href="#onIdleTimeout()"><code>onIdleTimeout()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="shutdown()"> |
| <h3>shutdown</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Void.html" title="class or interface in java.lang" class="external-link">Void</a>></span> <span class="element-name">shutdown</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#shutdown()">shutdown</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>a <code>CompletableFuture</code> that is completed when all the streams are completed</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="goAway(org.eclipse.jetty.http2.frames.GoAwayFrame,org.eclipse.jetty.util.Callback)"> |
| <h3>goAway</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">goAway</span><wbr><span class="parameters">(<a href="frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isClosed()"> |
| <h3>isClosed</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isClosed</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="api/Session.html#isClosed()">isClosed</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>whether the session is not open</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getCloseState()"> |
| <h3>getCloseState</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CloseState.html" title="enum in org.eclipse.jetty.http2">CloseState</a></span> <span class="element-name">getCloseState</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="frames(org.eclipse.jetty.http2.IStream,java.util.List,org.eclipse.jetty.util.Callback)"> |
| <h3>frames</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">frames</span><wbr><span class="parameters">(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</a>> frames, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#frames(org.eclipse.jetty.http2.IStream,java.util.List,org.eclipse.jetty.util.Callback)">frames</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Parameters:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="data(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Callback,org.eclipse.jetty.http2.frames.DataFrame)"> |
| <h3>data</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">data</span><wbr><span class="parameters">(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback, |
| <a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a> frame)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</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> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Parameters:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createLocalStream(int,org.eclipse.jetty.http.MetaData.Request,java.util.function.Consumer)"> |
| <h3>createLocalStream</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></span> <span class="element-name">createLocalStream</span><wbr><span class="parameters">(int streamId, |
| <a href="../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a> request, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a>> failFn)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createRemoteStream(int,org.eclipse.jetty.http.MetaData.Request)"> |
| <h3>createRemoteStream</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></span> <span class="element-name">createRemoteStream</span><wbr><span class="parameters">(int streamId, |
| <a href="../http/MetaData.Request.html" title="class in org.eclipse.jetty.http">MetaData.Request</a> request)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="removeStream(org.eclipse.jetty.http2.IStream)"> |
| <h3>removeStream</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">removeStream</span><wbr><span class="parameters">(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#removeStream(org.eclipse.jetty.http2.IStream)">removeStream</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>stream</code> - the stream to remove</dd> |
| <dt>Returns:</dt> |
| <dd>whether the stream was removed</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getStreams()"> |
| <h3>getStreams</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>></span> <span class="element-name">getStreams</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="api/Session.html#getStreams()">getStreams</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>a snapshot of all the streams currently belonging to this session</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getStreamCount()"> |
| <h3>getStreamCount</h3> |
| <div class="member-signature"><span class="annotations"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The number of active streams") |
| </span><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getStreamCount</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getStream(int)"> |
| <h3>getStream</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></span> <span class="element-name">getStream</span><wbr><span class="parameters">(int streamId)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#getStream(int)">getStream</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Specified by:</dt> |
| <dd><code><a href="api/Session.html#getStream(int)">getStream</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>streamId</code> - the stream id of the stream looked for</dd> |
| <dt>Returns:</dt> |
| <dd>the stream with the given id, or null if no such stream exist</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getLocalAddress()"> |
| <h3>getLocalAddress</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/InetSocketAddress.html" title="class or interface in java.net" class="external-link">InetSocketAddress</a></span> <span class="element-name">getLocalAddress</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="api/Session.html#getLocalAddress()">getLocalAddress</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt>Returns:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getLocalSocketAddress()"> |
| <h3>getLocalSocketAddress</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/SocketAddress.html" title="class or interface in java.net" class="external-link">SocketAddress</a></span> <span class="element-name">getLocalSocketAddress</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="api/Session.html#getLocalSocketAddress()">getLocalSocketAddress</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt>Returns:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRemoteAddress()"> |
| <h3>getRemoteAddress</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/InetSocketAddress.html" title="class or interface in java.net" class="external-link">InetSocketAddress</a></span> <span class="element-name">getRemoteAddress</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="api/Session.html#getRemoteAddress()">getRemoteAddress</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt>Returns:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRemoteSocketAddress()"> |
| <h3>getRemoteSocketAddress</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/SocketAddress.html" title="class or interface in java.net" class="external-link">SocketAddress</a></span> <span class="element-name">getRemoteSocketAddress</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="api/Session.html#getRemoteSocketAddress()">getRemoteSocketAddress</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt>Returns:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getSendWindow()"> |
| <h3>getSendWindow</h3> |
| <div class="member-signature"><span class="annotations"><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) |
| </span><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getSendWindow</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRecvWindow()"> |
| <h3>getRecvWindow</h3> |
| <div class="member-signature"><span class="annotations"><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) |
| </span><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getRecvWindow</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateSendWindow(int)"> |
| <h3>updateSendWindow</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">updateSendWindow</span><wbr><span class="parameters">(int delta)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#updateSendWindow(int)">updateSendWindow</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>delta</code> - the delta value (positive or negative) to add to the session send window</dd> |
| <dt>Returns:</dt> |
| <dd>the previous value of the session send window</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateRecvWindow(int)"> |
| <h3>updateRecvWindow</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">updateRecvWindow</span><wbr><span class="parameters">(int delta)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#updateRecvWindow(int)">updateRecvWindow</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>delta</code> - the delta value (positive or negative) to add to the session receive window</dd> |
| <dt>Returns:</dt> |
| <dd>the previous value of the session receive window</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isPushEnabled()"> |
| <h3>isPushEnabled</h3> |
| <div class="member-signature"><span class="annotations"><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) |
| </span><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isPushEnabled</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#isPushEnabled()">isPushEnabled</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>whether the push functionality is enabled</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isConnectProtocolEnabled()"> |
| <h3>isConnectProtocolEnabled</h3> |
| <div class="member-signature"><span class="annotations"><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) |
| </span><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isConnectProtocolEnabled</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setConnectProtocolEnabled(boolean)"> |
| <h3>setConnectProtocolEnabled</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setConnectProtocolEnabled</span><wbr><span class="parameters">(boolean connectProtocolEnabled)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onShutdown()"> |
| <h3>onShutdown</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onShutdown</span>()</div> |
| <div class="block"><p>This method is called when the TCP FIN is received from the remote peer.</p></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#onShutdown()">onShutdown</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)"><code>onGoAway(GoAwayFrame)</code></a></li> |
| <li><a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)"><code>close(int, String, Callback)</code></a></li> |
| <li><a href="#onIdleTimeout()"><code>onIdleTimeout()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onIdleTimeout()"> |
| <h3>onIdleTimeout</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">onIdleTimeout</span>()</div> |
| <div class="block"><p>This method is invoked when the idle timeout expires.</p></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#onIdleTimeout()">onIdleTimeout</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>true if the session should be closed, false otherwise</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)"><code>onGoAway(GoAwayFrame)</code></a></li> |
| <li><a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)"><code>close(int, String, Callback)</code></a></li> |
| <li><a href="#onShutdown()"><code>onShutdown()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onFrame(org.eclipse.jetty.http2.frames.Frame)"> |
| <h3>onFrame</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onFrame</span><wbr><span class="parameters">(<a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</a> frame)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#onFrame(org.eclipse.jetty.http2.frames.Frame)">onFrame</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>frame</code> - the synthetic frame to process</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onStreamOpened(org.eclipse.jetty.http2.IStream)"> |
| <h3>onStreamOpened</h3> |
| <div class="member-signature"><span class="modifiers">protected final</span> <span class="return-type">void</span> <span class="element-name">onStreamOpened</span><wbr><span class="parameters">(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onFlushed(long)"> |
| <h3>onFlushed</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onFlushed</span><wbr><span class="parameters">(long bytes)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ISession.html#onFlushed(long)">onFlushed</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>bytes</code> - the number of bytes flushed to the network</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - if the flush should fail</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="disconnect()"> |
| <h3>disconnect</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">disconnect</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isDisconnected()"> |
| <h3>isDisconnected</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isDisconnected</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getLastRemoteStreamId()"> |
| <h3>getLastRemoteStreamId</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">int</span> <span class="element-name">getLastRemoteStreamId</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateLastRemoteStreamId(int)"> |
| <h3>updateLastRemoteStreamId</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">updateLastRemoteStreamId</span><wbr><span class="parameters">(int streamId)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="notifyNewStream(org.eclipse.jetty.http2.api.Stream,org.eclipse.jetty.http2.frames.HeadersFrame)"> |
| <h3>notifyNewStream</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></span> <span class="element-name">notifyNewStream</span><wbr><span class="parameters">(<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a> stream, |
| <a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a> frame)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="notifySettings(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.SettingsFrame)"> |
| <h3>notifySettings</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">notifySettings</span><wbr><span class="parameters">(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| <a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a> frame)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="notifyPing(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.PingFrame)"> |
| <h3>notifyPing</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">notifyPing</span><wbr><span class="parameters">(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| <a href="frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</a> frame)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="notifyReset(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.ResetFrame)"> |
| <h3>notifyReset</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">notifyReset</span><wbr><span class="parameters">(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| <a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a> frame)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="notifyGoAway(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame)"> |
| <h3>notifyGoAway</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">notifyGoAway</span><wbr><span class="parameters">(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| <a href="frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a> frame)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="notifyClose(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame,org.eclipse.jetty.util.Callback)"> |
| <h3>notifyClose</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">notifyClose</span><wbr><span class="parameters">(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| <a href="frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="notifyIdleTimeout(org.eclipse.jetty.http2.api.Session)"> |
| <h3>notifyIdleTimeout</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">notifyIdleTimeout</span><wbr><span class="parameters">(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="notifyFailure(org.eclipse.jetty.http2.api.Session,java.lang.Throwable,org.eclipse.jetty.util.Callback)"> |
| <h3>notifyFailure</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">notifyFailure</span><wbr><span class="parameters">(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a> failure, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="notifyHeaders(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.HeadersFrame)"> |
| <h3>notifyHeaders</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">notifyHeaders</span><wbr><span class="parameters">(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a> frame)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isClientStream(int)"> |
| <h3>isClientStream</h3> |
| <div class="member-signature"><span class="modifiers">protected static</span> <span class="return-type">boolean</span> <span class="element-name">isClientStream</span><wbr><span class="parameters">(int streamId)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="dump(java.lang.Appendable,java.lang.String)"> |
| <h3>dump</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">dump</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Appendable.html" title="class or interface in java.lang" class="external-link">Appendable</a> out, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> indent)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <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 class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../util/component/Dumpable.html#dump(java.lang.Appendable,java.lang.String)">dump</a></code> in interface <code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code></dd> |
| <dt>Overrides:</dt> |
| <dd><code><a href="../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable,java.lang.String)">dump</a></code> in class <code><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd> |
| <dt>Parameters:</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>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - if unable to write to Appendable</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="toString()"> |
| <h3>toString</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">toString</span>()</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="../util/component/AbstractLifeCycle.html#toString()">toString</a></code> in class <code><a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 1995–2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |