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: [email protected]
For additional commands, e-mail: [email protected]