| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.6) on Fri May 22 12:37:48 EDT 2020 --> |
| <title>HTTP2Stream (Jetty :: Project 9.4.29.v20200521 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2020-05-22"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="HTTP2Stream (Jetty :: Project 9.4.29.v20200521 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":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = false; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/HTTP2Stream.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 HTTP2Stream" class="title">Class HTTP2Stream</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../io/IdleTimeout.html" title="class in org.eclipse.jetty.io">org.eclipse.jetty.io.IdleTimeout</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.http2.HTTP2Stream</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code>java.io.Closeable</code>, <code>java.lang.AutoCloseable</code>, <code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code>, <code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code>, <code><a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a></code>, <code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code>, <code><a href="../util/thread/Invocable.html" title="interface in org.eclipse.jetty.util.thread">Invocable</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">HTTP2Stream</span> |
| extends <a href="../io/IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a> |
| implements <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>, <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>, <a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</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.Callback"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.util.<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a></h3> |
| <code><a href="../util/Callback.Completable.html" title="class in org.eclipse.jetty.util">Callback.Completable</a>, <a href="../util/Callback.Completing.html" title="class in org.eclipse.jetty.util">Callback.Completing</a>, <a href="../util/Callback.InvocableCallback.html" title="interface in org.eclipse.jetty.util">Callback.InvocableCallback</a>, <a href="../util/Callback.Nested.html" title="class in org.eclipse.jetty.util">Callback.Nested</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.thread.Invocable"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.<a href="../util/thread/Invocable.html" title="interface in org.eclipse.jetty.util.thread">Invocable</a></h3> |
| <code><a href="../util/thread/Invocable.InvocationType.html" title="enum in org.eclipse.jetty.util.thread">Invocable.InvocationType</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.http2.api.Stream"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.api.<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></h3> |
| <code><a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.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.Callback"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.eclipse.jetty.util.<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a></h3> |
| <code><a href="../util/Callback.html#NOOP">NOOP</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> |
| <ul class="blockList"> |
| <li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.util.thread.Invocable"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.eclipse.jetty.util.thread.<a href="../util/thread/Invocable.html" title="interface in org.eclipse.jetty.util.thread">Invocable</a></h3> |
| <code><a href="../util/thread/Invocable.html#__nonBlocking">__nonBlocking</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.http2.ISession,int,boolean)">HTTP2Stream</a></span>​(<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a> scheduler, |
| <a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a> session, |
| int streamId, |
| boolean local)</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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#close()">close</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Forcibly closes this stream.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#data(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)">data</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">Sends the given DATA <code>frame</code>.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dump()">dump</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" 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="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#failed(java.lang.Throwable)">failed</a></span>​(java.lang.Throwable x)</code></th> |
| <td class="colLast"> |
| <div class="block">Callback invoked when the operation fails.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>java.lang.Object</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAttachment()">getAttachment</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>java.lang.Object</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAttribute(java.lang.String)">getAttribute</a></span>​(java.lang.String key)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getId()">getId</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><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="#getListener()">getListener</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" 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="i10" 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="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSession()">getSession</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#headers(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Callback)">headers</a></span>​(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</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 HEADERS <code>frame</code> representing an HTTP response.</div> |
| </td> |
| </tr> |
| <tr id="i13" 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="i14" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isLocal()">isLocal</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isLocallyClosed()">isLocallyClosed</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isOpen()">isOpen</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">This abstract method should be called to check if idle timeouts |
| should still be checked.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRemotelyClosed()">isRemotelyClosed</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isReset()">isReset</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onClose()">onClose</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onIdleExpired(java.util.concurrent.TimeoutException)">onIdleExpired</a></span>​(java.util.concurrent.TimeoutException timeout)</code></th> |
| <td class="colLast"> |
| <div class="block">This abstract method is called when the idle timeout has expired.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#process(org.eclipse.jetty.http2.frames.Frame,org.eclipse.jetty.util.Callback)">process</a></span>​(<a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</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">Processes the given <code>frame</code>, belonging to this stream.</div> |
| </td> |
| </tr> |
| <tr id="i22" 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.frames.PushPromiseFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">push</a></span>​(<a href="frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</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 PUSH_PROMISE <code>frame</code>.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>java.lang.Object</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeAttribute(java.lang.String)">removeAttribute</a></span>​(java.lang.String key)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>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"> |
| <div class="block">Sends the given RST_STREAM <code>frame</code>.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAttachment(java.lang.Object)">setAttachment</a></span>​(java.lang.Object attachment)</code></th> |
| <td class="colLast"> |
| <div class="block">Attaches the given object to this stream for later retrieval.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAttribute(java.lang.String,java.lang.Object)">setAttribute</a></span>​(java.lang.String key, |
| java.lang.Object value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setListener(org.eclipse.jetty.http2.api.Stream.Listener)">setListener</a></span>​(<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a> listener)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#succeeded()">succeeded</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Callback invoked when the operation completes.</div> |
| </td> |
| </tr> |
| <tr id="i29" 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="i30" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateClose(boolean,org.eclipse.jetty.http2.CloseState.Event)">updateClose</a></span>​(boolean update, |
| <a href="CloseState.Event.html" title="enum in org.eclipse.jetty.http2">CloseState.Event</a> event)</code></th> |
| <td class="colLast"> |
| <div class="block">Updates the close state of this stream.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateRecvWindow(int)">updateRecvWindow</a></span>​(int delta)</code></th> |
| <td class="colLast"> |
| <div class="block">Updates the stream receive window by the given <code>delta</code>.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateSendWindow(int)">updateSendWindow</a></span>​(int delta)</code></th> |
| <td class="colLast"> |
| <div class="block">Updates the stream 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.io.IdleTimeout"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.io.<a href="../io/IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a></h3> |
| <code><a href="../io/IdleTimeout.html#checkIdleTimeout()">checkIdleTimeout</a>, <a href="../io/IdleTimeout.html#getIdleFor()">getIdleFor</a>, <a href="../io/IdleTimeout.html#getIdleTimeout()">getIdleTimeout</a>, <a href="../io/IdleTimeout.html#getScheduler()">getScheduler</a>, <a href="../io/IdleTimeout.html#notIdle()">notIdle</a>, <a href="../io/IdleTimeout.html#onOpen()">onOpen</a>, <a href="../io/IdleTimeout.html#setIdleTimeout(long)">setIdleTimeout</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.thread.Invocable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.jetty.util.thread.<a href="../util/thread/Invocable.html" title="interface in org.eclipse.jetty.util.thread">Invocable</a></h3> |
| <code><a href="../util/thread/Invocable.html#getInvocationType()">getInvocationType</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.http2.IStream"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.jetty.http2.<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></h3> |
| <code><a href="IStream.html#notIdle()">notIdle</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.http2.api.Stream"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.jetty.http2.api.<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></h3> |
| <code><a href="api/Stream.html#getIdleTimeout()">getIdleTimeout</a>, <a href="api/Stream.html#setIdleTimeout(long)">setIdleTimeout</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.http2.ISession,int,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>HTTP2Stream</h4> |
| <pre>public HTTP2Stream​(<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a> scheduler, |
| <a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a> session, |
| int streamId, |
| boolean local)</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="getId()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getId</h4> |
| <pre class="methodSignature">public int getId()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Stream.html#getId()">getId</a></code> in interface <code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the stream unique id</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getAttachment()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAttachment</h4> |
| <pre class="methodSignature">public java.lang.Object getAttachment()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IStream.html#getAttachment()">getAttachment</a></code> in interface <code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the object attached to this stream</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="IStream.html#setAttachment(java.lang.Object)"><code>IStream.setAttachment(Object)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setAttachment(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAttachment</h4> |
| <pre class="methodSignature">public void setAttachment​(java.lang.Object attachment)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="IStream.html#setAttachment(java.lang.Object)">IStream</a></code></span></div> |
| <div class="block">Attaches the given object to this stream for later retrieval.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IStream.html#setAttachment(java.lang.Object)">setAttachment</a></code> in interface <code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>attachment</code> - the object to attach to this stream</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isLocal()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isLocal</h4> |
| <pre class="methodSignature">public boolean isLocal()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IStream.html#isLocal()">isLocal</a></code> in interface <code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether this stream is local or remote</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getSession()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSession</h4> |
| <pre class="methodSignature">public <a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a> getSession()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IStream.html#getSession()">getSession</a></code> in interface <code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Stream.html#getSession()">getSession</a></code> in interface <code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the session this stream is associated to</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="headers(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>headers</h4> |
| <pre class="methodSignature">public void headers​(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</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/Stream.html#headers(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Callback)">Stream</a></code></span></div> |
| <div class="block"><p>Sends the given HEADERS <code>frame</code> representing an HTTP response.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Stream.html#headers(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Callback)">headers</a></code> in interface <code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>frame</code> - the HEADERS 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="push(org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.util.Promise,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="frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</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/Stream.html#push(org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">Stream</a></code></span></div> |
| <div class="block"><p>Sends the given PUSH_PROMISE <code>frame</code>.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Stream.html#push(org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">push</a></code> in interface <code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>frame</code> - the PUSH_PROMISE frame to send</dd> |
| <dd><code>promise</code> - the promise that gets notified of the pushed stream creation</dd> |
| <dd><code>listener</code> - the listener that gets notified of stream events</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="data(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>data</h4> |
| <pre class="methodSignature">public void data​(<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="api/Stream.html#data(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)">Stream</a></code></span></div> |
| <div class="block"><p>Sends the given DATA <code>frame</code>.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Stream.html#data(org.eclipse.jetty.http2.frames.DataFrame,org.eclipse.jetty.util.Callback)">data</a></code> in interface <code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>frame</code> - the DATA 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">public 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> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="api/Stream.html#reset(org.eclipse.jetty.http2.frames.ResetFrame,org.eclipse.jetty.util.Callback)">Stream</a></code></span></div> |
| <div class="block"><p>Sends the given RST_STREAM <code>frame</code>.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Stream.html#reset(org.eclipse.jetty.http2.frames.ResetFrame,org.eclipse.jetty.util.Callback)">reset</a></code> in interface <code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>frame</code> - the RST_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="getAttribute(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAttribute</h4> |
| <pre class="methodSignature">public java.lang.Object getAttribute​(java.lang.String key)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Stream.html#getAttribute(java.lang.String)">getAttribute</a></code> in interface <code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the attribute key</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an arbitrary object associated with the given key to this stream |
| or null if no object can be found for the given key.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="api/Stream.html#setAttribute(java.lang.String,java.lang.Object)"><code>Stream.setAttribute(String, Object)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setAttribute(java.lang.String,java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAttribute</h4> |
| <pre class="methodSignature">public void setAttribute​(java.lang.String key, |
| java.lang.Object value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Stream.html#setAttribute(java.lang.String,java.lang.Object)">setAttribute</a></code> in interface <code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the attribute key</dd> |
| <dd><code>value</code> - an arbitrary object to associate with the given key to this stream</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="api/Stream.html#getAttribute(java.lang.String)"><code>Stream.getAttribute(String)</code></a>, |
| <a href="api/Stream.html#removeAttribute(java.lang.String)"><code>Stream.removeAttribute(String)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="removeAttribute(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAttribute</h4> |
| <pre class="methodSignature">public java.lang.Object removeAttribute​(java.lang.String key)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Stream.html#removeAttribute(java.lang.String)">removeAttribute</a></code> in interface <code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the attribute key</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the arbitrary object associated with the given key to this stream</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="api/Stream.html#setAttribute(java.lang.String,java.lang.Object)"><code>Stream.setAttribute(String, Object)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isReset()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isReset</h4> |
| <pre class="methodSignature">public boolean isReset()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="api/Stream.html#isReset()">isReset</a></code> in interface <code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether this stream has been reset</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/Stream.html#isClosed()">isClosed</a></code> in interface <code><a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether this stream is closed, both locally and remotely.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isRemotelyClosed()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRemotelyClosed</h4> |
| <pre class="methodSignature">public boolean isRemotelyClosed()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IStream.html#isRemotelyClosed()">isRemotelyClosed</a></code> in interface <code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether the stream is closed remotely.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="api/Stream.html#isClosed()"><code>Stream.isClosed()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isLocallyClosed()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isLocallyClosed</h4> |
| <pre class="methodSignature">public boolean isLocallyClosed()</pre> |
| </li> |
| </ul> |
| <a id="isOpen()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isOpen</h4> |
| <pre class="methodSignature">public boolean isOpen()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../io/IdleTimeout.html#isOpen()">IdleTimeout</a></code></span></div> |
| <div class="block">This abstract method should be called to check if idle timeouts |
| should still be checked.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../io/IdleTimeout.html#isOpen()">isOpen</a></code> in class <code><a href="../io/IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if the entity monitored should still be checked for idle timeouts</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onIdleExpired(java.util.concurrent.TimeoutException)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onIdleExpired</h4> |
| <pre class="methodSignature">protected void onIdleExpired​(java.util.concurrent.TimeoutException timeout)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../io/IdleTimeout.html#onIdleExpired(java.util.concurrent.TimeoutException)">IdleTimeout</a></code></span></div> |
| <div class="block">This abstract method is called when the idle timeout has expired.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../io/IdleTimeout.html#onIdleExpired(java.util.concurrent.TimeoutException)">onIdleExpired</a></code> in class <code><a href="../io/IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>timeout</code> - a TimeoutException</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getListener()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getListener</h4> |
| <pre class="methodSignature">public <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a> getListener()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IStream.html#getListener()">getListener</a></code> in interface <code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream.Listener</code></a> associated with this stream</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="IStream.html#setListener(org.eclipse.jetty.http2.api.Stream.Listener)"><code>IStream.setListener(Stream.Listener)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setListener(org.eclipse.jetty.http2.api.Stream.Listener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setListener</h4> |
| <pre class="methodSignature">public void setListener​(<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a> listener)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IStream.html#setListener(org.eclipse.jetty.http2.api.Stream.Listener)">setListener</a></code> in interface <code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the <a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream.Listener</code></a> associated with this stream</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="IStream.html#getListener()"><code>IStream.getListener()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="process(org.eclipse.jetty.http2.frames.Frame,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>process</h4> |
| <pre class="methodSignature">public void process​(<a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</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="IStream.html#process(org.eclipse.jetty.http2.frames.Frame,org.eclipse.jetty.util.Callback)">IStream</a></code></span></div> |
| <div class="block"><p>Processes the given <code>frame</code>, belonging to this stream.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IStream.html#process(org.eclipse.jetty.http2.frames.Frame,org.eclipse.jetty.util.Callback)">process</a></code> in interface <code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>frame</code> - the frame to process</dd> |
| <dd><code>callback</code> - the callback to complete when frame has been processed</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="updateClose(boolean,org.eclipse.jetty.http2.CloseState.Event)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateClose</h4> |
| <pre class="methodSignature">public boolean updateClose​(boolean update, |
| <a href="CloseState.Event.html" title="enum in org.eclipse.jetty.http2">CloseState.Event</a> event)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="IStream.html#updateClose(boolean,org.eclipse.jetty.http2.CloseState.Event)">IStream</a></code></span></div> |
| <div class="block"><p>Updates the close state of this stream.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IStream.html#updateClose(boolean,org.eclipse.jetty.http2.CloseState.Event)">updateClose</a></code> in interface <code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>update</code> - whether to update the close state</dd> |
| <dd><code>event</code> - the event that caused the close state update</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether the stream has been fully closed by this invocation</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getSendWindow()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSendWindow</h4> |
| <pre class="methodSignature">public int getSendWindow()</pre> |
| </li> |
| </ul> |
| <a id="getRecvWindow()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRecvWindow</h4> |
| <pre class="methodSignature">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="IStream.html#updateSendWindow(int)">IStream</a></code></span></div> |
| <div class="block"><p>Updates the stream send window by the given <code>delta</code>.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IStream.html#updateSendWindow(int)">updateSendWindow</a></code> in interface <code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>delta</code> - the delta value (positive or negative) to add to the stream send window</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the previous value of the stream 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="IStream.html#updateRecvWindow(int)">IStream</a></code></span></div> |
| <div class="block"><p>Updates the stream receive window by the given <code>delta</code>.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IStream.html#updateRecvWindow(int)">updateRecvWindow</a></code> in interface <code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>delta</code> - the delta value (positive or negative) to add to the stream receive window</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the previous value of the stream receive window</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="close()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre class="methodSignature">public void close()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="IStream.html#close()">IStream</a></code></span></div> |
| <div class="block"><p>Forcibly closes this stream.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>close</code> in interface <code>java.lang.AutoCloseable</code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>close</code> in interface <code>java.io.Closeable</code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IStream.html#close()">close</a></code> in interface <code><a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onClose()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onClose</h4> |
| <pre class="methodSignature">public void onClose()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../io/IdleTimeout.html#onClose()">onClose</a></code> in class <code><a href="../io/IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="succeeded()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>succeeded</h4> |
| <pre class="methodSignature">public void succeeded()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../util/Callback.html#succeeded()">Callback</a></code></span></div> |
| <div class="block"><p>Callback invoked when the operation completes.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../util/Callback.html#succeeded()">succeeded</a></code> in interface <code><a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../util/Callback.html#failed(java.lang.Throwable)"><code>Callback.failed(Throwable)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="failed(java.lang.Throwable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>failed</h4> |
| <pre class="methodSignature">public void failed​(java.lang.Throwable x)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../util/Callback.html#failed(java.lang.Throwable)">Callback</a></code></span></div> |
| <div class="block"><p>Callback invoked when the operation fails.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../util/Callback.html#failed(java.lang.Throwable)">failed</a></code> in interface <code><a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - the reason for the operation failure</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="dump()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dump</h4> |
| <pre class="methodSignature">public java.lang.String dump()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../util/component/Dumpable.html#dump()">dump</a></code> in interface <code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code></dd> |
| </dl> |
| </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="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>toString</code> in class <code>java.lang.Object</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/HTTP2Stream.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> |