| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.11) on Wed May 12 10:10:59 EDT 2021 --> |
| <title>ProtonStreamDecoder (Qpid ProtonJ2 Parent 1.0.0-M1 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2021-05-12"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-3.5.1.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ProtonStreamDecoder (Qpid ProtonJ2 Parent 1.0.0-M1 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ProtonStreamDecoder.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>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 id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.qpid.protonj2.codec.decoders</a></div> |
| <h2 title="Class ProtonStreamDecoder" class="title">Class ProtonStreamDecoder</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.qpid.protonj2.codec.decoders.ProtonStreamDecoder</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public final class <span class="typeNameLabel">ProtonStreamDecoder</span> |
| extends java.lang.Object |
| implements <a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></pre> |
| <div class="block">The default AMQP Decoder implementation.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">ProtonStreamDecoder</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="ProtonStreamDecoderState.html" title="class in org.apache.qpid.protonj2.codec.decoders">ProtonStreamDecoderState</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCachedDecoderState()">getCachedDecoderState</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Return a singleton <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> instance that is meant to be shared within single threaded |
| decoder interactions.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtonStreamDecoderState.html" title="class in org.apache.qpid.protonj2.codec.decoders">ProtonStreamDecoderState</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newDecoderState()">newDecoderState</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> instance that can be used when interacting with the |
| Decoder.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamTypeDecoder</a><?></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#peekNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">peekNextTypeDecoder</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> |
| <div class="block">Peeks ahead in the given <code>InputStream</code> instance and returns a <a href="../TypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>TypeDecoder</code></a> that can |
| read the next encoded AMQP type from the stream's bytes.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../types/Binary.html" title="class in org.apache.qpid.protonj2.types">Binary</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBinary(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readBinary</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../buffer/ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBinaryAsBuffer(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readBinaryAsBuffer</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>java.lang.Boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readBoolean</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,boolean)">readBoolean</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| boolean defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>java.lang.Byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readByte</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)">readByte</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| byte defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>java.lang.Character</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readCharacter</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>char</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,char)">readCharacter</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| char defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../types/Decimal128.html" title="class in org.apache.qpid.protonj2.types">Decimal128</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDecimal128(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDecimal128</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="../../types/Decimal32.html" title="class in org.apache.qpid.protonj2.types">Decimal32</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDecimal32(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDecimal32</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../types/Decimal64.html" title="class in org.apache.qpid.protonj2.types">Decimal64</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDecimal64(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDecimal64</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../types/DeliveryTag.html" title="interface in org.apache.qpid.protonj2.types">DeliveryTag</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDeliveryTag(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDeliveryTag</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> |
| <div class="block">This method expects to read a <a href="../../types/Binary.html" title="class in org.apache.qpid.protonj2.types"><code>Binary</code></a> encoded type from the provided buffer and |
| constructs a <a href="../../types/DeliveryTag.html" title="interface in org.apache.qpid.protonj2.types"><code>DeliveryTag</code></a> type that wraps the bytes encoded.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>java.lang.Double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDouble</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,double)">readDouble</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| double defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>java.lang.Float</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readFloat</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>float</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,float)">readFloat</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| float defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>java.lang.Integer</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readInteger</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">readInteger</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| int defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><V> java.util.List<V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readList(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readList</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>java.lang.Long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readLong</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readLong</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| long defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><K,​V><br>java.util.Map<K,​V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readMap(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readMap</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code><T> T[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readMultiple(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)">readMultiple</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| java.lang.Class<T> clazz)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code><a href="../StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamTypeDecoder</a><?></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readNextTypeDecoder</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> |
| <div class="block">Reads from the given <code>InputStream</code> instance and returns a <a href="../StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamTypeDecoder</code></a> that can |
| read the next encoded AMQP type from the stream's bytes.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>java.lang.Object</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readObject</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code><T> T</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)">readObject</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| java.lang.Class<T> clazz)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>java.lang.Short</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readShort</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>short</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)">readShort</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| short defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readString(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readString</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code><a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readSymbol</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.String)">readSymbol</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| java.lang.String defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>java.lang.Long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readTimestamp</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readTimestamp</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| long defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code><a href="../../types/UnsignedByte.html" title="class in org.apache.qpid.protonj2.types">UnsignedByte</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedByte</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)">readUnsignedByte</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| byte defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code><a href="../../types/UnsignedInteger.html" title="class in org.apache.qpid.protonj2.types">UnsignedInteger</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedInteger</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">readUnsignedInteger</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| int defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readUnsignedInteger</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| long defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code><a href="../../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types">UnsignedLong</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedLong</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readUnsignedLong</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| long defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code><a href="../../types/UnsignedShort.html" title="class in org.apache.qpid.protonj2.types">UnsignedShort</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedShort</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">readUnsignedShort</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| int defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>short</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)">readUnsignedShort</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| short defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>java.util.UUID</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readUUID(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUUID</a></span>​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code><V> <a href="ProtonStreamDecoder.html" title="class in org.apache.qpid.protonj2.codec.decoders">ProtonStreamDecoder</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#registerDescribedTypeDecoder(org.apache.qpid.protonj2.codec.StreamDescribedTypeDecoder)">registerDescribedTypeDecoder</a></span>​(<a href="../StreamDescribedTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDescribedTypeDecoder</a><V> decoder)</code></th> |
| <td class="colLast"> |
| <div class="block">Allows custom <a href="../StreamDescribedTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDescribedTypeDecoder</code></a> instances to be registered with this <a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a> |
| which will be used if the described type encoding is encountered during decode operations.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ProtonStreamDecoder</h4> |
| <pre>public ProtonStreamDecoder()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="newDecoderState()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newDecoderState</h4> |
| <pre class="methodSignature">public <a href="ProtonStreamDecoderState.html" title="class in org.apache.qpid.protonj2.codec.decoders">ProtonStreamDecoderState</a> newDecoderState()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../StreamDecoder.html#newDecoderState()">StreamDecoder</a></code></span></div> |
| <div class="block">Creates a new <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> instance that can be used when interacting with the |
| Decoder. For decoding that occurs on more than one thread while sharing a single |
| <a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a> instance a different state object per thread is required as the |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> object can retain some state information during the decode process |
| that could be corrupted if more than one thread were to share a single instance. |
| |
| For single threaded decoding work the <a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a> offers a utility |
| cached <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> API that will return the same instance on each call which can |
| reduce allocation overhead and make using the <a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a> simpler.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#newDecoderState()">newDecoderState</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a newly constructed <a href="../EncoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>EncoderState</code></a> instance.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getCachedDecoderState()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCachedDecoderState</h4> |
| <pre class="methodSignature">public <a href="ProtonStreamDecoderState.html" title="class in org.apache.qpid.protonj2.codec.decoders">ProtonStreamDecoderState</a> getCachedDecoderState()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../StreamDecoder.html#getCachedDecoderState()">StreamDecoder</a></code></span></div> |
| <div class="block">Return a singleton <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> instance that is meant to be shared within single threaded |
| decoder interactions. If more than one thread makes use of this cached <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> the |
| results of any decoding done using this state object is not guaranteed to be correct. The returned |
| instance will have its reset method called to ensure that any previously stored state data is cleared |
| before the next use.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#getCachedDecoderState()">getCachedDecoderState</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a cached <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoderState</code></a> linked to this Decoder instance that has been reset.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readObject</h4> |
| <pre class="methodSignature">public java.lang.Object readObject​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readObject</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readObject</h4> |
| <pre class="methodSignature">public <T> T readObject​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| java.lang.Class<T> clazz) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readObject(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)">readObject</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readMultiple(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readMultiple</h4> |
| <pre class="methodSignature">public <T> T[] readMultiple​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| java.lang.Class<T> clazz) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readMultiple(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.Class)">readMultiple</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readNextTypeDecoder</h4> |
| <pre class="methodSignature">public <a href="../StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamTypeDecoder</a><?> readNextTypeDecoder​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../StreamDecoder.html#readNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div> |
| <div class="block">Reads from the given <code>InputStream</code> instance and returns a <a href="../StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamTypeDecoder</code></a> that can |
| read the next encoded AMQP type from the stream's bytes. If an error occurs attempting to read |
| and determine the next type decoder an <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec"><code>DecodeException</code></a> is thrown.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readNextTypeDecoder</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>stream</code> - The stream to read from to determine the next <a href="../TypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>TypeDecoder</code></a> needed.</dd> |
| <dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> value that can be used for intermediate decoding tasks.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a <a href="../StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamTypeDecoder</code></a> instance that can read the next type in the buffer.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code> - if an error occurs while reading the next type decoder.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="peekNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>peekNextTypeDecoder</h4> |
| <pre class="methodSignature">public <a href="../StreamTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamTypeDecoder</a><?> peekNextTypeDecoder​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../StreamDecoder.html#peekNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div> |
| <div class="block">Peeks ahead in the given <code>InputStream</code> instance and returns a <a href="../TypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>TypeDecoder</code></a> that can |
| read the next encoded AMQP type from the stream's bytes. If an error occurs attempting to read |
| and determine the next type decoder an <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec"><code>DecodeException</code></a> is thrown. The underlying stream |
| is not modified as a result of the peek operation and the returned <a href="../TypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>TypeDecoder</code></a> will fail |
| to properly read the type until the encoding bytes are read. If the provided stream does not offer |
| support for the mark API than this method can throw an <code>UnsupportedOperationException</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#peekNextTypeDecoder(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">peekNextTypeDecoder</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>stream</code> - The stream to read from to determine the next <a href="../TypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>TypeDecoder</code></a> needed.</dd> |
| <dd><code>state</code> - The <a href="../DecoderState.html" title="interface in org.apache.qpid.protonj2.codec"><code>DecoderState</code></a> value that can be used for intermediate decoding tasks.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a <a href="../TypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>TypeDecoder</code></a> instance that can provide insight into the next type in the stream.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code> - if an error occurs while peeking ahead for the next type decoder.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="registerDescribedTypeDecoder(org.apache.qpid.protonj2.codec.StreamDescribedTypeDecoder)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>registerDescribedTypeDecoder</h4> |
| <pre class="methodSignature">public <V> <a href="ProtonStreamDecoder.html" title="class in org.apache.qpid.protonj2.codec.decoders">ProtonStreamDecoder</a> registerDescribedTypeDecoder​(<a href="../StreamDescribedTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDescribedTypeDecoder</a><V> decoder)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../StreamDecoder.html#registerDescribedTypeDecoder(org.apache.qpid.protonj2.codec.StreamDescribedTypeDecoder)">StreamDecoder</a></code></span></div> |
| <div class="block">Allows custom <a href="../StreamDescribedTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDescribedTypeDecoder</code></a> instances to be registered with this <a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a> |
| which will be used if the described type encoding is encountered during decode operations.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#registerDescribedTypeDecoder(org.apache.qpid.protonj2.codec.StreamDescribedTypeDecoder)">registerDescribedTypeDecoder</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>V</code> - The type that the decoder reads.</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>decoder</code> - A <a href="../StreamDescribedTypeDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDescribedTypeDecoder</code></a> instance to be registered with this <a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this <a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec"><code>StreamDecoder</code></a> instance.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readBoolean</h4> |
| <pre class="methodSignature">public java.lang.Boolean readBoolean​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readBoolean</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readBoolean</h4> |
| <pre class="methodSignature">public boolean readBoolean​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| boolean defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readBoolean(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,boolean)">readBoolean</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readByte</h4> |
| <pre class="methodSignature">public java.lang.Byte readByte​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readByte</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readByte</h4> |
| <pre class="methodSignature">public byte readByte​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| byte defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)">readByte</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readUnsignedByte</h4> |
| <pre class="methodSignature">public <a href="../../types/UnsignedByte.html" title="class in org.apache.qpid.protonj2.types">UnsignedByte</a> readUnsignedByte​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedByte</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readUnsignedByte</h4> |
| <pre class="methodSignature">public byte readUnsignedByte​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| byte defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readUnsignedByte(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,byte)">readUnsignedByte</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readCharacter</h4> |
| <pre class="methodSignature">public java.lang.Character readCharacter​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readCharacter</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,char)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readCharacter</h4> |
| <pre class="methodSignature">public char readCharacter​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| char defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readCharacter(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,char)">readCharacter</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readDecimal32(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readDecimal32</h4> |
| <pre class="methodSignature">public <a href="../../types/Decimal32.html" title="class in org.apache.qpid.protonj2.types">Decimal32</a> readDecimal32​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readDecimal32(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDecimal32</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readDecimal64(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readDecimal64</h4> |
| <pre class="methodSignature">public <a href="../../types/Decimal64.html" title="class in org.apache.qpid.protonj2.types">Decimal64</a> readDecimal64​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readDecimal64(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDecimal64</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readDecimal128(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readDecimal128</h4> |
| <pre class="methodSignature">public <a href="../../types/Decimal128.html" title="class in org.apache.qpid.protonj2.types">Decimal128</a> readDecimal128​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readDecimal128(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDecimal128</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readShort</h4> |
| <pre class="methodSignature">public java.lang.Short readShort​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readShort</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readShort</h4> |
| <pre class="methodSignature">public short readShort​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| short defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)">readShort</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readUnsignedShort</h4> |
| <pre class="methodSignature">public <a href="../../types/UnsignedShort.html" title="class in org.apache.qpid.protonj2.types">UnsignedShort</a> readUnsignedShort​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedShort</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readUnsignedShort</h4> |
| <pre class="methodSignature">public short readUnsignedShort​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| short defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,short)">readUnsignedShort</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readUnsignedShort</h4> |
| <pre class="methodSignature">public int readUnsignedShort​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| int defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readUnsignedShort(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">readUnsignedShort</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readInteger</h4> |
| <pre class="methodSignature">public java.lang.Integer readInteger​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readInteger</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readInteger</h4> |
| <pre class="methodSignature">public int readInteger​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| int defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">readInteger</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readUnsignedInteger</h4> |
| <pre class="methodSignature">public <a href="../../types/UnsignedInteger.html" title="class in org.apache.qpid.protonj2.types">UnsignedInteger</a> readUnsignedInteger​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedInteger</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readUnsignedInteger</h4> |
| <pre class="methodSignature">public int readUnsignedInteger​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| int defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,int)">readUnsignedInteger</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readUnsignedInteger</h4> |
| <pre class="methodSignature">public long readUnsignedInteger​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| long defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readUnsignedInteger(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readUnsignedInteger</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readLong</h4> |
| <pre class="methodSignature">public java.lang.Long readLong​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readLong</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readLong</h4> |
| <pre class="methodSignature">public long readLong​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| long defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readLong</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readUnsignedLong</h4> |
| <pre class="methodSignature">public <a href="../../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types">UnsignedLong</a> readUnsignedLong​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUnsignedLong</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readUnsignedLong</h4> |
| <pre class="methodSignature">public long readUnsignedLong​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| long defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readUnsignedLong(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readUnsignedLong</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readFloat</h4> |
| <pre class="methodSignature">public java.lang.Float readFloat​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readFloat</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,float)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readFloat</h4> |
| <pre class="methodSignature">public float readFloat​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| float defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readFloat(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,float)">readFloat</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readDouble</h4> |
| <pre class="methodSignature">public java.lang.Double readDouble​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDouble</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readDouble</h4> |
| <pre class="methodSignature">public double readDouble​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| double defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readDouble(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,double)">readDouble</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readBinary(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readBinary</h4> |
| <pre class="methodSignature">public <a href="../../types/Binary.html" title="class in org.apache.qpid.protonj2.types">Binary</a> readBinary​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readBinary(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readBinary</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readBinaryAsBuffer(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readBinaryAsBuffer</h4> |
| <pre class="methodSignature">public <a href="../../buffer/ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> readBinaryAsBuffer​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readBinaryAsBuffer(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readBinaryAsBuffer</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readDeliveryTag(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readDeliveryTag</h4> |
| <pre class="methodSignature">public <a href="../../types/DeliveryTag.html" title="interface in org.apache.qpid.protonj2.types">DeliveryTag</a> readDeliveryTag​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../StreamDecoder.html#readDeliveryTag(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">StreamDecoder</a></code></span></div> |
| <div class="block">This method expects to read a <a href="../../types/Binary.html" title="class in org.apache.qpid.protonj2.types"><code>Binary</code></a> encoded type from the provided buffer and |
| constructs a <a href="../../types/DeliveryTag.html" title="interface in org.apache.qpid.protonj2.types"><code>DeliveryTag</code></a> type that wraps the bytes encoded. If the encoding is |
| a NULL AMQP type then this method returns <code>null</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readDeliveryTag(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readDeliveryTag</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>stream</code> - The <code>InputStream</code> to read a Binary encoded value from</dd> |
| <dd><code>state</code> - The current encoding state.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new DeliveryTag instance or null if an AMQP NULL encoding is found.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code> - if an error occurs while decoding the <a href="../../types/DeliveryTag.html" title="interface in org.apache.qpid.protonj2.types"><code>DeliveryTag</code></a> instance.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readString(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readString</h4> |
| <pre class="methodSignature">public java.lang.String readString​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readString(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readString</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readSymbol</h4> |
| <pre class="methodSignature">public <a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a> readSymbol​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readSymbol</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readSymbol</h4> |
| <pre class="methodSignature">public java.lang.String readSymbol​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| java.lang.String defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readSymbol(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,java.lang.String)">readSymbol</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readTimestamp</h4> |
| <pre class="methodSignature">public java.lang.Long readTimestamp​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readTimestamp</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readTimestamp</h4> |
| <pre class="methodSignature">public long readTimestamp​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state, |
| long defaultValue) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readTimestamp(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState,long)">readTimestamp</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readUUID(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readUUID</h4> |
| <pre class="methodSignature">public java.util.UUID readUUID​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readUUID(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readUUID</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readMap(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readMap</h4> |
| <pre class="methodSignature">public <K,​V> java.util.Map<K,​V> readMap​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readMap(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readMap</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="readList(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>readList</h4> |
| <pre class="methodSignature">public <V> java.util.List<V> readList​(java.io.InputStream stream, |
| <a href="../StreamDecoderState.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoderState</a> state) |
| throws <a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../StreamDecoder.html#readList(java.io.InputStream,org.apache.qpid.protonj2.codec.StreamDecoderState)">readList</a></code> in interface <code><a href="../StreamDecoder.html" title="interface in org.apache.qpid.protonj2.codec">StreamDecoder</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../DecodeException.html" title="class in org.apache.qpid.protonj2.codec">DecodeException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ProtonStreamDecoder.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>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 id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |