You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2008/01/10 16:53:54 UTC
svn commit: r610823 -
/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpMessage.java
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);