tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1702719 - /tomcat/trunk/java/org/apache/tomcat/util/http/HttpMessages.java
Date Sun, 13 Sep 2015 09:48:47 GMT
Author: markt
Date: Sun Sep 13 09:48:46 2015
New Revision: 1702719

URL: http://svn.apache.org/r1702719
Log:
Javadoc improvements

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/http/HttpMessages.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/http/HttpMessages.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/HttpMessages.java?rev=1702719&r1=1702718&r2=1702719&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/http/HttpMessages.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/http/HttpMessages.java Sun Sep 13 09:48:46 2015
@@ -54,13 +54,14 @@ public class HttpMessages {
     }
 
 
-    /** Get the status string associated with a status code.
-     *  No I18N - return the messages defined in the HTTP spec.
-     *  ( the user isn't supposed to see them, this is the last
-     *  thing to translate)
+    /**
+     * Get the status string associated with a status code. Common messages are
+     * cached.
      *
-     *  Common messages are cached.
+     * @param status The HTTP status code to retrieve the message for
      *
+     * @return The HTTP status string that conforms to the requirements of the
+     *         HTTP specification
      */
     public String getMessage(int status) {
         // method from Response.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message