| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.8) on Fri Oct 02 09:24:24 CDT 2020 --> |
| <title>HTTP2Session (Jetty :: Project 9.4.32.v20200930 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2020-10-02"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="HTTP2Session (Jetty :: Project 9.4.32.v20200930 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":9,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":6,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = false; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/HTTP2Session.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </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="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.jetty.http2</a></div> |
| <h2 title="Class HTTP2Session" class="title">Class HTTP2Session</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.AbstractLifeCycle</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.ContainerLifeCycle</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.http2.HTTP2Session</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code>, <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code>, <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code>, <code><a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></code>, <code><a href="../util/component/Destroyable.html" title="interface in org.eclipse.jetty.util.component">Destroyable</a></code>, <code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code>, <code><a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code>, <code><a href="../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="client/HTTP2ClientSession.html" title="class in org.eclipse.jetty.http2.client">HTTP2ClientSession</a></code>, <code><a href="server/HTTP2ServerSession.html" title="class in org.eclipse.jetty.http2.server">HTTP2ServerSession</a></code></dd> |
| </dl> |
| <hr> |
| <pre><a href="../util/annotation/ManagedObject.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedObject</a> |
| public abstract class <span class="typeNameLabel">HTTP2Session</span> |
| extends <a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a> |
| implements <a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a>, <a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></pre> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3> |
| <code><a href="../util/component/AbstractLifeCycle.AbstractLifeCycleListener.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle.AbstractLifeCycleListener</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.Container"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></h3> |
| <code><a href="../util/component/Container.InheritedListener.html" title="interface in org.eclipse.jetty.util.component">Container.InheritedListener</a>, <a href="../util/component/Container.Listener.html" title="interface in org.eclipse.jetty.util.component">Container.Listener</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.Dumpable"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3> |
| <code><a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.LifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></h3> |
| <code><a href="../util/component/LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.http2.parser.Parser.Listener"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.parser.<a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></h3> |
| <code><a href="parser/Parser.Listener.Adapter.html" title="class in org.eclipse.jetty.http2.parser">Parser.Listener.Adapter</a>, <a href="parser/Parser.Listener.Wrapper.html" title="class in org.eclipse.jetty.http2.parser">Parser.Listener.Wrapper</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.http2.api.Session"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.api.<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></h3> |
| <code><a href="api/Session.Listener.html" title="interface in org.eclipse.jetty.http2.api">Session.Listener</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class 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#RUNNING">RUNNING</a>, <a href="../util/component/AbstractLifeCycle.html#STARTED">STARTED</a>, <a href="../util/component/AbstractLifeCycle.html#STARTING">STARTING</a>, <a href="../util/component/AbstractLifeCycle.html#STOPPED">STOPPED</a>, <a href="../util/component/AbstractLifeCycle.html#STOPPING">STOPPING</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.util.component.Dumpable"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3> |
| <code><a href="../util/component/Dumpable.html#KEY">KEY</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.util.thread.Scheduler,org.eclipse.jetty.io.EndPoint,org.eclipse.jetty.http2.generator.Generator,org.eclipse.jetty.http2.api.Session.Listener,org.eclipse.jetty.http2.FlowControlStrategy,int)">HTTP2Session</a></span>​(<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></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#abort(java.lang.Throwable)">abort</a></span>​(java.lang.Throwable failure)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)">close</a></span>​(int error, |
| java.lang.String reason, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></th> |
| <td class="colLast"> |
| <div class="block">Invoked internally and by applications to send a GO_AWAY frame to the |
| other peer.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createLocalStream(int)">createLocalStream</a></span>​(int streamId)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createRemoteStream(int)">createRemoteStream</a></span>​(int streamId)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#data(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Callback,org.eclipse.jetty.http2.frames.DataFrame)">data</a></span>​(<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></th> |
| <td class="colLast"> |
| <div class="block">Enqueues the given DATA frame to be written to the connection.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#disconnect()">disconnect</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doStop()">doStop</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Stops the managed lifecycle beans in the reverse order they were added.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dump(java.lang.Appendable,java.lang.String)">dump</a></span>​(java.lang.Appendable out, |
| java.lang.String indent)</code></th> |
| <td class="colLast"> |
| <div class="block">Dump this object (and children) into an Appendable using the provided indent after any new lines.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#frames(org.eclipse.jetty.http2.IStream,java.util.List,org.eclipse.jetty.util.Callback)">frames</a></span>​(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| java.util.List<? 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></th> |
| <td class="colLast"> |
| <div class="block">Enqueues the given frames to be written to the connection.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytesWritten()">getBytesWritten</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEndPoint()">getEndPoint</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFlowControlStrategy()">getFlowControlStrategy</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="generator/Generator.html" title="class in org.eclipse.jetty.http2.generator">Generator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGenerator()">getGenerator</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInitialSessionRecvWindow()">getInitialSessionRecvWindow</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLastRemoteStreamId()">getLastRemoteStreamId</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxLocalStreams()">getMaxLocalStreams</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxRemoteStreams()">getMaxRemoteStreams</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRecvWindow()">getRecvWindow</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSendWindow()">getSendWindow</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStream(int)">getStream</a></span>​(int streamId)</code></th> |
| <td class="colLast"> |
| <div class="block">Retrieves the stream with the given <code>streamId</code>.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStreamCount()">getStreamCount</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStreamIdleTimeout()">getStreamIdleTimeout</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>java.util.Collection<<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStreams()">getStreams</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWriteThreshold()">getWriteThreshold</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>protected static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isClientStream(int)">isClientStream</a></span>​(int streamId)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isClosed()">isClosed</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isDisconnected()">isDisconnected</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isLocalStreamClosed(int)">isLocalStreamClosed</a></span>​(int streamId)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPushEnabled()">isPushEnabled</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRemoteStreamClosed(int)">isRemoteStreamClosed</a></span>​(int streamId)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>protected <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newStream(int,boolean)">newStream</a></span>​(int streamId, |
| boolean local)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">newStream</a></span>​(<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></th> |
| <td class="colLast"> |
| <div class="block">Sends the given HEADERS <code>frame</code> to create a new <a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newStream(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">newStream</a></span>​(<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></th> |
| <td class="colLast"> |
| <div class="block">Sends the given list of frames to create a new <a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyClose(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame,org.eclipse.jetty.util.Callback)">notifyClose</a></span>​(<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></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyFailure(org.eclipse.jetty.http2.api.Session,java.lang.Throwable,org.eclipse.jetty.util.Callback)">notifyFailure</a></span>​(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| java.lang.Throwable failure, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyHeaders(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.HeadersFrame)">notifyHeaders</a></span>​(<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></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyIdleTimeout(org.eclipse.jetty.http2.api.Session)">notifyIdleTimeout</a></span>​(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyNewStream(org.eclipse.jetty.http2.api.Stream,org.eclipse.jetty.http2.frames.HeadersFrame)">notifyNewStream</a></span>​(<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></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyPing(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.PingFrame)">notifyPing</a></span>​(<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></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifyReset(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.ResetFrame)">notifyReset</a></span>​(<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></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notifySettings(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.SettingsFrame)">notifySettings</a></span>​(<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></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onConnectionFailure(int,java.lang.String)">onConnectionFailure</a></span>​(int error, |
| java.lang.String reason)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onConnectionFailure(int,java.lang.String,org.eclipse.jetty.util.Callback)">onConnectionFailure</a></span>​(int error, |
| java.lang.String reason, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onData(org.eclipse.jetty.http2.frames.DataFrame)">onData</a></span>​(<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a> frame)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onData(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)">onData</a></span>​(<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></th> |
| <td class="colLast"> |
| <div class="block">Callback method invoked when a DATA frame is received.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onFlushed(long)">onFlushed</a></span>​(long bytes)</code></th> |
| <td class="colLast"> |
| <div class="block">Callback method invoked when bytes are flushed to the network.</div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onFrame(org.eclipse.jetty.http2.frames.Frame)">onFrame</a></span>​(<a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</a> frame)</code></th> |
| <td class="colLast"> |
| <div class="block">Callback method invoked during an HTTP/1.1 to HTTP/2 upgrade requests |
| to process the given synthetic frame.</div> |
| </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)">onGoAway</a></span>​(<a href="frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a> frame)</code></th> |
| <td class="colLast"> |
| <div class="block">This method is called when receiving a GO_AWAY from the other peer.</div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onHeaders(org.eclipse.jetty.http2.frames.HeadersFrame)">onHeaders</a></span>​(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a> frame)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onIdleTimeout()">onIdleTimeout</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">This method is invoked when the idle timeout triggers.</div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onPing(org.eclipse.jetty.http2.frames.PingFrame)">onPing</a></span>​(<a href="frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</a> frame)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onPriority(org.eclipse.jetty.http2.frames.PriorityFrame)">onPriority</a></span>​(<a href="frames/PriorityFrame.html" title="class in org.eclipse.jetty.http2.frames">PriorityFrame</a> frame)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onReset(org.eclipse.jetty.http2.frames.ResetFrame)">onReset</a></span>​(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a> frame)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onResetForUnknownStream(org.eclipse.jetty.http2.frames.ResetFrame)">onResetForUnknownStream</a></span>​(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a> frame)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onSettings(org.eclipse.jetty.http2.frames.SettingsFrame)">onSettings</a></span>​(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a> frame)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i55" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onSettings(org.eclipse.jetty.http2.frames.SettingsFrame,boolean)">onSettings</a></span>​(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a> frame, |
| boolean reply)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onShutdown()">onShutdown</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">A typical close by a remote peer involves a GO_AWAY frame followed by TCP FIN.</div> |
| </td> |
| </tr> |
| <tr id="i57" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onStreamClosed(org.eclipse.jetty.http2.IStream)">onStreamClosed</a></span>​(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i58" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onStreamFailure(int,int,java.lang.String)">onStreamFailure</a></span>​(int streamId, |
| int error, |
| java.lang.String reason)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i59" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onStreamOpened(org.eclipse.jetty.http2.IStream)">onStreamOpened</a></span>​(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i60" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onWindowUpdate(org.eclipse.jetty.http2.frames.WindowUpdateFrame)">onWindowUpdate</a></span>​(<a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a> frame)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i61" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onWindowUpdate(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)">onWindowUpdate</a></span>​(<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></th> |
| <td class="colLast"> |
| <div class="block">Callback method invoked when a WINDOW_UPDATE frame has been received.</div> |
| </td> |
| </tr> |
| <tr id="i62" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ping(org.eclipse.jetty.http2.frames.PingFrame,org.eclipse.jetty.util.Callback)">ping</a></span>​(<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></th> |
| <td class="colLast"> |
| <div class="block">Sends the given PING <code>frame</code>.</div> |
| </td> |
| </tr> |
| <tr id="i63" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#priority(org.eclipse.jetty.http2.frames.PriorityFrame,org.eclipse.jetty.util.Callback)">priority</a></span>​(<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></th> |
| <td class="colLast"> |
| <div class="block">Sends the given PRIORITY <code>frame</code>.</div> |
| </td> |
| </tr> |
| <tr id="i64" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#push(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.http2.api.Stream.Listener)">push</a></span>​(<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></th> |
| <td class="colLast"> |
| <div class="block">Enqueues the given PUSH_PROMISE frame to be written to the connection.</div> |
| </td> |
| </tr> |
| <tr id="i65" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeStream(org.eclipse.jetty.http2.IStream)">removeStream</a></span>​(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes the given <code>stream</code>.</div> |
| </td> |
| </tr> |
| <tr id="i66" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reset(org.eclipse.jetty.http2.frames.ResetFrame,org.eclipse.jetty.util.Callback)">reset</a></span>​(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i67" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInitialSessionRecvWindow(int)">setInitialSessionRecvWindow</a></span>​(int initialSessionRecvWindow)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i68" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMaxLocalStreams(int)">setMaxLocalStreams</a></span>​(int maxLocalStreams)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i69" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMaxRemoteStreams(int)">setMaxRemoteStreams</a></span>​(int maxRemoteStreams)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i70" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setStreamIdleTimeout(long)">setStreamIdleTimeout</a></span>​(long streamIdleTimeout)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i71" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#settings(org.eclipse.jetty.http2.frames.SettingsFrame,org.eclipse.jetty.util.Callback)">settings</a></span>​(<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></th> |
| <td class="colLast"> |
| <div class="block">Sends the given SETTINGS <code>frame</code> to configure the session.</div> |
| </td> |
| </tr> |
| <tr id="i72" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setWriteThreshold(int)">setWriteThreshold</a></span>​(int writeThreshold)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i73" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i74" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateRecvWindow(int)">updateRecvWindow</a></span>​(int delta)</code></th> |
| <td class="colLast"> |
| <div class="block">Updates the session receive window by the given <code>delta</code>.</div> |
| </td> |
| </tr> |
| <tr id="i75" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateSendWindow(int)">updateSendWindow</a></span>​(int delta)</code></th> |
| <td class="colLast"> |
| <div class="block">Updates the session send window by the given <code>delta</code>.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.ContainerLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class 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(org.eclipse.jetty.util.component.Container.Listener)">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#dump(java.lang.Appendable,java.lang.String,java.util.Collection...)">dump</a>, <a href="../util/component/ContainerLifeCycle.html#dump(org.eclipse.jetty.util.component.Dumpable)">dump</a>, <a href="../util/component/ContainerLifeCycle.html#dumpBeans(java.lang.Appendable,java.lang.String,java.util.Collection...)">dumpBeans</a>, <a href="../util/component/ContainerLifeCycle.html#dumpObject(java.lang.Appendable,java.lang.Object)">dumpObject</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#dumpThis(java.lang.Appendable)">dumpThis</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(org.eclipse.jetty.util.component.Container.Listener)">removeEventListener</a>, <a href="../util/component/ContainerLifeCycle.html#setBeans(java.util.Collection)">setBeans</a>, <a href="../util/component/ContainerLifeCycle.html#setStopTimeout(long)">setStopTimeout</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></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class 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#addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">addLifeCycleListener</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#getStopTimeout()">getStopTimeout</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#removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">removeLifeCycleListener</a>, <a href="../util/component/AbstractLifeCycle.html#start()">start</a>, <a href="../util/component/AbstractLifeCycle.html#stop()">stop</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Dumpable"> |
| <!-- --> |
| </a> |
| <h3>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></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Dumpable.DumpableContainer"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></h3> |
| <code><a href="../util/component/Dumpable.DumpableContainer.html#isDumpable(java.lang.Object)">isDumpable</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.http2.parser.Parser.Listener"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.jetty.http2.parser.<a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></h3> |
| <code><a href="parser/Parser.Listener.html#onPushPromise(org.eclipse.jetty.http2.frames.PushPromiseFrame)">onPushPromise</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<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)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>HTTP2Session</h4> |
| <pre>public HTTP2Session​(<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)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="doStop()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doStop</h4> |
| <pre class="methodSignature">protected void doStop() |
| throws java.lang.Exception</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></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><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getFlowControlStrategy()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFlowControlStrategy</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="The flow control strategy", |
| <a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true) |
| public <a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a> getFlowControlStrategy()</pre> |
| </li> |
| </ul> |
| <a id="getMaxLocalStreams()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxLocalStreams</h4> |
| <pre class="methodSignature">public int getMaxLocalStreams()</pre> |
| </li> |
| </ul> |
| <a id="setMaxLocalStreams(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMaxLocalStreams</h4> |
| <pre class="methodSignature">public void setMaxLocalStreams​(int maxLocalStreams)</pre> |
| </li> |
| </ul> |
| <a id="getMaxRemoteStreams()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxRemoteStreams</h4> |
| <pre class="methodSignature">public int getMaxRemoteStreams()</pre> |
| </li> |
| </ul> |
| <a id="setMaxRemoteStreams(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMaxRemoteStreams</h4> |
| <pre class="methodSignature">public void setMaxRemoteStreams​(int maxRemoteStreams)</pre> |
| </li> |
| </ul> |
| <a id="getStreamIdleTimeout()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStreamIdleTimeout</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The stream\'s idle timeout") |
| public long getStreamIdleTimeout()</pre> |
| </li> |
| </ul> |
| <a id="setStreamIdleTimeout(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setStreamIdleTimeout</h4> |
| <pre class="methodSignature">public void setStreamIdleTimeout​(long streamIdleTimeout)</pre> |
| </li> |
| </ul> |
| <a id="getInitialSessionRecvWindow()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInitialSessionRecvWindow</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The initial size of session\'s flow control receive window") |
| public int getInitialSessionRecvWindow()</pre> |
| </li> |
| </ul> |
| <a id="setInitialSessionRecvWindow(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setInitialSessionRecvWindow</h4> |
| <pre class="methodSignature">public void setInitialSessionRecvWindow​(int initialSessionRecvWindow)</pre> |
| </li> |
| </ul> |
| <a id="getWriteThreshold()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWriteThreshold</h4> |
| <pre class="methodSignature">public int getWriteThreshold()</pre> |
| </li> |
| </ul> |
| <a id="setWriteThreshold(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setWriteThreshold</h4> |
| <pre class="methodSignature">public void setWriteThreshold​(int writeThreshold)</pre> |
| </li> |
| </ul> |
| <a id="getEndPoint()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEndPoint</h4> |
| <pre class="methodSignature">public <a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> getEndPoint()</pre> |
| </li> |
| </ul> |
| <a id="getGenerator()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGenerator</h4> |
| <pre class="methodSignature">public <a href="generator/Generator.html" title="class in org.eclipse.jetty.http2.generator">Generator</a> getGenerator()</pre> |
| </li> |
| </ul> |
| <a id="getBytesWritten()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBytesWritten</h4> |
| <pre class="methodSignature">public long getBytesWritten()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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><span class="returnLabel">Returns:</span></dt> |
| <dd>the number of bytes written by this session</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onData(org.eclipse.jetty.http2.frames.DataFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onData</h4> |
| <pre class="methodSignature">public void onData​(<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a> frame)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="parser/Parser.Listener.html#onData(org.eclipse.jetty.http2.frames.DataFrame)">onData</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onData(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onData</h4> |
| <pre class="methodSignature">public void onData​(<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)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ISession.html#onData(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)">onData</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>frame</code> - the DATA frame received</dd> |
| <dd><code>callback</code> - the callback to notify when the frame has been processed</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isLocalStreamClosed(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isLocalStreamClosed</h4> |
| <pre class="methodSignature">protected boolean isLocalStreamClosed​(int streamId)</pre> |
| </li> |
| </ul> |
| <a id="isRemoteStreamClosed(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRemoteStreamClosed</h4> |
| <pre class="methodSignature">protected boolean isRemoteStreamClosed​(int streamId)</pre> |
| </li> |
| </ul> |
| <a id="onHeaders(org.eclipse.jetty.http2.frames.HeadersFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onHeaders</h4> |
| <pre class="methodSignature">public abstract void onHeaders​(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a> frame)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="parser/Parser.Listener.html#onHeaders(org.eclipse.jetty.http2.frames.HeadersFrame)">onHeaders</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onPriority(org.eclipse.jetty.http2.frames.PriorityFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onPriority</h4> |
| <pre class="methodSignature">public void onPriority​(<a href="frames/PriorityFrame.html" title="class in org.eclipse.jetty.http2.frames">PriorityFrame</a> frame)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="parser/Parser.Listener.html#onPriority(org.eclipse.jetty.http2.frames.PriorityFrame)">onPriority</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onReset(org.eclipse.jetty.http2.frames.ResetFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onReset</h4> |
| <pre class="methodSignature">public void onReset​(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a> frame)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="parser/Parser.Listener.html#onReset(org.eclipse.jetty.http2.frames.ResetFrame)">onReset</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onResetForUnknownStream(org.eclipse.jetty.http2.frames.ResetFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onResetForUnknownStream</h4> |
| <pre class="methodSignature">protected void onResetForUnknownStream​(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a> frame)</pre> |
| </li> |
| </ul> |
| <a id="onSettings(org.eclipse.jetty.http2.frames.SettingsFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onSettings</h4> |
| <pre class="methodSignature">public void onSettings​(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a> frame)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="parser/Parser.Listener.html#onSettings(org.eclipse.jetty.http2.frames.SettingsFrame)">onSettings</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onSettings(org.eclipse.jetty.http2.frames.SettingsFrame,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onSettings</h4> |
| <pre class="methodSignature">public void onSettings​(<a href="frames/SettingsFrame.html" title="class in org.eclipse.jetty.http2.frames">SettingsFrame</a> frame, |
| boolean reply)</pre> |
| </li> |
| </ul> |
| <a id="onPing(org.eclipse.jetty.http2.frames.PingFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onPing</h4> |
| <pre class="methodSignature">public void onPing​(<a href="frames/PingFrame.html" title="class in org.eclipse.jetty.http2.frames">PingFrame</a> frame)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="parser/Parser.Listener.html#onPing(org.eclipse.jetty.http2.frames.PingFrame)">onPing</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onGoAway</h4> |
| <pre class="methodSignature">public void onGoAway​(<a href="frames/GoAwayFrame.html" title="class in org.eclipse.jetty.http2.frames">GoAwayFrame</a> frame)</pre> |
| <div class="block">This method is called when receiving a GO_AWAY from the other peer. |
| We check the close state to act appropriately: |
| <ul> |
| <li>NOT_CLOSED: we move to REMOTELY_CLOSED and queue a disconnect, so |
| that the content of the queue is written, and then the connection |
| closed. We notify the application after being terminated. |
| See <code>HTTP2Session.ControlEntry#succeeded()</code></li> |
| <li>In all other cases, we do nothing since other methods are already |
| performing their actions.</li> |
| </ul></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="parser/Parser.Listener.html#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)">onGoAway</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>frame</code> - the GO_AWAY frame that has been received.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)"><code>close(int, String, Callback)</code></a>, |
| <a href="#onShutdown()"><code>onShutdown()</code></a>, |
| <a href="#onIdleTimeout()"><code>onIdleTimeout()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onWindowUpdate(org.eclipse.jetty.http2.frames.WindowUpdateFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onWindowUpdate</h4> |
| <pre class="methodSignature">public void onWindowUpdate​(<a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a> frame)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="parser/Parser.Listener.html#onWindowUpdate(org.eclipse.jetty.http2.frames.WindowUpdateFrame)">onWindowUpdate</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onStreamFailure(int,int,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onStreamFailure</h4> |
| <pre class="methodSignature">public void onStreamFailure​(int streamId, |
| int error, |
| java.lang.String reason)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="parser/Parser.Listener.html#onStreamFailure(int,int,java.lang.String)">onStreamFailure</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onConnectionFailure(int,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onConnectionFailure</h4> |
| <pre class="methodSignature">public void onConnectionFailure​(int error, |
| java.lang.String reason)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="parser/Parser.Listener.html#onConnectionFailure(int,java.lang.String)">onConnectionFailure</a></code> in interface <code><a href="parser/Parser.Listener.html" title="interface in org.eclipse.jetty.http2.parser">Parser.Listener</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onConnectionFailure(int,java.lang.String,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onConnectionFailure</h4> |
| <pre class="methodSignature">protected void onConnectionFailure​(int error, |
| java.lang.String reason, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</pre> |
| </li> |
| </ul> |
| <a id="abort(java.lang.Throwable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>abort</h4> |
| <pre class="methodSignature">protected void abort​(java.lang.Throwable failure)</pre> |
| </li> |
| </ul> |
| <a id="newStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newStream</h4> |
| <pre class="methodSignature">public void newStream​(<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)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Session.html#newStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">newStream</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>frame</code> - the HEADERS frame containing the HTTP headers</dd> |
| <dd><code>promise</code> - the promise that gets notified of the stream creation</dd> |
| <dd><code>listener</code> - the listener that gets notified of stream events</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="newStream(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newStream</h4> |
| <pre class="methodSignature">public void newStream​(<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)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ISession.html#newStream(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">newStream</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>frames</code> - the list of frames to send</dd> |
| <dd><code>promise</code> - the promise that gets notified of the stream creation</dd> |
| <dd><code>listener</code> - the listener that gets notified of stream events</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="priority(org.eclipse.jetty.http2.frames.PriorityFrame,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>priority</h4> |
| <pre class="methodSignature">public int priority​(<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)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Session.html#priority(org.eclipse.jetty.http2.frames.PriorityFrame,org.eclipse.jetty.util.Callback)">priority</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>frame</code> - the PRIORITY frame to send</dd> |
| <dd><code>callback</code> - the callback that gets notified when the frame has been sent</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the new stream id generated by the PRIORITY frame, or the stream id |
| that it is already referencing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="push(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.http2.api.Stream.Listener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>push</h4> |
| <pre class="methodSignature">public void push​(<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)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ISession.html#push(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.http2.api.Stream.Listener)">push</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>stream</code> - the stream associated to the pushed stream</dd> |
| <dd><code>promise</code> - the promise that gets notified of the pushed stream creation</dd> |
| <dd><code>frame</code> - the PUSH_PROMISE frame to enqueue</dd> |
| <dd><code>listener</code> - the listener that gets notified of pushed stream events</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="settings(org.eclipse.jetty.http2.frames.SettingsFrame,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>settings</h4> |
| <pre class="methodSignature">public void settings​(<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)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Session.html#settings(org.eclipse.jetty.http2.frames.SettingsFrame,org.eclipse.jetty.util.Callback)">settings</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>frame</code> - the SETTINGS frame to send</dd> |
| <dd><code>callback</code> - the callback that gets notified when the frame has been sent</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ping(org.eclipse.jetty.http2.frames.PingFrame,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ping</h4> |
| <pre class="methodSignature">public void ping​(<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)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Session.html#ping(org.eclipse.jetty.http2.frames.PingFrame,org.eclipse.jetty.util.Callback)">ping</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>frame</code> - the PING frame to send</dd> |
| <dd><code>callback</code> - the callback that gets notified when the frame has been sent</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="reset(org.eclipse.jetty.http2.frames.ResetFrame,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reset</h4> |
| <pre class="methodSignature">protected void reset​(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a> frame, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</pre> |
| </li> |
| </ul> |
| <a id="close(int,java.lang.String,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre class="methodSignature">public boolean close​(int error, |
| java.lang.String reason, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</pre> |
| <div class="block">Invoked internally and by applications to send a GO_AWAY frame to the |
| other peer. We check the close state to act appropriately: |
| <ul> |
| <li>NOT_CLOSED: we move to LOCALLY_CLOSED and queue a GO_AWAY. When the |
| GO_AWAY has been written, it will only cause the output to be shut |
| down (not the connection closed), so that the application can still |
| read frames arriving from the other peer. |
| Ideally the other peer will notice the GO_AWAY and close the connection. |
| When that happen, we close the connection from <a href="#onShutdown()"><code>onShutdown()</code></a>. |
| Otherwise, the idle timeout mechanism will close the connection, see |
| <a href="#onIdleTimeout()"><code>onIdleTimeout()</code></a>.</li> |
| <li>In all other cases, we do nothing since other methods are already |
| performing their actions.</li> |
| </ul></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Session.html#close(int,java.lang.String,org.eclipse.jetty.util.Callback)">close</a></code> in interface <code><a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>error</code> - the error code</dd> |
| <dd><code>reason</code> - the reason</dd> |
| <dd><code>callback</code> - the callback to invoke when the operation is complete</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the frame is being sent, false if the session was already closed</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)"><code>onGoAway(GoAwayFrame)</code></a>, |
| <a href="#onShutdown()"><code>onShutdown()</code></a>, |
| <a href="#onIdleTimeout()"><code>onIdleTimeout()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isClosed()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isClosed</h4> |
| <pre class="methodSignature">public boolean isClosed()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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><span class="returnLabel">Returns:</span></dt> |
| <dd>whether the session is not open</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="frames(org.eclipse.jetty.http2.IStream,java.util.List,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>frames</h4> |
| <pre class="methodSignature">public void frames​(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| java.util.List<? 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)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ISession.html#frames(org.eclipse.jetty.http2.IStream,java.util.List,org.eclipse.jetty.util.Callback)">frames</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>stream</code> - the stream the frames belong to</dd> |
| <dd><code>frames</code> - the frames to enqueue</dd> |
| <dd><code>callback</code> - the callback that gets notified when the frames have been sent</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="data(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Callback,org.eclipse.jetty.http2.frames.DataFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>data</h4> |
| <pre class="methodSignature">public void data​(<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)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ISession.html#data(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Callback,org.eclipse.jetty.http2.frames.DataFrame)">data</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>stream</code> - the stream the data frame belongs to</dd> |
| <dd><code>callback</code> - the callback that gets notified when the frame has been sent</dd> |
| <dd><code>frame</code> - the DATA frame to send</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createLocalStream(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createLocalStream</h4> |
| <pre class="methodSignature">protected <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> createLocalStream​(int streamId)</pre> |
| </li> |
| </ul> |
| <a id="createRemoteStream(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createRemoteStream</h4> |
| <pre class="methodSignature">protected <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> createRemoteStream​(int streamId)</pre> |
| </li> |
| </ul> |
| <a id="newStream(int,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newStream</h4> |
| <pre class="methodSignature">protected <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> newStream​(int streamId, |
| boolean local)</pre> |
| </li> |
| </ul> |
| <a id="removeStream(org.eclipse.jetty.http2.IStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeStream</h4> |
| <pre class="methodSignature">public void removeStream​(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>stream</code> - the stream to remove</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getStreams()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStreams</h4> |
| <pre class="methodSignature">public java.util.Collection<<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>> getStreams()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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><span class="returnLabel">Returns:</span></dt> |
| <dd>a snapshot of all the streams currently belonging to this session</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getStreamCount()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStreamCount</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The number of active streams") |
| public int getStreamCount()</pre> |
| </li> |
| </ul> |
| <a id="getStream(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStream</h4> |
| <pre class="methodSignature">public <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> getStream​(int streamId)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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><span class="overrideSpecifyLabel">Specified by:</span></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><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>streamId</code> - the stream id of the stream looked for</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the stream with the given id, or null if no such stream exist</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getSendWindow()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSendWindow</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="The flow control send window", |
| <a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true) |
| public int getSendWindow()</pre> |
| </li> |
| </ul> |
| <a id="getRecvWindow()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRecvWindow</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="The flow control receive window", |
| <a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true) |
| public int getRecvWindow()</pre> |
| </li> |
| </ul> |
| <a id="updateSendWindow(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateSendWindow</h4> |
| <pre class="methodSignature">public int updateSendWindow​(int delta)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>delta</code> - the delta value (positive or negative) to add to the session send window</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the previous value of the session send window</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="updateRecvWindow(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateRecvWindow</h4> |
| <pre class="methodSignature">public int updateRecvWindow​(int delta)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>delta</code> - the delta value (positive or negative) to add to the session receive window</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the previous value of the session receive window</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onWindowUpdate(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onWindowUpdate</h4> |
| <pre class="methodSignature">public void onWindowUpdate​(<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)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="ISession.html#onWindowUpdate(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)">onWindowUpdate</a></code> in interface <code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>stream</code> - the stream the window update belongs to, or null if the window update belongs to the session</dd> |
| <dd><code>frame</code> - the WINDOW_UPDATE frame received</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isPushEnabled()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isPushEnabled</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="Whether HTTP/2 push is enabled", |
| <a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true) |
| public boolean isPushEnabled()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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><span class="returnLabel">Returns:</span></dt> |
| <dd>whether the push functionality is enabled</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onShutdown()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onShutdown</h4> |
| <pre class="methodSignature">public void onShutdown()</pre> |
| <div class="block">A typical close by a remote peer involves a GO_AWAY frame followed by TCP FIN. |
| This method is invoked when the TCP FIN is received, or when an exception is |
| thrown while reading, and we check the close state to act appropriately: |
| <ul> |
| <li>NOT_CLOSED: means that the remote peer did not send a GO_AWAY (abrupt close) |
| or there was an exception while reading, and therefore we terminate.</li> |
| <li>LOCALLY_CLOSED: we have sent the GO_AWAY to the remote peer, which received |
| it and closed the connection; we queue a disconnect to close the connection |
| on the local side. |
| The GO_AWAY just shutdown the output, so we need this step to make sure the |
| connection is closed. See <a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)"><code>close(int, String, Callback)</code></a>.</li> |
| <li>REMOTELY_CLOSED: we received the GO_AWAY, and the TCP FIN afterwards, so we |
| do nothing since the handling of the GO_AWAY will take care of closing the |
| connection. See <a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)"><code>onGoAway(GoAwayFrame)</code></a>.</li> |
| </ul></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)"><code>onGoAway(GoAwayFrame)</code></a>, |
| <a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)"><code>close(int, String, Callback)</code></a>, |
| <a href="#onIdleTimeout()"><code>onIdleTimeout()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onIdleTimeout()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onIdleTimeout</h4> |
| <pre class="methodSignature">public boolean onIdleTimeout()</pre> |
| <div class="block">This method is invoked when the idle timeout triggers. We check the close state |
| to act appropriately: |
| <ul> |
| <li>NOT_CLOSED: it's a real idle timeout, we just initiate a close, see |
| <a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)"><code>close(int, String, Callback)</code></a>.</li> |
| <li>LOCALLY_CLOSED: we have sent a GO_AWAY and only shutdown the output, but the |
| other peer did not close the connection so we never received the TCP FIN, and |
| therefore we terminate.</li> |
| <li>REMOTELY_CLOSED: the other peer sent us a GO_AWAY, we should have queued a |
| disconnect, but for some reason it was not processed (for example, queue was |
| stuck because of TCP congestion), therefore we terminate. |
| See <a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)"><code>onGoAway(GoAwayFrame)</code></a>.</li> |
| </ul></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the session should be closed, false otherwise</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#onGoAway(org.eclipse.jetty.http2.frames.GoAwayFrame)"><code>onGoAway(GoAwayFrame)</code></a>, |
| <a href="#close(int,java.lang.String,org.eclipse.jetty.util.Callback)"><code>close(int, String, Callback)</code></a>, |
| <a href="#onShutdown()"><code>onShutdown()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onFrame(org.eclipse.jetty.http2.frames.Frame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onFrame</h4> |
| <pre class="methodSignature">public void onFrame​(<a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</a> frame)</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>frame</code> - the synthetic frame to process</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onStreamOpened(org.eclipse.jetty.http2.IStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onStreamOpened</h4> |
| <pre class="methodSignature">protected void onStreamOpened​(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</pre> |
| </li> |
| </ul> |
| <a id="onStreamClosed(org.eclipse.jetty.http2.IStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onStreamClosed</h4> |
| <pre class="methodSignature">protected void onStreamClosed​(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</pre> |
| </li> |
| </ul> |
| <a id="onFlushed(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onFlushed</h4> |
| <pre class="methodSignature">public void onFlushed​(long bytes) |
| throws java.io.IOException</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></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><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>bytes</code> - the number of bytes flushed to the network</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - if the flush should fail</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="disconnect()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>disconnect</h4> |
| <pre class="methodSignature">public void disconnect()</pre> |
| </li> |
| </ul> |
| <a id="isDisconnected()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDisconnected</h4> |
| <pre class="methodSignature">public boolean isDisconnected()</pre> |
| </li> |
| </ul> |
| <a id="getLastRemoteStreamId()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLastRemoteStreamId</h4> |
| <pre class="methodSignature">protected int getLastRemoteStreamId()</pre> |
| </li> |
| </ul> |
| <a id="notifyNewStream(org.eclipse.jetty.http2.api.Stream,org.eclipse.jetty.http2.frames.HeadersFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>notifyNewStream</h4> |
| <pre class="methodSignature">protected <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a> notifyNewStream​(<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)</pre> |
| </li> |
| </ul> |
| <a id="notifySettings(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.SettingsFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>notifySettings</h4> |
| <pre class="methodSignature">protected void notifySettings​(<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)</pre> |
| </li> |
| </ul> |
| <a id="notifyPing(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.PingFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>notifyPing</h4> |
| <pre class="methodSignature">protected void notifyPing​(<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)</pre> |
| </li> |
| </ul> |
| <a id="notifyReset(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.ResetFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>notifyReset</h4> |
| <pre class="methodSignature">protected void notifyReset​(<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)</pre> |
| </li> |
| </ul> |
| <a id="notifyClose(org.eclipse.jetty.http2.api.Session,org.eclipse.jetty.http2.frames.GoAwayFrame,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>notifyClose</h4> |
| <pre class="methodSignature">protected void notifyClose​(<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)</pre> |
| </li> |
| </ul> |
| <a id="notifyIdleTimeout(org.eclipse.jetty.http2.api.Session)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>notifyIdleTimeout</h4> |
| <pre class="methodSignature">protected boolean notifyIdleTimeout​(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session)</pre> |
| </li> |
| </ul> |
| <a id="notifyFailure(org.eclipse.jetty.http2.api.Session,java.lang.Throwable,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>notifyFailure</h4> |
| <pre class="methodSignature">protected void notifyFailure​(<a href="api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a> session, |
| java.lang.Throwable failure, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</pre> |
| </li> |
| </ul> |
| <a id="notifyHeaders(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.HeadersFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>notifyHeaders</h4> |
| <pre class="methodSignature">protected void notifyHeaders​(<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)</pre> |
| </li> |
| </ul> |
| <a id="isClientStream(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isClientStream</h4> |
| <pre class="methodSignature">protected static boolean isClientStream​(int streamId)</pre> |
| </li> |
| </ul> |
| <a id="dump(java.lang.Appendable,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dump</h4> |
| <pre class="methodSignature">public void dump​(java.lang.Appendable out, |
| java.lang.String indent) |
| throws java.io.IOException</pre> |
| <div class="block"><span class="descfrmTypeLabel">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> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../util/component/Dumpable.html#dump(java.lang.Appendable,java.lang.String)">dump</a></code> in interface <code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable,java.lang.String)">dump</a></code> in class <code><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>out</code> - The appendable to dump to</dd> |
| <dd><code>indent</code> - The indent to apply after any new lines.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - if unable to write to Appendable</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre class="methodSignature">public java.lang.String toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></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> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/HTTP2Session.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </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="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 1995–2020 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |