hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1675075 [19/20] - in /httpcomponents/site/httpcomponents-asyncclient-4.1.x: ./ httpasyncclient-cache/ httpasyncclient-cache/apidocs/ httpasyncclient-cache/apidocs/org/apache/http/impl/client/cache/ httpasyncclient-cache/apidocs/org/apache/...
Date Tue, 21 Apr 2015 09:46:20 GMT
Modified: httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/impl/nio/conn/package-frame.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/impl/nio/conn/package-frame.html?rev=1675075&r1=1675074&r2=1675075&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/impl/nio/conn/package-frame.html
(original)
+++ httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/impl/nio/conn/package-frame.html
Tue Apr 21 09:46:17 2015
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpAsyncClient 4.1-beta1 Reference Package org.apache.http.impl.nio.conn</title>
+		<title>Apache HttpAsyncClient 4.1 Reference Package org.apache.http.impl.nio.conn</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style"
/>
 	</head>
 	<body>

Modified: httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/impl/nio/conn/package-summary.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/impl/nio/conn/package-summary.html?rev=1675075&r1=1675074&r2=1675075&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/impl/nio/conn/package-summary.html
(original)
+++ httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/impl/nio/conn/package-summary.html
Tue Apr 21 09:46:17 2015
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpAsyncClient 4.1-beta1 Reference Package org.apache.http.impl.nio.conn</title>
+		<title>Apache HttpAsyncClient 4.1 Reference Package org.apache.http.impl.nio.conn</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style"
/>
 	</head>
 	<body>
@@ -167,6 +167,6 @@
         	</ul>
       	</div>
 				<hr />
-		Copyright &#169; 2010-2014 The Apache Software Foundation. All Rights Reserved.
+		Copyright &#169; 2010-2015 The Apache Software Foundation. All Rights Reserved.
 	</body>
 </html>

Modified: httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/methods/AsyncCharConsumer.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/methods/AsyncCharConsumer.html?rev=1675075&r1=1675074&r2=1675075&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/methods/AsyncCharConsumer.html
(original)
+++ httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/methods/AsyncCharConsumer.html
Tue Apr 21 09:46:17 2015
@@ -64,78 +64,90 @@
 <a class="jxr_linenumber" name="54" href="#54">54</a>      <strong class="jxr_keyword">private</strong>
<strong class="jxr_keyword">final</strong> CharBuffer cbuf;
 <a class="jxr_linenumber" name="55" href="#55">55</a>  
 <a class="jxr_linenumber" name="56" href="#56">56</a>      <strong class="jxr_keyword">private</strong>
CharsetDecoder chardecoder;
-<a class="jxr_linenumber" name="57" href="#57">57</a>      <strong class="jxr_keyword">private</strong>
ContentType contentType;
-<a class="jxr_linenumber" name="58" href="#58">58</a>  
-<a class="jxr_linenumber" name="59" href="#59">59</a>      <strong class="jxr_keyword">public</strong>
<a href="../../../../../../org/apache/http/nio/client/methods/AsyncCharConsumer.html">AsyncCharConsumer</a>(<strong
class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong>
bufSize) {
-<a class="jxr_linenumber" name="60" href="#60">60</a>          <strong class="jxr_keyword">super</strong>();
-<a class="jxr_linenumber" name="61" href="#61">61</a>          <strong class="jxr_keyword">this</strong>.bbuf
= ByteBuffer.allocate(bufSize);
-<a class="jxr_linenumber" name="62" href="#62">62</a>          <strong class="jxr_keyword">this</strong>.cbuf
= CharBuffer.allocate(bufSize);
-<a class="jxr_linenumber" name="63" href="#63">63</a>      }
-<a class="jxr_linenumber" name="64" href="#64">64</a>  
-<a class="jxr_linenumber" name="65" href="#65">65</a>      <strong class="jxr_keyword">public</strong>
<a href="../../../../../../org/apache/http/nio/client/methods/AsyncCharConsumer.html">AsyncCharConsumer</a>()
{
-<a class="jxr_linenumber" name="66" href="#66">66</a>          <strong class="jxr_keyword">this</strong>(8
* 1024);
-<a class="jxr_linenumber" name="67" href="#67">67</a>      }
-<a class="jxr_linenumber" name="68" href="#68">68</a>  
-<a class="jxr_linenumber" name="69" href="#69">69</a>      <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="70" href="#70">70</a>  <em class="jxr_javadoccomment">
    * Invoked to process a {@link CharBuffer chunk} of content.</em>
-<a class="jxr_linenumber" name="71" href="#71">71</a>  <em class="jxr_javadoccomment">
    * The {@link IOControl} interface can be used to suspend input events</em>
-<a class="jxr_linenumber" name="72" href="#72">72</a>  <em class="jxr_javadoccomment">
    * if the consumer is temporarily unable to consume more content.</em>
-<a class="jxr_linenumber" name="73" href="#73">73</a>  <em class="jxr_javadoccomment">
    *</em>
-<a class="jxr_linenumber" name="74" href="#74">74</a>  <em class="jxr_javadoccomment">
    * @param buf chunk of content.</em>
-<a class="jxr_linenumber" name="75" href="#75">75</a>  <em class="jxr_javadoccomment">
    * @param ioctrl I/O control of the underlying connection.</em>
-<a class="jxr_linenumber" name="76" href="#76">76</a>  <em class="jxr_javadoccomment">
    * @throws IOException in case of an I/O error</em>
-<a class="jxr_linenumber" name="77" href="#77">77</a>  <em class="jxr_javadoccomment">
    */</em>
-<a class="jxr_linenumber" name="78" href="#78">78</a>      <strong class="jxr_keyword">protected</strong>
<strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong>
onCharReceived(
-<a class="jxr_linenumber" name="79" href="#79">79</a>              CharBuffer
buf, IOControl ioctrl) <strong class="jxr_keyword">throws</strong> IOException;
-<a class="jxr_linenumber" name="80" href="#80">80</a>  
-<a class="jxr_linenumber" name="81" href="#81">81</a>      @Override
-<a class="jxr_linenumber" name="82" href="#82">82</a>      <strong class="jxr_keyword">protected</strong>
<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">void</strong>
onEntityEnclosed(
-<a class="jxr_linenumber" name="83" href="#83">83</a>              <strong
class="jxr_keyword">final</strong> HttpEntity entity, <strong class="jxr_keyword">final</strong>
ContentType contentType) <strong class="jxr_keyword">throws</strong> IOException
{
-<a class="jxr_linenumber" name="84" href="#84">84</a>          <strong class="jxr_keyword">this</strong>.contentType
= contentType != <strong class="jxr_keyword">null</strong> ? contentType : ContentType.DEFAULT_TEXT;
-<a class="jxr_linenumber" name="85" href="#85">85</a>          Charset charset
= <strong class="jxr_keyword">this</strong>.contentType.getCharset();
-<a class="jxr_linenumber" name="86" href="#86">86</a>          <strong class="jxr_keyword">if</strong>
(charset == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="87" href="#87">87</a>              charset =
HTTP.DEF_CONTENT_CHARSET;
-<a class="jxr_linenumber" name="88" href="#88">88</a>          }
-<a class="jxr_linenumber" name="89" href="#89">89</a>          <strong class="jxr_keyword">this</strong>.chardecoder
= charset.newDecoder();
-<a class="jxr_linenumber" name="90" href="#90">90</a>      }
-<a class="jxr_linenumber" name="91" href="#91">91</a>  
-<a class="jxr_linenumber" name="92" href="#92">92</a>      @Override
-<a class="jxr_linenumber" name="93" href="#93">93</a>      <strong class="jxr_keyword">protected</strong>
<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">void</strong>
onContentReceived(
-<a class="jxr_linenumber" name="94" href="#94">94</a>              <strong
class="jxr_keyword">final</strong> ContentDecoder decoder, <strong class="jxr_keyword">final</strong>
IOControl ioctrl) <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="95" href="#95">95</a>          Asserts.notNull(<strong
class="jxr_keyword">this</strong>.bbuf, <span class="jxr_string">"Byte buffer"</span>);
-<a class="jxr_linenumber" name="96" href="#96">96</a>  
-<a class="jxr_linenumber" name="97" href="#97">97</a>          <strong class="jxr_keyword">final</strong>
<strong class="jxr_keyword">int</strong> bytesRead = decoder.read(<strong class="jxr_keyword">this</strong>.bbuf);
-<a class="jxr_linenumber" name="98" href="#98">98</a>          <strong class="jxr_keyword">if</strong>
(bytesRead &lt;= 0) {
-<a class="jxr_linenumber" name="99" href="#99">99</a>              <strong
class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="100" href="#100">100</a>         }
-<a class="jxr_linenumber" name="101" href="#101">101</a>         <strong class="jxr_keyword">this</strong>.bbuf.flip();
-<a class="jxr_linenumber" name="102" href="#102">102</a>         <strong class="jxr_keyword">final</strong>
<strong class="jxr_keyword">boolean</strong> completed = decoder.isCompleted();
-<a class="jxr_linenumber" name="103" href="#103">103</a>         CoderResult
result = <strong class="jxr_keyword">this</strong>.chardecoder.decode(<strong
class="jxr_keyword">this</strong>.bbuf, <strong class="jxr_keyword">this</strong>.cbuf,
completed);
-<a class="jxr_linenumber" name="104" href="#104">104</a>         handleDecodingResult(result,
ioctrl);
-<a class="jxr_linenumber" name="105" href="#105">105</a>         <strong class="jxr_keyword">this</strong>.bbuf.compact();
-<a class="jxr_linenumber" name="106" href="#106">106</a>         <strong class="jxr_keyword">if</strong>
(completed) {
-<a class="jxr_linenumber" name="107" href="#107">107</a>             result =
<strong class="jxr_keyword">this</strong>.chardecoder.flush(<strong class="jxr_keyword">this</strong>.cbuf);
-<a class="jxr_linenumber" name="108" href="#108">108</a>             handleDecodingResult(result,
ioctrl);
-<a class="jxr_linenumber" name="109" href="#109">109</a>         }
-<a class="jxr_linenumber" name="110" href="#110">110</a>     }
-<a class="jxr_linenumber" name="111" href="#111">111</a> 
-<a class="jxr_linenumber" name="112" href="#112">112</a>     <strong class="jxr_keyword">private</strong>
<strong class="jxr_keyword">void</strong> handleDecodingResult(
-<a class="jxr_linenumber" name="113" href="#113">113</a>             <strong
class="jxr_keyword">final</strong> CoderResult result, <strong class="jxr_keyword">final</strong>
IOControl ioctrl) <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="114" href="#114">114</a>         <strong class="jxr_keyword">if</strong>
(result.isError()) {
-<a class="jxr_linenumber" name="115" href="#115">115</a>             result.throwException();
-<a class="jxr_linenumber" name="116" href="#116">116</a>         }
-<a class="jxr_linenumber" name="117" href="#117">117</a>         <strong class="jxr_keyword">this</strong>.cbuf.flip();
-<a class="jxr_linenumber" name="118" href="#118">118</a>         <strong class="jxr_keyword">if</strong>
(<strong class="jxr_keyword">this</strong>.cbuf.hasRemaining()) {
-<a class="jxr_linenumber" name="119" href="#119">119</a>             onCharReceived(<strong
class="jxr_keyword">this</strong>.cbuf, ioctrl);
-<a class="jxr_linenumber" name="120" href="#120">120</a>         }
-<a class="jxr_linenumber" name="121" href="#121">121</a>         <strong class="jxr_keyword">this</strong>.cbuf.clear();
+<a class="jxr_linenumber" name="57" href="#57">57</a>  
+<a class="jxr_linenumber" name="58" href="#58">58</a>      <strong class="jxr_keyword">public</strong>
<a href="../../../../../../org/apache/http/nio/client/methods/AsyncCharConsumer.html">AsyncCharConsumer</a>(<strong
class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong>
bufSize) {
+<a class="jxr_linenumber" name="59" href="#59">59</a>          <strong class="jxr_keyword">super</strong>();
+<a class="jxr_linenumber" name="60" href="#60">60</a>          <strong class="jxr_keyword">this</strong>.bbuf
= ByteBuffer.allocate(bufSize);
+<a class="jxr_linenumber" name="61" href="#61">61</a>          <strong class="jxr_keyword">this</strong>.cbuf
= CharBuffer.allocate(bufSize);
+<a class="jxr_linenumber" name="62" href="#62">62</a>      }
+<a class="jxr_linenumber" name="63" href="#63">63</a>  
+<a class="jxr_linenumber" name="64" href="#64">64</a>      <strong class="jxr_keyword">public</strong>
<a href="../../../../../../org/apache/http/nio/client/methods/AsyncCharConsumer.html">AsyncCharConsumer</a>()
{
+<a class="jxr_linenumber" name="65" href="#65">65</a>          <strong class="jxr_keyword">this</strong>(8
* 1024);
+<a class="jxr_linenumber" name="66" href="#66">66</a>      }
+<a class="jxr_linenumber" name="67" href="#67">67</a>  
+<a class="jxr_linenumber" name="68" href="#68">68</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="69" href="#69">69</a>  <em class="jxr_javadoccomment">
    * Invoked to process a {@link CharBuffer chunk} of content.</em>
+<a class="jxr_linenumber" name="70" href="#70">70</a>  <em class="jxr_javadoccomment">
    * The {@link IOControl} interface can be used to suspend input events</em>
+<a class="jxr_linenumber" name="71" href="#71">71</a>  <em class="jxr_javadoccomment">
    * if the consumer is temporarily unable to consume more content.</em>
+<a class="jxr_linenumber" name="72" href="#72">72</a>  <em class="jxr_javadoccomment">
    *</em>
+<a class="jxr_linenumber" name="73" href="#73">73</a>  <em class="jxr_javadoccomment">
    * @param buf chunk of content.</em>
+<a class="jxr_linenumber" name="74" href="#74">74</a>  <em class="jxr_javadoccomment">
    * @param ioctrl I/O control of the underlying connection.</em>
+<a class="jxr_linenumber" name="75" href="#75">75</a>  <em class="jxr_javadoccomment">
    * @throws IOException in case of an I/O error</em>
+<a class="jxr_linenumber" name="76" href="#76">76</a>  <em class="jxr_javadoccomment">
    */</em>
+<a class="jxr_linenumber" name="77" href="#77">77</a>      <strong class="jxr_keyword">protected</strong>
<strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong>
onCharReceived(
+<a class="jxr_linenumber" name="78" href="#78">78</a>              CharBuffer
buf, IOControl ioctrl) <strong class="jxr_keyword">throws</strong> IOException;
+<a class="jxr_linenumber" name="79" href="#79">79</a>  
+<a class="jxr_linenumber" name="80" href="#80">80</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="81" href="#81">81</a>  <em class="jxr_javadoccomment">
    * Invoked to create a @{link CharsetDecoder} for contentType.</em>
+<a class="jxr_linenumber" name="82" href="#82">82</a>  <em class="jxr_javadoccomment">
    * This allows to use different default charsets for different content</em>
+<a class="jxr_linenumber" name="83" href="#83">83</a>  <em class="jxr_javadoccomment">
    * types and set appropriate coding error actions.</em>
+<a class="jxr_linenumber" name="84" href="#84">84</a>  <em class="jxr_javadoccomment">
    *</em>
+<a class="jxr_linenumber" name="85" href="#85">85</a>  <em class="jxr_javadoccomment">
    * @param contentType response Content-Type or null if not specified.</em>
+<a class="jxr_linenumber" name="86" href="#86">86</a>  <em class="jxr_javadoccomment">
    * @return content decoder.</em>
+<a class="jxr_linenumber" name="87" href="#87">87</a>  <em class="jxr_javadoccomment">
    *</em>
+<a class="jxr_linenumber" name="88" href="#88">88</a>  <em class="jxr_javadoccomment">
    * @since 4.1</em>
+<a class="jxr_linenumber" name="89" href="#89">89</a>  <em class="jxr_javadoccomment">
    */</em>
+<a class="jxr_linenumber" name="90" href="#90">90</a>      <strong class="jxr_keyword">protected</strong>
CharsetDecoder createDecoder(<strong class="jxr_keyword">final</strong> ContentType
contentType) {
+<a class="jxr_linenumber" name="91" href="#91">91</a>          Charset charset
= contentType != <strong class="jxr_keyword">null</strong> ? contentType.getCharset()
: <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="92" href="#92">92</a>          <strong class="jxr_keyword">if</strong>
(charset == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="93" href="#93">93</a>              charset =
HTTP.DEF_CONTENT_CHARSET;
+<a class="jxr_linenumber" name="94" href="#94">94</a>          }
+<a class="jxr_linenumber" name="95" href="#95">95</a>          <strong class="jxr_keyword">return</strong>
charset.newDecoder();
+<a class="jxr_linenumber" name="96" href="#96">96</a>      }
+<a class="jxr_linenumber" name="97" href="#97">97</a>  
+<a class="jxr_linenumber" name="98" href="#98">98</a>      @Override
+<a class="jxr_linenumber" name="99" href="#99">99</a>      <strong class="jxr_keyword">protected</strong>
<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">void</strong>
onEntityEnclosed(
+<a class="jxr_linenumber" name="100" href="#100">100</a>             <strong
class="jxr_keyword">final</strong> HttpEntity entity, <strong class="jxr_keyword">final</strong>
ContentType contentType) <strong class="jxr_keyword">throws</strong> IOException
{
+<a class="jxr_linenumber" name="101" href="#101">101</a>         <strong class="jxr_keyword">this</strong>.chardecoder
= createDecoder(contentType != <strong class="jxr_keyword">null</strong> ? contentType
: ContentType.DEFAULT_TEXT);
+<a class="jxr_linenumber" name="102" href="#102">102</a>     }
+<a class="jxr_linenumber" name="103" href="#103">103</a> 
+<a class="jxr_linenumber" name="104" href="#104">104</a>     @Override
+<a class="jxr_linenumber" name="105" href="#105">105</a>     <strong class="jxr_keyword">protected</strong>
<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">void</strong>
onContentReceived(
+<a class="jxr_linenumber" name="106" href="#106">106</a>             <strong
class="jxr_keyword">final</strong> ContentDecoder decoder, <strong class="jxr_keyword">final</strong>
IOControl ioctrl) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="107" href="#107">107</a>         Asserts.notNull(<strong
class="jxr_keyword">this</strong>.bbuf, <span class="jxr_string">"Byte buffer"</span>);
+<a class="jxr_linenumber" name="108" href="#108">108</a> 
+<a class="jxr_linenumber" name="109" href="#109">109</a>         <strong class="jxr_keyword">final</strong>
<strong class="jxr_keyword">int</strong> bytesRead = decoder.read(<strong class="jxr_keyword">this</strong>.bbuf);
+<a class="jxr_linenumber" name="110" href="#110">110</a>         <strong class="jxr_keyword">if</strong>
(bytesRead &lt;= 0) {
+<a class="jxr_linenumber" name="111" href="#111">111</a>             <strong
class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="112" href="#112">112</a>         }
+<a class="jxr_linenumber" name="113" href="#113">113</a>         <strong class="jxr_keyword">this</strong>.bbuf.flip();
+<a class="jxr_linenumber" name="114" href="#114">114</a>         <strong class="jxr_keyword">final</strong>
<strong class="jxr_keyword">boolean</strong> completed = decoder.isCompleted();
+<a class="jxr_linenumber" name="115" href="#115">115</a>         CoderResult
result = <strong class="jxr_keyword">this</strong>.chardecoder.decode(<strong
class="jxr_keyword">this</strong>.bbuf, <strong class="jxr_keyword">this</strong>.cbuf,
completed);
+<a class="jxr_linenumber" name="116" href="#116">116</a>         handleDecodingResult(result,
ioctrl);
+<a class="jxr_linenumber" name="117" href="#117">117</a>         <strong class="jxr_keyword">this</strong>.bbuf.compact();
+<a class="jxr_linenumber" name="118" href="#118">118</a>         <strong class="jxr_keyword">if</strong>
(completed) {
+<a class="jxr_linenumber" name="119" href="#119">119</a>             result =
<strong class="jxr_keyword">this</strong>.chardecoder.flush(<strong class="jxr_keyword">this</strong>.cbuf);
+<a class="jxr_linenumber" name="120" href="#120">120</a>             handleDecodingResult(result,
ioctrl);
+<a class="jxr_linenumber" name="121" href="#121">121</a>         }
 <a class="jxr_linenumber" name="122" href="#122">122</a>     }
 <a class="jxr_linenumber" name="123" href="#123">123</a> 
-<a class="jxr_linenumber" name="124" href="#124">124</a>     @Override
-<a class="jxr_linenumber" name="125" href="#125">125</a>     <strong class="jxr_keyword">protected</strong>
<strong class="jxr_keyword">void</strong> releaseResources() {
-<a class="jxr_linenumber" name="126" href="#126">126</a>     }
-<a class="jxr_linenumber" name="127" href="#127">127</a> 
-<a class="jxr_linenumber" name="128" href="#128">128</a> }
+<a class="jxr_linenumber" name="124" href="#124">124</a>     <strong class="jxr_keyword">private</strong>
<strong class="jxr_keyword">void</strong> handleDecodingResult(
+<a class="jxr_linenumber" name="125" href="#125">125</a>             <strong
class="jxr_keyword">final</strong> CoderResult result, <strong class="jxr_keyword">final</strong>
IOControl ioctrl) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="126" href="#126">126</a>         <strong class="jxr_keyword">if</strong>
(result.isError()) {
+<a class="jxr_linenumber" name="127" href="#127">127</a>             result.throwException();
+<a class="jxr_linenumber" name="128" href="#128">128</a>         }
+<a class="jxr_linenumber" name="129" href="#129">129</a>         <strong class="jxr_keyword">this</strong>.cbuf.flip();
+<a class="jxr_linenumber" name="130" href="#130">130</a>         <strong class="jxr_keyword">if</strong>
(<strong class="jxr_keyword">this</strong>.cbuf.hasRemaining()) {
+<a class="jxr_linenumber" name="131" href="#131">131</a>             onCharReceived(<strong
class="jxr_keyword">this</strong>.cbuf, ioctrl);
+<a class="jxr_linenumber" name="132" href="#132">132</a>         }
+<a class="jxr_linenumber" name="133" href="#133">133</a>         <strong class="jxr_keyword">this</strong>.cbuf.clear();
+<a class="jxr_linenumber" name="134" href="#134">134</a>     }
+<a class="jxr_linenumber" name="135" href="#135">135</a> 
+<a class="jxr_linenumber" name="136" href="#136">136</a>     @Override
+<a class="jxr_linenumber" name="137" href="#137">137</a>     <strong class="jxr_keyword">protected</strong>
<strong class="jxr_keyword">void</strong> releaseResources() {
+<a class="jxr_linenumber" name="138" href="#138">138</a>     }
+<a class="jxr_linenumber" name="139" href="#139">139</a> 
+<a class="jxr_linenumber" name="140" href="#140">140</a> }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>

Modified: httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/methods/package-frame.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/methods/package-frame.html?rev=1675075&r1=1675074&r2=1675075&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/methods/package-frame.html
(original)
+++ httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/methods/package-frame.html
Tue Apr 21 09:46:17 2015
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpAsyncClient 4.1-beta1 Reference Package org.apache.http.nio.client.methods</title>
+		<title>Apache HttpAsyncClient 4.1 Reference Package org.apache.http.nio.client.methods</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style"
/>
 	</head>
 	<body>

Modified: httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/methods/package-summary.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/methods/package-summary.html?rev=1675075&r1=1675074&r2=1675075&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/methods/package-summary.html
(original)
+++ httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/methods/package-summary.html
Tue Apr 21 09:46:17 2015
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpAsyncClient 4.1-beta1 Reference Package org.apache.http.nio.client.methods</title>
+		<title>Apache HttpAsyncClient 4.1 Reference Package org.apache.http.nio.client.methods</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style"
/>
 	</head>
 	<body>
@@ -97,6 +97,6 @@
         	</ul>
       	</div>
 				<hr />
-		Copyright &#169; 2010-2014 The Apache Software Foundation. All Rights Reserved.
+		Copyright &#169; 2010-2015 The Apache Software Foundation. All Rights Reserved.
 	</body>
 </html>

Modified: httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/package-frame.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/package-frame.html?rev=1675075&r1=1675074&r2=1675075&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/package-frame.html
(original)
+++ httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/package-frame.html
Tue Apr 21 09:46:17 2015
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpAsyncClient 4.1-beta1 Reference Package org.apache.http.nio.client</title>
+		<title>Apache HttpAsyncClient 4.1 Reference Package org.apache.http.nio.client</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style"
/>
 	</head>
 	<body>

Modified: httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/package-summary.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/package-summary.html?rev=1675075&r1=1675074&r2=1675075&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/package-summary.html
(original)
+++ httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/package-summary.html
Tue Apr 21 09:46:17 2015
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpAsyncClient 4.1-beta1 Reference Package org.apache.http.nio.client</title>
+		<title>Apache HttpAsyncClient 4.1 Reference Package org.apache.http.nio.client</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style"
/>
 	</head>
 	<body>
@@ -67,6 +67,6 @@
         	</ul>
       	</div>
 				<hr />
-		Copyright &#169; 2010-2014 The Apache Software Foundation. All Rights Reserved.
+		Copyright &#169; 2010-2015 The Apache Software Foundation. All Rights Reserved.
 	</body>
 </html>

Modified: httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/util/package-frame.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/util/package-frame.html?rev=1675075&r1=1675074&r2=1675075&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/util/package-frame.html
(original)
+++ httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/util/package-frame.html
Tue Apr 21 09:46:17 2015
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpAsyncClient 4.1-beta1 Reference Package org.apache.http.nio.client.util</title>
+		<title>Apache HttpAsyncClient 4.1 Reference Package org.apache.http.nio.client.util</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style"
/>
 	</head>
 	<body>

Modified: httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/util/package-summary.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/util/package-summary.html?rev=1675075&r1=1675074&r2=1675075&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/util/package-summary.html
(original)
+++ httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/client/util/package-summary.html
Tue Apr 21 09:46:17 2015
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpAsyncClient 4.1-beta1 Reference Package org.apache.http.nio.client.util</title>
+		<title>Apache HttpAsyncClient 4.1 Reference Package org.apache.http.nio.client.util</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style"
/>
 	</head>
 	<body>
@@ -62,6 +62,6 @@
         	</ul>
       	</div>
 				<hr />
-		Copyright &#169; 2010-2014 The Apache Software Foundation. All Rights Reserved.
+		Copyright &#169; 2010-2015 The Apache Software Foundation. All Rights Reserved.
 	</body>
 </html>

Modified: httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/package-frame.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/package-frame.html?rev=1675075&r1=1675074&r2=1675075&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/package-frame.html
(original)
+++ httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/package-frame.html
Tue Apr 21 09:46:17 2015
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpAsyncClient 4.1-beta1 Reference Package org.apache.http.nio.conn</title>
+		<title>Apache HttpAsyncClient 4.1 Reference Package org.apache.http.nio.conn</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style"
/>
 	</head>
 	<body>

Modified: httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/package-summary.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/package-summary.html?rev=1675075&r1=1675074&r2=1675075&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/package-summary.html
(original)
+++ httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/package-summary.html
Tue Apr 21 09:46:17 2015
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpAsyncClient 4.1-beta1 Reference Package org.apache.http.nio.conn</title>
+		<title>Apache HttpAsyncClient 4.1 Reference Package org.apache.http.nio.conn</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style"
/>
 	</head>
 	<body>
@@ -102,6 +102,6 @@
         	</ul>
       	</div>
 				<hr />
-		Copyright &#169; 2010-2014 The Apache Software Foundation. All Rights Reserved.
+		Copyright &#169; 2010-2015 The Apache Software Foundation. All Rights Reserved.
 	</body>
 </html>

Modified: httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/scheme/package-frame.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/scheme/package-frame.html?rev=1675075&r1=1675074&r2=1675075&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/scheme/package-frame.html
(original)
+++ httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/scheme/package-frame.html
Tue Apr 21 09:46:17 2015
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpAsyncClient 4.1-beta1 Reference Package org.apache.http.nio.conn.scheme</title>
+		<title>Apache HttpAsyncClient 4.1 Reference Package org.apache.http.nio.conn.scheme</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style"
/>
 	</head>
 	<body>

Modified: httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/scheme/package-summary.html
URL: http://svn.apache.org/viewvc/httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/scheme/package-summary.html?rev=1675075&r1=1675074&r2=1675075&view=diff
==============================================================================
--- httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/scheme/package-summary.html
(original)
+++ httpcomponents/site/httpcomponents-asyncclient-4.1.x/httpasyncclient/xref/org/apache/http/nio/conn/scheme/package-summary.html
Tue Apr 21 09:46:17 2015
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache HttpAsyncClient 4.1-beta1 Reference Package org.apache.http.nio.conn.scheme</title>
+		<title>Apache HttpAsyncClient 4.1 Reference Package org.apache.http.nio.conn.scheme</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style"
/>
 	</head>
 	<body>
@@ -72,6 +72,6 @@
         	</ul>
       	</div>
 				<hr />
-		Copyright &#169; 2010-2014 The Apache Software Foundation. All Rights Reserved.
+		Copyright &#169; 2010-2015 The Apache Software Foundation. All Rights Reserved.
 	</body>
 </html>



Mime
View raw message