Author: markt
Date: Wed Dec 14 11:04:41 2016
New Revision: 1774173

URL: http://svn.apache.org/viewvc?rev=1774173&view=rev
Log:
Javadocs are far more useful on the public methods.

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Protocol.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Protocol.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Protocol.java?rev=1774173&r1=1774172&r2=1774173&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Protocol.java 
(original)
+++ tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Protocol.java Wed 
Dec 14 11:04:41 2016
@@ -117,13 +117,11 @@ public abstract class AbstractHttp11Prot
     public int getMaxHttpHeaderSize() { return maxHttpHeaderSize; }
     public void setMaxHttpHeaderSize(int valueI) { maxHttpHeaderSize = valueI; 
}
 
-    /**
-     * Maximum timeout on uploads. 5 minutes as in Apache HTTPD server.
-     */
+
     private int connectionUploadTimeout = 300000;
     /**
      * Specifies a different (usually  longer) connection timeout during data
-     * upload.
+     * upload. Default is 5 minutes as in Apache HTTPD server.
      */
     public int getConnectionUploadTimeout() { return connectionUploadTimeout; }
     /**
@@ -136,13 +134,11 @@ public abstract class AbstractHttp11Prot
     }
 
 
-    /**
-     * If true, the connectionUploadTimeout will be ignored and the regular
-     * socket timeout will be used for the full duration of the connection.
-     */
     private boolean disableUploadTimeout = true;
     /**
-     * Get the flag that controls upload time-outs.
+     * Get the flag that controls upload time-outs. If true, the
+     * connectionUploadTimeout will be ignored and the regular socket timeout
+     * will be used for the full duration of the connection.
      *
      * @return {@code true} if the separate upload timeout is disabled
      */
@@ -209,11 +205,11 @@ public abstract class AbstractHttp11Prot
     }
 
 
+    private Pattern restrictedUserAgents = null;
     /**
-     * Regular expression that defines the User agents which should be
-     * restricted to HTTP/1.0 support.
+     * Get the string form of the regular expression that defines the User
+     * agents which should be restricted to HTTP/1.0 support.
      */
-    private Pattern restrictedUserAgents = null;
     public String getRestrictedUserAgents() {
         if (restrictedUserAgents == null) {
             return null;
@@ -370,6 +366,7 @@ public abstract class AbstractHttp11Prot
         return upgradeProtocols.toArray(new UpgradeProtocol[0]);
     }
 
+
     /**
      * The protocols that are available via internal Tomcat support for access
      * via HTTP upgrade.



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

Reply via email to