| <!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 (version 1.7.0_80) on Wed Jun 07 15:10:52 EDT 2017 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>StandardStream (Jetty :: Project 9.2.22.v20170606 API)</title> |
| <meta name="date" content="2017-06-07"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="StandardStream (Jetty :: Project 9.2.22.v20170606 API)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/StandardStream.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 class="aboutLanguage"><em><script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1149868-7']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script></em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/eclipse/jetty/spdy/StandardSession.FrameBytes.html" title="interface in org.eclipse.jetty.spdy"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/eclipse/jetty/spdy/StreamException.html" title="class in org.eclipse.jetty.spdy"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/jetty/spdy/StandardStream.html" target="_top">Frames</a></li> |
| <li><a href="StandardStream.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All 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: </li> |
| <li>Nested | </li> |
| <li>Field | </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 name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.jetty.spdy</div> |
| <h2 title="Class StandardStream" class="title">Class StandardStream</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/eclipse/jetty/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.spdy.StandardStream</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/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a>, <a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a>, <a href="../../../../org/eclipse/jetty/util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">StandardStream</span> |
| extends <a href="../../../../org/eclipse/jetty/io/IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a> |
| implements <a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</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.util.Callback"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.util.<a href="../../../../org/eclipse/jetty/util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/util/Callback.Adapter.html" title="class in org.eclipse.jetty.util">Callback.Adapter</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#StandardStream(int,%20byte,%20org.eclipse.jetty.spdy.ISession,%20org.eclipse.jetty.spdy.IStream,%20org.eclipse.jetty.util.thread.Scheduler,%20org.eclipse.jetty.util.Promise)">StandardStream</a></strong>(int id, |
| byte priority, |
| <a href="../../../../org/eclipse/jetty/spdy/ISession.html" title="interface in org.eclipse.jetty.spdy">ISession</a> session, |
| <a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a> associatedStream, |
| <a href="../../../../org/eclipse/jetty/util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a> scheduler, |
| <a href="../../../../org/eclipse/jetty/util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a><<a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a>> promise)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#associate(org.eclipse.jetty.spdy.IStream)">associate</a></strong>(<a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a> stream)</code> |
| <div class="block">Associate the given <a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy"><code>IStream</code></a> to this <a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy"><code>IStream</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#data(org.eclipse.jetty.spdy.api.DataInfo)">data</a></strong>(<a href="../../../../org/eclipse/jetty/spdy/api/DataInfo.html" title="class in org.eclipse.jetty.spdy.api">DataInfo</a> dataInfo)</code> |
| <div class="block">Sends asynchronously a DATA frame on this stream.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#data(org.eclipse.jetty.spdy.api.DataInfo,%20org.eclipse.jetty.util.Callback)">data</a></strong>(<a href="../../../../org/eclipse/jetty/spdy/api/DataInfo.html" title="class in org.eclipse.jetty.spdy.api">DataInfo</a> dataInfo, |
| <a href="../../../../org/eclipse/jetty/util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code> |
| <div class="block">Sends asynchronously a DATA frame on this stream.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#disassociate(org.eclipse.jetty.spdy.IStream)">disassociate</a></strong>(<a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a> stream)</code> |
| <div class="block">remove the given associated <a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy"><code>IStream</code></a> from this stream</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#failed(java.lang.Throwable)">failed</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> x)</code> |
| <div class="block">Callback invoked when the operation fails.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#getAssociatedStream()">getAssociatedStream</a></strong>()</code> |
| <div class="block">Overrides Stream.getAssociatedStream() to return an instance of IStream instead of Stream</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#getAttribute(java.lang.String)">getAttribute</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#getId()">getId</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>byte</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#getPriority()">getPriority</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#getPushedStreams()">getPushedStreams</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/jetty/spdy/ISession.html" title="interface in org.eclipse.jetty.spdy">ISession</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#getSession()">getSession</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/jetty/spdy/api/StreamFrameListener.html" title="interface in org.eclipse.jetty.spdy.api">StreamFrameListener</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#getStreamFrameListener()">getStreamFrameListener</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#getWindowSize()">getWindowSize</a></strong>()</code> |
| <div class="block">Senders of data frames need to know the current window size |
| to determine whether they can send more data.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#headers(org.eclipse.jetty.spdy.api.HeadersInfo)">headers</a></strong>(<a href="../../../../org/eclipse/jetty/spdy/api/HeadersInfo.html" title="class in org.eclipse.jetty.spdy.api">HeadersInfo</a> headersInfo)</code> |
| <div class="block">Sends asynchronously a HEADER frame on this stream.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#headers(org.eclipse.jetty.spdy.api.HeadersInfo,%20org.eclipse.jetty.util.Callback)">headers</a></strong>(<a href="../../../../org/eclipse/jetty/spdy/api/HeadersInfo.html" title="class in org.eclipse.jetty.spdy.api">HeadersInfo</a> headersInfo, |
| <a href="../../../../org/eclipse/jetty/util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code> |
| <div class="block">Sends asynchronously a HEADER frame on this stream.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#isClosed()">isClosed</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#isHalfClosed()">isHalfClosed</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#isOpen()">isOpen</a></strong>()</code> |
| <div class="block">This abstract method should be called to check if idle timeouts |
| should still be checked.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#isReset()">isReset</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#isUnidirectional()">isUnidirectional</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#onIdleExpired(java.util.concurrent.TimeoutException)">onIdleExpired</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a> timeout)</code> |
| <div class="block">This abstract method is called when the idle timeout has expired.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#process(org.eclipse.jetty.spdy.frames.ControlFrame)">process</a></strong>(<a href="../../../../org/eclipse/jetty/spdy/frames/ControlFrame.html" title="class in org.eclipse.jetty.spdy.frames">ControlFrame</a> frame)</code> |
| <div class="block">Processes the given control frame, |
| for example by updating the stream's state or by calling listeners.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#process(org.eclipse.jetty.spdy.api.DataInfo)">process</a></strong>(<a href="../../../../org/eclipse/jetty/spdy/api/DataInfo.html" title="class in org.eclipse.jetty.spdy.api">DataInfo</a> dataInfo)</code> |
| <div class="block">Processes the given <code>dataInfo</code>, |
| for example by updating the stream's state or by calling listeners.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#push(org.eclipse.jetty.spdy.api.PushInfo)">push</a></strong>(<a href="../../../../org/eclipse/jetty/spdy/api/PushInfo.html" title="class in org.eclipse.jetty.spdy.api">PushInfo</a> pushInfo)</code> |
| <div class="block">Initiate a unidirectional spdy pushstream associated to this stream asynchronously</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#push(org.eclipse.jetty.spdy.api.PushInfo,%20org.eclipse.jetty.util.Promise)">push</a></strong>(<a href="../../../../org/eclipse/jetty/spdy/api/PushInfo.html" title="class in org.eclipse.jetty.spdy.api">PushInfo</a> pushInfo, |
| <a href="../../../../org/eclipse/jetty/util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a><<a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a>> promise)</code> |
| <div class="block">Initiate a unidirectional spdy pushstream associated to this stream asynchronously</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#removeAttribute(java.lang.String)">removeAttribute</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#reply(org.eclipse.jetty.spdy.api.ReplyInfo)">reply</a></strong>(<a href="../../../../org/eclipse/jetty/spdy/api/ReplyInfo.html" title="class in org.eclipse.jetty.spdy.api">ReplyInfo</a> replyInfo)</code> |
| <div class="block">Sends asynchronously a SYN_REPLY frame in response to a SYN_STREAM frame.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#reply(org.eclipse.jetty.spdy.api.ReplyInfo,%20org.eclipse.jetty.util.Callback)">reply</a></strong>(<a href="../../../../org/eclipse/jetty/spdy/api/ReplyInfo.html" title="class in org.eclipse.jetty.spdy.api">ReplyInfo</a> replyInfo, |
| <a href="../../../../org/eclipse/jetty/util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code> |
| <div class="block">Sends asynchronously a SYN_REPLY frame in response to a SYN_STREAM frame.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#setAttribute(java.lang.String,%20java.lang.Object)">setAttribute</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#setStreamFrameListener(org.eclipse.jetty.spdy.api.StreamFrameListener)">setStreamFrameListener</a></strong>(<a href="../../../../org/eclipse/jetty/spdy/api/StreamFrameListener.html" title="interface in org.eclipse.jetty.spdy.api">StreamFrameListener</a> listener)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#succeeded()">succeeded</a></strong>()</code> |
| <div class="block">Callback invoked when the operation completes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#toString()">toString</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#updateCloseState(boolean,%20boolean)">updateCloseState</a></strong>(boolean close, |
| boolean local)</code> |
| <div class="block">A stream can be open, <a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#isHalfClosed()"><code>half closed</code></a> or |
| <a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#isClosed()"><code>closed</code></a> and this method updates the close state |
| of this stream.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/eclipse/jetty/spdy/StandardStream.html#updateWindowSize(int)">updateWindowSize</a></strong>(int delta)</code> |
| <div class="block">Updates the window size for this stream by the given amount, |
| that can be positive or negative.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.eclipse.jetty.io.IdleTimeout"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.io.<a href="../../../../org/eclipse/jetty/io/IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/io/IdleTimeout.html#checkIdleTimeout()">checkIdleTimeout</a>, <a href="../../../../org/eclipse/jetty/io/IdleTimeout.html#getIdleFor()">getIdleFor</a>, <a href="../../../../org/eclipse/jetty/io/IdleTimeout.html#getIdleTimeout()">getIdleTimeout</a>, <a href="../../../../org/eclipse/jetty/io/IdleTimeout.html#getIdleTimestamp()">getIdleTimestamp</a>, <a href="../../../../org/eclipse/jetty/io/IdleTimeout.html#notIdle()">notIdle</a>, <a href="../../../../org/eclipse/jetty/io/IdleTimeout.html#onClose()">onClose</a>, <a href="../../../../org/eclipse/jetty/io/IdleTimeout.html#onOpen()">onOpen</a>, <a href="../../../../org/eclipse/jetty/io/IdleTimeout.html#setIdleTimeout(long)">setIdleTimeout</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 java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.eclipse.jetty.spdy.api.Stream"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.jetty.spdy.api.<a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></h3> |
| <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#getIdleTimeout()">getIdleTimeout</a>, <a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#setIdleTimeout(long)">setIdleTimeout</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="StandardStream(int, byte, org.eclipse.jetty.spdy.ISession, org.eclipse.jetty.spdy.IStream, org.eclipse.jetty.util.thread.Scheduler, org.eclipse.jetty.util.Promise)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>StandardStream</h4> |
| <pre>public StandardStream(int id, |
| byte priority, |
| <a href="../../../../org/eclipse/jetty/spdy/ISession.html" title="interface in org.eclipse.jetty.spdy">ISession</a> session, |
| <a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a> associatedStream, |
| <a href="../../../../org/eclipse/jetty/util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a> scheduler, |
| <a href="../../../../org/eclipse/jetty/util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a><<a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a>> promise)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getId()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getId</h4> |
| <pre>public int getId()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#getId()">getId</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the id of this stream</dd></dl> |
| </li> |
| </ul> |
| <a name="getAssociatedStream()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAssociatedStream</h4> |
| <pre>public <a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a> getAssociatedStream()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#getAssociatedStream()">IStream</a></code></strong></div> |
| <div class="block"><p>Overrides Stream.getAssociatedStream() to return an instance of IStream instead of Stream</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#getAssociatedStream()">getAssociatedStream</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#getAssociatedStream()">getAssociatedStream</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the associated parent stream or null if this is not an associated stream</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#getAssociatedStream()"><code>Stream.getAssociatedStream()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getPushedStreams()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPushedStreams</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a>> getPushedStreams()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#getPushedStreams()">getPushedStreams</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>associated child streams or an empty set if no associated streams exist</dd></dl> |
| </li> |
| </ul> |
| <a name="associate(org.eclipse.jetty.spdy.IStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>associate</h4> |
| <pre>public void associate(<a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a> stream)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#associate(org.eclipse.jetty.spdy.IStream)">IStream</a></code></strong></div> |
| <div class="block"><p>Associate the given <a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy"><code>IStream</code></a> to this <a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy"><code>IStream</code></a>.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#associate(org.eclipse.jetty.spdy.IStream)">associate</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>stream</code> - the stream to associate with this stream</dd></dl> |
| </li> |
| </ul> |
| <a name="disassociate(org.eclipse.jetty.spdy.IStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>disassociate</h4> |
| <pre>public void disassociate(<a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a> stream)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#disassociate(org.eclipse.jetty.spdy.IStream)">IStream</a></code></strong></div> |
| <div class="block"><p>remove the given associated <a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy"><code>IStream</code></a> from this stream</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#disassociate(org.eclipse.jetty.spdy.IStream)">disassociate</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>stream</code> - the stream to be removed</dd></dl> |
| </li> |
| </ul> |
| <a name="getPriority()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPriority</h4> |
| <pre>public byte getPriority()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#getPriority()">getPriority</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the priority of this stream</dd></dl> |
| </li> |
| </ul> |
| <a name="onIdleExpired(java.util.concurrent.TimeoutException)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onIdleExpired</h4> |
| <pre>protected void onIdleExpired(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a> timeout)</pre> |
| <div class="block"><strong>Description copied from class: <code><a href="../../../../org/eclipse/jetty/io/IdleTimeout.html#onIdleExpired(java.util.concurrent.TimeoutException)">IdleTimeout</a></code></strong></div> |
| <div class="block">This abstract method is called when the idle timeout has expired.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/io/IdleTimeout.html#onIdleExpired(java.util.concurrent.TimeoutException)">onIdleExpired</a></code> in class <code><a href="../../../../org/eclipse/jetty/io/IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>timeout</code> - a TimeoutException</dd></dl> |
| </li> |
| </ul> |
| <a name="isOpen()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isOpen</h4> |
| <pre>public boolean isOpen()</pre> |
| <div class="block"><strong>Description copied from class: <code><a href="../../../../org/eclipse/jetty/io/IdleTimeout.html#isOpen()">IdleTimeout</a></code></strong></div> |
| <div class="block">This abstract method should be called to check if idle timeouts |
| should still be checked.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/io/IdleTimeout.html#isOpen()">isOpen</a></code> in class <code><a href="../../../../org/eclipse/jetty/io/IdleTimeout.html" title="class in org.eclipse.jetty.io">IdleTimeout</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>True if the entity monitored should still be checked for idle timeouts</dd></dl> |
| </li> |
| </ul> |
| <a name="getWindowSize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWindowSize</h4> |
| <pre>public int getWindowSize()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#getWindowSize()">IStream</a></code></strong></div> |
| <div class="block"><p>Senders of data frames need to know the current window size |
| to determine whether they can send more data.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#getWindowSize()">getWindowSize</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the current window size for this stream.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/IStream.html#updateWindowSize(int)"><code>IStream.updateWindowSize(int)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="updateWindowSize(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateWindowSize</h4> |
| <pre>public void updateWindowSize(int delta)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#updateWindowSize(int)">IStream</a></code></strong></div> |
| <div class="block"><p>Updates the window size for this stream by the given amount, |
| that can be positive or negative.</p> |
| <p>Senders and recipients of data frames update the window size, |
| respectively, with negative values and positive values.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#updateWindowSize(int)">updateWindowSize</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>delta</code> - the signed amount the window size needs to be updated</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/IStream.html#getWindowSize()"><code>IStream.getWindowSize()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getSession()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSession</h4> |
| <pre>public <a href="../../../../org/eclipse/jetty/spdy/ISession.html" title="interface in org.eclipse.jetty.spdy">ISession</a> getSession()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#getSession()">getSession</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the session this stream is associated to</dd></dl> |
| </li> |
| </ul> |
| <a name="getAttribute(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAttribute</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#getAttribute(java.lang.String)">getAttribute</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - the attribute key</dd> |
| <dt><span class="strong">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="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>Stream.setAttribute(String, Object)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="setAttribute(java.lang.String, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAttribute</h4> |
| <pre>public void setAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#setAttribute(java.lang.String,%20java.lang.Object)">setAttribute</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">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="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#getAttribute(java.lang.String)"><code>Stream.getAttribute(String)</code></a>, |
| <a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#removeAttribute(java.lang.String)"><code>Stream.removeAttribute(String)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="removeAttribute(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAttribute</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> removeAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#removeAttribute(java.lang.String)">removeAttribute</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - the attribute key</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the arbitrary object associated with the given key to this stream</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>Stream.setAttribute(String, Object)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="setStreamFrameListener(org.eclipse.jetty.spdy.api.StreamFrameListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setStreamFrameListener</h4> |
| <pre>public void setStreamFrameListener(<a href="../../../../org/eclipse/jetty/spdy/api/StreamFrameListener.html" title="interface in org.eclipse.jetty.spdy.api">StreamFrameListener</a> listener)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#setStreamFrameListener(org.eclipse.jetty.spdy.api.StreamFrameListener)">setStreamFrameListener</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - the stream frame listener associated to this stream |
| as returned by <a href="../../../../org/eclipse/jetty/spdy/api/SessionFrameListener.html#onSyn(org.eclipse.jetty.spdy.api.Stream,%20org.eclipse.jetty.spdy.api.SynInfo)"><code>SessionFrameListener.onSyn(Stream, SynInfo)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getStreamFrameListener()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStreamFrameListener</h4> |
| <pre>public <a href="../../../../org/eclipse/jetty/spdy/api/StreamFrameListener.html" title="interface in org.eclipse.jetty.spdy.api">StreamFrameListener</a> getStreamFrameListener()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#getStreamFrameListener()">getStreamFrameListener</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the stream frame listener associated to this stream</dd></dl> |
| </li> |
| </ul> |
| <a name="updateCloseState(boolean, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateCloseState</h4> |
| <pre>public void updateCloseState(boolean close, |
| boolean local)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#updateCloseState(boolean,%20boolean)">IStream</a></code></strong></div> |
| <div class="block"><p>A stream can be open, <a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#isHalfClosed()"><code>half closed</code></a> or |
| <a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#isClosed()"><code>closed</code></a> and this method updates the close state |
| of this stream.</p> |
| <p>If the stream is open, calling this method with a value of true |
| puts the stream into half closed state.</p> |
| <p>If the stream is half closed, calling this method with a value |
| of true puts the stream into closed state.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#updateCloseState(boolean,%20boolean)">updateCloseState</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>close</code> - whether the close state should be updated</dd><dd><code>local</code> - whether the close is local or remote</dd></dl> |
| </li> |
| </ul> |
| <a name="process(org.eclipse.jetty.spdy.frames.ControlFrame)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>process</h4> |
| <pre>public void process(<a href="../../../../org/eclipse/jetty/spdy/frames/ControlFrame.html" title="class in org.eclipse.jetty.spdy.frames">ControlFrame</a> frame)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#process(org.eclipse.jetty.spdy.frames.ControlFrame)">IStream</a></code></strong></div> |
| <div class="block"><p>Processes the given control frame, |
| for example by updating the stream's state or by calling listeners.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#process(org.eclipse.jetty.spdy.frames.ControlFrame)">process</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>frame</code> - the control frame to process</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/IStream.html#process(org.eclipse.jetty.spdy.api.DataInfo)"><code>IStream.process(DataInfo)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="process(org.eclipse.jetty.spdy.api.DataInfo)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>process</h4> |
| <pre>public void process(<a href="../../../../org/eclipse/jetty/spdy/api/DataInfo.html" title="class in org.eclipse.jetty.spdy.api">DataInfo</a> dataInfo)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#process(org.eclipse.jetty.spdy.api.DataInfo)">IStream</a></code></strong></div> |
| <div class="block"><p>Processes the given <code>dataInfo</code>, |
| for example by updating the stream's state or by calling listeners.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/IStream.html#process(org.eclipse.jetty.spdy.api.DataInfo)">process</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/IStream.html" title="interface in org.eclipse.jetty.spdy">IStream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>dataInfo</code> - the DataInfo to process</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/IStream.html#process(org.eclipse.jetty.spdy.frames.ControlFrame)"><code>IStream.process(ControlFrame)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="succeeded()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>succeeded</h4> |
| <pre>public void succeeded()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/util/Callback.html#succeeded()">Callback</a></code></strong></div> |
| <div class="block"><p>Callback invoked when the operation completes.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/util/Callback.html#succeeded()">succeeded</a></code> in interface <code><a href="../../../../org/eclipse/jetty/util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a></code></dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/util/Callback.html#failed(java.lang.Throwable)"><code>Callback.failed(Throwable)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="failed(java.lang.Throwable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>failed</h4> |
| <pre>public void failed(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> x)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/util/Callback.html#failed(java.lang.Throwable)">Callback</a></code></strong></div> |
| <div class="block"><p>Callback invoked when the operation fails.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/util/Callback.html#failed(java.lang.Throwable)">failed</a></code> in interface <code><a href="../../../../org/eclipse/jetty/util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the reason for the operation failure</dd></dl> |
| </li> |
| </ul> |
| <a name="push(org.eclipse.jetty.spdy.api.PushInfo)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>push</h4> |
| <pre>public <a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a> push(<a href="../../../../org/eclipse/jetty/spdy/api/PushInfo.html" title="class in org.eclipse.jetty.spdy.api">PushInfo</a> pushInfo) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent">ExecutionException</a>, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#push(org.eclipse.jetty.spdy.api.PushInfo)">Stream</a></code></strong></div> |
| <div class="block"><p>Initiate a unidirectional spdy pushstream associated to this stream asynchronously<p> <p>Callers may use the |
| returned future to get the pushstream once it got created</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#push(org.eclipse.jetty.spdy.api.PushInfo)">push</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>pushInfo</code> - the metadata to send on stream creation</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a future containing the stream once it got established</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent">ExecutionException</a></code></dd> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#push(org.eclipse.jetty.spdy.api.PushInfo,%20org.eclipse.jetty.util.Promise)"><code>Stream.push(PushInfo, Promise)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="push(org.eclipse.jetty.spdy.api.PushInfo, org.eclipse.jetty.util.Promise)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>push</h4> |
| <pre>public void push(<a href="../../../../org/eclipse/jetty/spdy/api/PushInfo.html" title="class in org.eclipse.jetty.spdy.api">PushInfo</a> pushInfo, |
| <a href="../../../../org/eclipse/jetty/util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a><<a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a>> promise)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#push(org.eclipse.jetty.spdy.api.PushInfo,%20org.eclipse.jetty.util.Promise)">Stream</a></code></strong></div> |
| <div class="block"><p>Initiate a unidirectional spdy pushstream associated to this stream asynchronously<p> <p>Callers may pass a |
| non-null completion promise to be notified of when the pushstream has been established.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#push(org.eclipse.jetty.spdy.api.PushInfo,%20org.eclipse.jetty.util.Promise)">push</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>pushInfo</code> - the metadata to send on stream creation</dd><dd><code>promise</code> - the completion promise that gets notified once the pushstream is established</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#push(org.eclipse.jetty.spdy.api.PushInfo)"><code>Stream.push(PushInfo)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="reply(org.eclipse.jetty.spdy.api.ReplyInfo)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reply</h4> |
| <pre>public void reply(<a href="../../../../org/eclipse/jetty/spdy/api/ReplyInfo.html" title="class in org.eclipse.jetty.spdy.api">ReplyInfo</a> replyInfo) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent">ExecutionException</a>, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#reply(org.eclipse.jetty.spdy.api.ReplyInfo)">Stream</a></code></strong></div> |
| <div class="block"><p>Sends asynchronously a SYN_REPLY frame in response to a SYN_STREAM frame.</p> <p>Callers may use the returned |
| future to wait for the reply to be actually sent.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#reply(org.eclipse.jetty.spdy.api.ReplyInfo)">reply</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>replyInfo</code> - the metadata to send</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent">ExecutionException</a></code></dd> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#reply(org.eclipse.jetty.spdy.api.ReplyInfo,%20org.eclipse.jetty.util.Callback)"><code>Stream.reply(ReplyInfo, Callback)</code></a>, |
| <a href="../../../../org/eclipse/jetty/spdy/api/SessionFrameListener.html#onSyn(org.eclipse.jetty.spdy.api.Stream,%20org.eclipse.jetty.spdy.api.SynInfo)"><code>SessionFrameListener.onSyn(Stream, SynInfo)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="reply(org.eclipse.jetty.spdy.api.ReplyInfo, org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reply</h4> |
| <pre>public void reply(<a href="../../../../org/eclipse/jetty/spdy/api/ReplyInfo.html" title="class in org.eclipse.jetty.spdy.api">ReplyInfo</a> replyInfo, |
| <a href="../../../../org/eclipse/jetty/util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#reply(org.eclipse.jetty.spdy.api.ReplyInfo,%20org.eclipse.jetty.util.Callback)">Stream</a></code></strong></div> |
| <div class="block"><p>Sends asynchronously a SYN_REPLY frame in response to a SYN_STREAM frame.</p> <p>Callers may pass a non-null |
| completion callback to be notified of when the reply has been actually sent.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#reply(org.eclipse.jetty.spdy.api.ReplyInfo,%20org.eclipse.jetty.util.Callback)">reply</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>replyInfo</code> - the metadata to send</dd><dd><code>callback</code> - the completion callback that gets notified of reply sent</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#reply(org.eclipse.jetty.spdy.api.ReplyInfo)"><code>Stream.reply(ReplyInfo)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="data(org.eclipse.jetty.spdy.api.DataInfo)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>data</h4> |
| <pre>public void data(<a href="../../../../org/eclipse/jetty/spdy/api/DataInfo.html" title="class in org.eclipse.jetty.spdy.api">DataInfo</a> dataInfo) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent">ExecutionException</a>, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#data(org.eclipse.jetty.spdy.api.DataInfo)">Stream</a></code></strong></div> |
| <div class="block"><p>Sends asynchronously a DATA frame on this stream.</p> <p>DATA frames should always be sent after a SYN_REPLY |
| frame.</p> <p>Callers may use the returned future to wait for the data to be actually sent.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#data(org.eclipse.jetty.spdy.api.DataInfo)">data</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>dataInfo</code> - the metadata to send</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent">ExecutionException</a></code></dd> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#data(org.eclipse.jetty.spdy.api.DataInfo,%20org.eclipse.jetty.util.Callback)"><code>Stream.data(DataInfo, Callback)</code></a>, |
| <a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#reply(org.eclipse.jetty.spdy.api.ReplyInfo)"><code>Stream.reply(ReplyInfo)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="data(org.eclipse.jetty.spdy.api.DataInfo, org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>data</h4> |
| <pre>public void data(<a href="../../../../org/eclipse/jetty/spdy/api/DataInfo.html" title="class in org.eclipse.jetty.spdy.api">DataInfo</a> dataInfo, |
| <a href="../../../../org/eclipse/jetty/util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#data(org.eclipse.jetty.spdy.api.DataInfo,%20org.eclipse.jetty.util.Callback)">Stream</a></code></strong></div> |
| <div class="block"><p>Sends asynchronously a DATA frame on this stream.</p> <p>DATA frames should always be sent after a SYN_REPLY |
| frame.</p> <p>Callers may pass a non-null completion callback to be notified of when the data has been actually |
| sent.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#data(org.eclipse.jetty.spdy.api.DataInfo,%20org.eclipse.jetty.util.Callback)">data</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>dataInfo</code> - the metadata to send</dd><dd><code>callback</code> - the completion callback that gets notified of data sent</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#data(org.eclipse.jetty.spdy.api.DataInfo)"><code>Stream.data(DataInfo)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="headers(org.eclipse.jetty.spdy.api.HeadersInfo)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>headers</h4> |
| <pre>public void headers(<a href="../../../../org/eclipse/jetty/spdy/api/HeadersInfo.html" title="class in org.eclipse.jetty.spdy.api">HeadersInfo</a> headersInfo) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent">ExecutionException</a>, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#headers(org.eclipse.jetty.spdy.api.HeadersInfo)">Stream</a></code></strong></div> |
| <div class="block"><p>Sends asynchronously a HEADER frame on this stream.</p> <p>HEADERS frames should always be sent after a |
| SYN_REPLY frame.</p> <p>Callers may use the returned future to wait for the headers to be actually sent.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#headers(org.eclipse.jetty.spdy.api.HeadersInfo)">headers</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>headersInfo</code> - the metadata to send</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent">ExecutionException</a></code></dd> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</a></code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#headers(org.eclipse.jetty.spdy.api.HeadersInfo,%20org.eclipse.jetty.util.Callback)"><code>Stream.headers(HeadersInfo, Callback)</code></a>, |
| <a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#reply(org.eclipse.jetty.spdy.api.ReplyInfo)"><code>Stream.reply(ReplyInfo)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="headers(org.eclipse.jetty.spdy.api.HeadersInfo, org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>headers</h4> |
| <pre>public void headers(<a href="../../../../org/eclipse/jetty/spdy/api/HeadersInfo.html" title="class in org.eclipse.jetty.spdy.api">HeadersInfo</a> headersInfo, |
| <a href="../../../../org/eclipse/jetty/util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#headers(org.eclipse.jetty.spdy.api.HeadersInfo,%20org.eclipse.jetty.util.Callback)">Stream</a></code></strong></div> |
| <div class="block"><p>Sends asynchronously a HEADER frame on this stream.</p> <p>HEADERS frames should always be sent after a |
| SYN_REPLY frame.</p> <p>Callers may pass a non-null completion callback to be notified of when the headers have |
| been actually sent.</p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#headers(org.eclipse.jetty.spdy.api.HeadersInfo,%20org.eclipse.jetty.util.Callback)">headers</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>headersInfo</code> - the metadata to send</dd><dd><code>callback</code> - the completion callback that gets notified of headers sent</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#headers(org.eclipse.jetty.spdy.api.HeadersInfo)"><code>Stream.headers(HeadersInfo)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="isUnidirectional()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isUnidirectional</h4> |
| <pre>public boolean isUnidirectional()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#isUnidirectional()">isUnidirectional</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>whether this stream is unidirectional or not</dd></dl> |
| </li> |
| </ul> |
| <a name="isReset()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isReset</h4> |
| <pre>public boolean isReset()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#isReset()">isReset</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>whether this stream has been reset</dd></dl> |
| </li> |
| </ul> |
| <a name="isHalfClosed()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isHalfClosed</h4> |
| <pre>public boolean isHalfClosed()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#isHalfClosed()">isHalfClosed</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>whether this stream has been closed by one party only</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#isClosed()"><code>Stream.isClosed()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="isClosed()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isClosed</h4> |
| <pre>public boolean isClosed()</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#isClosed()">isClosed</a></code> in interface <code><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html" title="interface in org.eclipse.jetty.spdy.api">Stream</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>whether this stream has been closed by both parties</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/eclipse/jetty/spdy/api/Stream.html#isHalfClosed()"><code>Stream.isHalfClosed()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/StandardStream.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 class="aboutLanguage"><em><script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1149868-7']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script></em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/eclipse/jetty/spdy/StandardSession.FrameBytes.html" title="interface in org.eclipse.jetty.spdy"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/eclipse/jetty/spdy/StreamException.html" title="class in org.eclipse.jetty.spdy"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/jetty/spdy/StandardStream.html" target="_top">Frames</a></li> |
| <li><a href="StandardStream.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.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> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </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 name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 1995-2017 <a href="http://webtide.com">Webtide</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |