hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r610823 - /httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpMessage.java
Date Thu, 10 Jan 2008 15:53:54 GMT
Author: olegk
Date: Thu Jan 10 07:53:53 2008
New Revision: 610823

URL: http://svn.apache.org/viewvc?rev=610823&view=rev
Log:
HTTPCORE-138: more javadocs

Modified:
    httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpMessage.java

Modified: httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpMessage.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpMessage.java?rev=610823&r1=610822&r2=610823&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpMessage.java
(original)
+++ httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpMessage.java
Thu Jan 10 07:53:53 2008
@@ -85,11 +85,12 @@
     /**
      * Returns the last header with a specified name of this message. Header values
      * are ignored. If there is more than one matching header in the message the
-     * last element of
+     * last element of {@link #getHeaders(String)} is returned. If there is no 
+     * matching header in the message <code>null</code> is returned.
      * 
-     * {@link #getHeaders(String)} is returned.
      * @param name the name of the header to return.
      * @return the last header whose name property equals <code>name</code>.
+     *   or <code>null</code> if no such header could be found.
      */
     Header getLastHeader(String name);
 



Mime
View raw message