You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2011/11/27 16:42:39 UTC

svn commit: r1206743 - in /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol: AbstractAsyncRequestConsumer.java AbstractAsyncResponseConsumer.java HttpAsyncRequestConsumer.java HttpAsyncResponseConsumer.java

Author: sebb
Date: Sun Nov 27 15:42:38 2011
New Revision: 1206743

URL: http://svn.apache.org/viewvc?rev=1206743&view=rev
Log:
Javadoc typos

Modified:
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncRequestConsumer.java
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncResponseConsumer.java
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncRequestConsumer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncRequestConsumer.java?rev=1206743&r1=1206742&r2=1206743&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncRequestConsumer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncRequestConsumer.java Sun Nov 27 15:42:38 2011
@@ -61,7 +61,7 @@ public abstract class AbstractAsyncReque
      * {@link HttpEntityEnclosingRequest} interface and has a content
      * entity enclosed.
      *
-     * @return HTTP request message.
+     * @param request HTTP request message.
      * @throws HttpException in case of HTTP protocol violation
      * @throws IOException in case of an I/O error
      */
@@ -106,7 +106,7 @@ public abstract class AbstractAsyncReque
     }
 
     /**
-     * Use {@link #onContentReceived(ContentDecoder, IOControl) instead.
+     * Use {@link #onContentReceived(ContentDecoder, IOControl)} instead.
      */
     public final synchronized void consumeContent(
             final ContentDecoder decoder, final IOControl ioctrl) throws IOException {

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncResponseConsumer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncResponseConsumer.java?rev=1206743&r1=1206742&r2=1206743&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncResponseConsumer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/AbstractAsyncResponseConsumer.java Sun Nov 27 15:42:38 2011
@@ -59,7 +59,7 @@ public abstract class AbstractAsyncRespo
      * will be invoked only if the response messages has a content entity
      * enclosed.
      *
-     * @return HTTP response message.
+     * @param response HTTP response message.
      * @throws HttpException in case of HTTP protocol violation
      * @throws IOException in case of an I/O error
      */
@@ -96,7 +96,7 @@ public abstract class AbstractAsyncRespo
     protected abstract void releaseResources();
 
     /**
-     * Use {@link #onResponseReceived(HttpResponse) instead.
+     * Use {@link #onResponseReceived(HttpResponse)} instead.
      */
     public final synchronized void responseReceived(
             final HttpResponse response) throws IOException, HttpException {
@@ -104,7 +104,7 @@ public abstract class AbstractAsyncRespo
     }
 
     /**
-     * Use {@link #onContentReceived(ContentDecoder, IOControl) instead.
+     * Use {@link #onContentReceived(ContentDecoder, IOControl)} instead.
      */
     public final synchronized void consumeContent(
             final ContentDecoder decoder, final IOControl ioctrl) throws IOException {

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java?rev=1206743&r1=1206742&r2=1206743&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncRequestConsumer.java Sun Nov 27 15:42:38 2011
@@ -52,7 +52,7 @@ public interface HttpAsyncRequestConsume
      * {@link HttpEntityEnclosingRequest} interface and has a content
      * entity enclosed.
      *
-     * @return HTTP request message.
+     * @param request HTTP request message.
      * @throws HttpException in case of HTTP protocol violation
      * @throws IOException in case of an I/O error
      */

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java?rev=1206743&r1=1206742&r2=1206743&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java (original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/HttpAsyncResponseConsumer.java Sun Nov 27 15:42:38 2011
@@ -51,7 +51,7 @@ public interface HttpAsyncResponseConsum
      * will be invoked only if the response messages has a content entity
      * enclosed.
      *
-     * @return HTTP response message.
+     * @param response HTTP response message.
      * @throws HttpException in case of HTTP protocol violation
      * @throws IOException in case of an I/O error
      */