Author: markt
Date: Sun Sep 13 15:47:49 2015
New Revision: 1702787
URL: http://svn.apache.org/r1702787
Log:
Javadoc improvements
Modified:
tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/http/HttpMessages.java
Modified:
tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/http/HttpMessages.java
URL:
http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/http/HttpMessages.java?rev=1702787&r1=1702786&r2=1702787&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/http/HttpMessages.java
(original)
+++ tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/http/HttpMessages.java Sun
Sep 13 15:47:49 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]