blob: 78123bb1ea8d2b97155ace0f4ffc868623d253ee [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.10) on Fri Feb 26 09:50:23 CST 2021 -->
<title>HTTP2Stream (Jetty :: Project 9.4.38.v20210224 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-02-26">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="HTTP2Stream (Jetty :: Project 9.4.38.v20210224 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,"i33":10,"i34":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&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.eclipse.jetty.http2</a></div>
<h2 title="Class 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/Attachable.html" title="interface in org.eclipse.jetty.util">Attachable</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&nbsp;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.component.Dumpable">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3>
<code><a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.thread.Invocable">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;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.IStream">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.http2.<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></h3>
<code><a href="IStream.FrameList.html" title="class in org.eclipse.jetty.http2">IStream.FrameList</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&nbsp;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&nbsp;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&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3>
<code><a href="../util/component/Dumpable.html#KEY">KEY</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.util.thread.Invocable">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;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">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.util.thread.Scheduler,org.eclipse.jetty.http2.ISession,int,boolean)">HTTP2Stream</a></span>&#8203;(<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a>&nbsp;scheduler,
<a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a>&nbsp;session,
int&nbsp;streamId,
boolean&nbsp;local)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>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>&#8203;(<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a>&nbsp;frame,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">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">&nbsp;</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>&#8203;(java.lang.Appendable&nbsp;out,
java.lang.String&nbsp;indent)</code></th>
<td class="colLast">
<div class="block">Dump this object (and children) into an Appendable using the provided indent after any new lines.</div>
</td>
</tr>
<tr id="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>&#8203;(java.lang.Throwable&nbsp;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">&nbsp;</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>&#8203;(java.lang.String&nbsp;key)</code></th>
<td class="colLast">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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>&#8203;(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Sends the given HEADERS <code>frame</code>.</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isResetOrFailed()">isResetOrFailed</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<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">&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<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>&#8203;(java.util.concurrent.TimeoutException&nbsp;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="i22" class="altColor">
<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>&#8203;(<a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</a>&nbsp;frame,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Processes the given <code>frame</code>, belonging to this stream.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#push(org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">push</a></span>&#8203;(<a href="frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</a>&nbsp;frame,
<a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">
<div class="block">Sends the given PUSH_PROMISE <code>frame</code>.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<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>&#8203;(java.lang.String&nbsp;key)</code></th>
<td class="colLast">&nbsp;</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="#reset(org.eclipse.jetty.http2.frames.ResetFrame,org.eclipse.jetty.util.Callback)">reset</a></span>&#8203;(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a>&nbsp;frame,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Sends the given RST_STREAM <code>frame</code>.</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="#send(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Callback)">send</a></span>&#8203;(<a href="IStream.FrameList.html" title="class in org.eclipse.jetty.http2">IStream.FrameList</a>&nbsp;frameList,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Sends the given list of frames.</div>
</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="#setAttachment(java.lang.Object)">setAttachment</a></span>&#8203;(java.lang.Object&nbsp;attachment)</code></th>
<td class="colLast">
<div class="block">Attaches the given object to this stream for later retrieval.</div>
</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="#setAttribute(java.lang.String,java.lang.Object)">setAttribute</a></span>&#8203;(java.lang.String&nbsp;key,
java.lang.Object&nbsp;value)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i29" 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>&#8203;(<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i30" 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="i31" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i32" 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>&#8203;(boolean&nbsp;update,
<a href="CloseState.Event.html" title="enum in org.eclipse.jetty.http2">CloseState.Event</a>&nbsp;event)</code></th>
<td class="colLast">
<div class="block">Updates the close state of this stream.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateRecvWindow(int)">updateRecvWindow</a></span>&#8203;(int&nbsp;delta)</code></th>
<td class="colLast">
<div class="block">Updates the stream receive window by the given <code>delta</code>.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateSendWindow(int)">updateSendWindow</a></span>&#8203;(int&nbsp;delta)</code></th>
<td class="colLast">
<div class="block">Updates the 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&nbsp;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&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Dumpable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3>
<code><a href="../util/component/Dumpable.html#dumpSelf()">dumpSelf</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.thread.Invocable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;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&nbsp;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&nbsp;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="&lt;init&gt;(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&nbsp;HTTP2Stream&#8203;(<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a>&nbsp;scheduler,
<a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a>&nbsp;session,
int&nbsp;streamId,
boolean&nbsp;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&nbsp;int&nbsp;getId()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Stream.html#getId()">getId</a></code>&nbsp;in interface&nbsp;<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&nbsp;java.lang.Object&nbsp;getAttachment()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../util/Attachable.html#getAttachment()">getAttachment</a></code>&nbsp;in interface&nbsp;<code><a href="../util/Attachable.html" title="interface in org.eclipse.jetty.util">Attachable</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the object attached to this instance</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../util/Attachable.html#setAttachment(java.lang.Object)"><code>Attachable.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&nbsp;void&nbsp;setAttachment&#8203;(java.lang.Object&nbsp;attachment)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../util/Attachable.html#setAttachment(java.lang.Object)">Attachable</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="../util/Attachable.html#setAttachment(java.lang.Object)">setAttachment</a></code>&nbsp;in interface&nbsp;<code><a href="../util/Attachable.html" title="interface in org.eclipse.jetty.util">Attachable</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>attachment</code> - the object to attach to this instance</dd>
</dl>
</li>
</ul>
<a id="isLocal()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLocal</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isLocal()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IStream.html#isLocal()">isLocal</a></code>&nbsp;in interface&nbsp;<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&nbsp;<a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a>&nbsp;getSession()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IStream.html#getSession()">getSession</a></code>&nbsp;in interface&nbsp;<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>&nbsp;in interface&nbsp;<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="send(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Callback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>send</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;send&#8203;(<a href="IStream.FrameList.html" title="class in org.eclipse.jetty.http2">IStream.FrameList</a>&nbsp;frameList,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="IStream.html#send(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Callback)">IStream</a></code></span></div>
<div class="block"><p>Sends the given list of frames.</p>
<p>Typically used to send HTTP headers along with content and possibly trailers.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IStream.html#send(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Callback)">send</a></code>&nbsp;in interface&nbsp;<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>frameList</code> - the list of frames to send</dd>
<dd><code>callback</code> - the callback that gets notified when the frames have been sent</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&nbsp;void&nbsp;headers&#8203;(<a href="frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="api/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>.</p>
<p>Typically used to send an HTTP response or to send the HTTP response trailers.</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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;push&#8203;(<a href="frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</a>&nbsp;frame,
<a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="api/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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;data&#8203;(<a href="frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a>&nbsp;frame,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;reset&#8203;(<a href="frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a>&nbsp;frame,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="api/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>&nbsp;in interface&nbsp;<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&nbsp;java.lang.Object&nbsp;getAttribute&#8203;(java.lang.String&nbsp;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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;setAttribute&#8203;(java.lang.String&nbsp;key,
java.lang.Object&nbsp;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>&nbsp;in interface&nbsp;<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&nbsp;java.lang.Object&nbsp;removeAttribute&#8203;(java.lang.String&nbsp;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>&nbsp;in interface&nbsp;<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&nbsp;boolean&nbsp;isReset()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Stream.html#isReset()">isReset</a></code>&nbsp;in interface&nbsp;<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="isResetOrFailed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isResetOrFailed</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isResetOrFailed()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IStream.html#isResetOrFailed()">isResetOrFailed</a></code>&nbsp;in interface&nbsp;<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 has been reset (locally or remotely) or has been failed</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="api/Stream.html#isReset()"><code>Stream.isReset()</code></a>,
<a href="api/Stream.Listener.html#onFailure(org.eclipse.jetty.http2.api.Stream,int,java.lang.String,java.lang.Throwable,org.eclipse.jetty.util.Callback)"><code>Stream.Listener.onFailure(Stream, int, String, Throwable, Callback)</code></a></dd>
</dl>
</li>
</ul>
<a id="isClosed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isClosed</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isClosed()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="api/Stream.html#isClosed()">isClosed</a></code>&nbsp;in interface&nbsp;<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&nbsp;boolean&nbsp;isRemotelyClosed()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IStream.html#isRemotelyClosed()">isRemotelyClosed</a></code>&nbsp;in interface&nbsp;<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&nbsp;boolean&nbsp;isLocallyClosed()</pre>
</li>
</ul>
<a id="isOpen()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isOpen</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isOpen()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<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>&nbsp;in class&nbsp;<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&nbsp;void&nbsp;onIdleExpired&#8203;(java.util.concurrent.TimeoutException&nbsp;timeout)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<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>&nbsp;in class&nbsp;<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&nbsp;<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;getListener()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IStream.html#getListener()">getListener</a></code>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;setListener&#8203;(<a href="api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;process&#8203;(<a href="frames/Frame.html" title="class in org.eclipse.jetty.http2.frames">Frame</a>&nbsp;frame,
<a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="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>&nbsp;in interface&nbsp;<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&nbsp;boolean&nbsp;updateClose&#8203;(boolean&nbsp;update,
<a href="CloseState.Event.html" title="enum in org.eclipse.jetty.http2">CloseState.Event</a>&nbsp;event)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;int&nbsp;getSendWindow()</pre>
</li>
</ul>
<a id="getRecvWindow()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRecvWindow</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getRecvWindow()</pre>
</li>
</ul>
<a id="updateSendWindow(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateSendWindow</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;updateSendWindow&#8203;(int&nbsp;delta)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="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>&nbsp;in interface&nbsp;<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&nbsp;int&nbsp;updateRecvWindow&#8203;(int&nbsp;delta)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;close()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<code>java.lang.AutoCloseable</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>close</code>&nbsp;in interface&nbsp;<code>java.io.Closeable</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IStream.html#close()">close</a></code>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;onClose()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../io/IdleTimeout.html#onClose()">onClose</a></code>&nbsp;in class&nbsp;<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&nbsp;void&nbsp;succeeded()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;failed&#8203;(java.lang.Throwable&nbsp;x)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;java.lang.String&nbsp;dump()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../util/component/Dumpable.html#dump()">dump</a></code>&nbsp;in interface&nbsp;<code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code></dd>
</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&nbsp;void&nbsp;dump&#8203;(java.lang.Appendable&nbsp;out,
java.lang.String&nbsp;indent)
throws java.io.IOException</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../util/component/Dumpable.html#dump(java.lang.Appendable,java.lang.String)">Dumpable</a></code></span></div>
<div class="block">Dump this object (and children) into an Appendable using the provided indent after any new lines.
The indent should not be applied to the first object dumped.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../util/component/Dumpable.html#dump(java.lang.Appendable,java.lang.String)">dump</a></code>&nbsp;in interface&nbsp;<code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>out</code> - The appendable to dump to</dd>
<dd><code>indent</code> - The indent to apply after any new lines.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if unable to write to Appendable</dd>
</dl>
</li>
</ul>
<a id="toString()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<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&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 1995&#x2013;2021 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>