blob: f4e22153e190f4c4d4a4b0e7e496868eae75a068 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_92) on Thu Jun 07 14:26:31 EDT 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>HttpReceiverOverHTTP2 (Jetty :: Project 9.3.24.v20180605 API)</title>
<meta name="date" content="2018-06-07">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="HttpReceiverOverHTTP2 (Jetty :: Project 9.3.24.v20180605 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":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";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HttpReceiverOverHTTP2.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">
<li><a href="../../../../../../org/eclipse/jetty/http2/client/http/HttpDestinationOverHTTP2.html" title="class in org.eclipse.jetty.http2.client.http"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/eclipse/jetty/http2/client/http/HttpSenderOverHTTP2.html" title="class in org.eclipse.jetty.http2.client.http"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/eclipse/jetty/http2/client/http/HttpReceiverOverHTTP2.html" target="_top">Frames</a></li>
<li><a href="HttpReceiverOverHTTP2.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.eclipse.jetty.client.HttpReceiver">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 name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.jetty.http2.client.http</div>
<h2 title="Class HttpReceiverOverHTTP2" class="title">Class HttpReceiverOverHTTP2</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client">org.eclipse.jetty.client.HttpReceiver</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.jetty.http2.client.http.HttpReceiverOverHTTP2</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">HttpReceiverOverHTTP2</span>
extends <a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client">HttpReceiver</a>
implements <a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.eclipse.jetty.http2.api.Stream.Listener">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.http2.api.<a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></h3>
<code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.Adapter.html" title="class in org.eclipse.jetty.http2.api">Stream.Listener.Adapter</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.jetty.client.HttpReceiver">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.jetty.client.<a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client">HttpReceiver</a></h3>
<code><a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#LOG">LOG</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/jetty/http2/client/http/HttpReceiverOverHTTP2.html#HttpReceiverOverHTTP2-org.eclipse.jetty.client.HttpChannel-">HttpReceiverOverHTTP2</a></span>(<a href="../../../../../../org/eclipse/jetty/client/HttpChannel.html" title="class in org.eclipse.jetty.client">HttpChannel</a>&nbsp;channel)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<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="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../org/eclipse/jetty/http2/client/http/HttpChannelOverHTTP2.html" title="class in org.eclipse.jetty.http2.client.http">HttpChannelOverHTTP2</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/jetty/http2/client/http/HttpReceiverOverHTTP2.html#getHttpChannel--">getHttpChannel</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/jetty/http2/client/http/HttpReceiverOverHTTP2.html#onData-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.DataFrame-org.eclipse.jetty.util.Callback-">onData</a></span>(<a href="../../../../../../org/eclipse/jetty/http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&nbsp;stream,
<a href="../../../../../../org/eclipse/jetty/http2/frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a>&nbsp;frame,
<a href="../../../../../../org/eclipse/jetty/util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a>&nbsp;callback)</code>
<div class="block">Callback method invoked when a DATA frame has been received.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/jetty/http2/client/http/HttpReceiverOverHTTP2.html#onHeaders-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.HeadersFrame-">onHeaders</a></span>(<a href="../../../../../../org/eclipse/jetty/http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&nbsp;stream,
<a href="../../../../../../org/eclipse/jetty/http2/frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame)</code>
<div class="block">Callback method invoked when a HEADERS frame representing the HTTP response has been received.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/jetty/http2/client/http/HttpReceiverOverHTTP2.html#onIdleTimeout-org.eclipse.jetty.http2.api.Stream-java.lang.Throwable-">onIdleTimeout</a></span>(<a href="../../../../../../org/eclipse/jetty/http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&nbsp;stream,
java.lang.Throwable&nbsp;x)</code>
<div class="block">Callback method invoked when the stream exceeds its idle timeout.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/jetty/http2/client/http/HttpReceiverOverHTTP2.html#onPush-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.PushPromiseFrame-">onPush</a></span>(<a href="../../../../../../org/eclipse/jetty/http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&nbsp;stream,
<a href="../../../../../../org/eclipse/jetty/http2/frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</a>&nbsp;frame)</code>
<div class="block">Callback method invoked when a PUSH_PROMISE frame has been received.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/jetty/http2/client/http/HttpReceiverOverHTTP2.html#onReset-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.ResetFrame-">onReset</a></span>(<a href="../../../../../../org/eclipse/jetty/http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&nbsp;stream,
<a href="../../../../../../org/eclipse/jetty/http2/frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a>&nbsp;frame)</code>
<div class="block">Callback method invoked when a RST_STREAM frame has been received for this stream.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.jetty.client.HttpReceiver">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.client.<a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client">HttpReceiver</a></h3>
<code><a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#abort-org.eclipse.jetty.client.HttpExchange-java.lang.Throwable-">abort</a>, <a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#dispose--">dispose</a>, <a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#getHttpDestination--">getHttpDestination</a>, <a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#getHttpExchange--">getHttpExchange</a>, <a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#reset--">reset</a>, <a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#responseBegin-org.eclipse.jetty.client.HttpExchange-">responseBegin</a>, <a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#responseContent-org.eclipse.jetty.client.HttpExchange-java.nio.ByteBuffer-org.eclipse.jetty.util.Callback-">responseContent</a>, <a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#responseFailure-java.lang.Throwable-">responseFailure</a>, <a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#responseHeader-org.eclipse.jetty.client.HttpExchange-org.eclipse.jetty.http.HttpField-">responseHeader</a>, <a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#responseHeaders-org.eclipse.jetty.client.HttpExchange-">responseHeaders</a>, <a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#responseSuccess-org.eclipse.jetty.client.HttpExchange-">responseSuccess</a>, <a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#storeCookie-java.net.URI-org.eclipse.jetty.http.HttpField-">storeCookie</a>, <a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="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 name="methods.inherited.from.class.org.eclipse.jetty.http2.api.Stream.Listener">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.http2.api.<a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></h3>
<code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html#onTimeout-org.eclipse.jetty.http2.api.Stream-java.lang.Throwable-">onTimeout</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="HttpReceiverOverHTTP2-org.eclipse.jetty.client.HttpChannel-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HttpReceiverOverHTTP2</h4>
<pre>public&nbsp;HttpReceiverOverHTTP2(<a href="../../../../../../org/eclipse/jetty/client/HttpChannel.html" title="class in org.eclipse.jetty.client">HttpChannel</a>&nbsp;channel)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getHttpChannel--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHttpChannel</h4>
<pre>protected&nbsp;<a href="../../../../../../org/eclipse/jetty/http2/client/http/HttpChannelOverHTTP2.html" title="class in org.eclipse.jetty.http2.client.http">HttpChannelOverHTTP2</a>&nbsp;getHttpChannel()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html#getHttpChannel--">getHttpChannel</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client">HttpReceiver</a></code></dd>
</dl>
</li>
</ul>
<a name="onHeaders-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.HeadersFrame-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onHeaders</h4>
<pre>public&nbsp;void&nbsp;onHeaders(<a href="../../../../../../org/eclipse/jetty/http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&nbsp;stream,
<a href="../../../../../../org/eclipse/jetty/http2/frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html#onHeaders-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.HeadersFrame-">Stream.Listener</a></code></span></div>
<div class="block"><p>Callback method invoked when a HEADERS frame representing the HTTP response has been received.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html#onHeaders-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.HeadersFrame-">onHeaders</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - the stream</dd>
<dd><code>frame</code> - the HEADERS frame received</dd>
</dl>
</li>
</ul>
<a name="onPush-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.PushPromiseFrame-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onPush</h4>
<pre>public&nbsp;<a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;onPush(<a href="../../../../../../org/eclipse/jetty/http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&nbsp;stream,
<a href="../../../../../../org/eclipse/jetty/http2/frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</a>&nbsp;frame)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html#onPush-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.PushPromiseFrame-">Stream.Listener</a></code></span></div>
<div class="block"><p>Callback method invoked when a PUSH_PROMISE frame has been received.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html#onPush-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.PushPromiseFrame-">onPush</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - the stream</dd>
<dd><code>frame</code> - the PUSH_PROMISE frame received</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream.Listener</code></a> that will be notified of pushed stream events</dd>
</dl>
</li>
</ul>
<a name="onData-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.DataFrame-org.eclipse.jetty.util.Callback-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onData</h4>
<pre>public&nbsp;void&nbsp;onData(<a href="../../../../../../org/eclipse/jetty/http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&nbsp;stream,
<a href="../../../../../../org/eclipse/jetty/http2/frames/DataFrame.html" title="class in org.eclipse.jetty.http2.frames">DataFrame</a>&nbsp;frame,
<a href="../../../../../../org/eclipse/jetty/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="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html#onData-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.DataFrame-org.eclipse.jetty.util.Callback-">Stream.Listener</a></code></span></div>
<div class="block"><p>Callback method invoked when a DATA frame has been received.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html#onData-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.DataFrame-org.eclipse.jetty.util.Callback-">onData</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - the stream</dd>
<dd><code>frame</code> - the DATA frame received</dd>
<dd><code>callback</code> - the callback to complete when the bytes of the DATA frame have been consumed</dd>
</dl>
</li>
</ul>
<a name="onReset-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.ResetFrame-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onReset</h4>
<pre>public&nbsp;void&nbsp;onReset(<a href="../../../../../../org/eclipse/jetty/http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&nbsp;stream,
<a href="../../../../../../org/eclipse/jetty/http2/frames/ResetFrame.html" title="class in org.eclipse.jetty.http2.frames">ResetFrame</a>&nbsp;frame)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html#onReset-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.ResetFrame-">Stream.Listener</a></code></span></div>
<div class="block"><p>Callback method invoked when a RST_STREAM frame has been received for this stream.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html#onReset-org.eclipse.jetty.http2.api.Stream-org.eclipse.jetty.http2.frames.ResetFrame-">onReset</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - the stream</dd>
<dd><code>frame</code> - the RST_FRAME received</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/eclipse/jetty/http2/api/Session.Listener.html#onReset-org.eclipse.jetty.http2.api.Session-org.eclipse.jetty.http2.frames.ResetFrame-"><code>Session.Listener.onReset(Session, ResetFrame)</code></a></dd>
</dl>
</li>
</ul>
<a name="onIdleTimeout-org.eclipse.jetty.http2.api.Stream-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>onIdleTimeout</h4>
<pre>public&nbsp;boolean&nbsp;onIdleTimeout(<a href="../../../../../../org/eclipse/jetty/http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&nbsp;stream,
java.lang.Throwable&nbsp;x)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html#onIdleTimeout-org.eclipse.jetty.http2.api.Stream-java.lang.Throwable-">Stream.Listener</a></code></span></div>
<div class="block"><p>Callback method invoked when the stream exceeds its idle timeout.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html#onIdleTimeout-org.eclipse.jetty.http2.api.Stream-java.lang.Throwable-">onIdleTimeout</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stream</code> - the stream</dd>
<dd><code>x</code> - the timeout failure</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true to reset the stream, false to ignore the idle timeout</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/eclipse/jetty/http2/api/Stream.html#getIdleTimeout--"><code>Stream.getIdleTimeout()</code></a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HttpReceiverOverHTTP2.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">
<li><a href="../../../../../../org/eclipse/jetty/http2/client/http/HttpDestinationOverHTTP2.html" title="class in org.eclipse.jetty.http2.client.http"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/eclipse/jetty/http2/client/http/HttpSenderOverHTTP2.html" title="class in org.eclipse.jetty.http2.client.http"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/eclipse/jetty/http2/client/http/HttpReceiverOverHTTP2.html" target="_top">Frames</a></li>
<li><a href="HttpReceiverOverHTTP2.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.eclipse.jetty.client.HttpReceiver">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 name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 1995&#x2013;2018 <a href="http://webtide.com">Webtide</a>. All rights reserved.</small></p>
</body>
</html>