Consistent Ordering.
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 9 Mar 2011 05:21:34 +0000 (05:21 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 9 Mar 2011 05:21:34 +0000 (05:21 +0000)
No functional change.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1079666 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/Context.java

index 78a0d01..35db590 100644 (file)
@@ -90,17 +90,6 @@ public interface Context extends Container {
     // ------------------------------------------------------------- Properties
 
     /**
-     * Set to <code>true</code> to allow requests mapped to servlets that
-     * do not explicitly declare @MultipartConfig or have
-     * &lt;multipart-config&gt; specified in web.xml to parse
-     * multipart/form-data requests.
-     *
-     * @param allowCasualMultipartParsing <code>true</code> to allow such
-     *        casual parsing, <code>false</code> otherwise.
-     */
-    public void setAllowCasualMultipartParsing(boolean allowCasualMultipartParsing);
-
-    /**
      * Returns <code>true</code> if requests mapped to servlets without
      * "multipart config" to parse multipart/form-data requests anyway.
      *
@@ -110,23 +99,18 @@ public interface Context extends Container {
      */
     public boolean getAllowCasualMultipartParsing();
 
-    /**
-     * Set to <code>false</code> to disable request data swallowing
-     * after an upload was aborted due to size constraints.
-     *
-     * @param swallowAbortedUploads <code>false</code> to disable
-     *        swallowing, <code>true</code> otherwise (default).
-     */
-    public void setSwallowAbortedUploads(boolean swallowAbortedUploads);
 
-    /**
-     * Returns <code>true</code> if remaining request data will be read
-     * (swallowed) even the request violates a data size constraint.
+   /**
+     * Set to <code>true</code> to allow requests mapped to servlets that
+     * do not explicitly declare @MultipartConfig or have
+     * &lt;multipart-config&gt; specified in web.xml to parse
+     * multipart/form-data requests.
      *
-     * @return <code>true</code> if data will be swallowed (default),
-     *    <code>false</code> otherwise.
+     * @param allowCasualMultipartParsing <code>true</code> to allow such
+     *        casual parsing, <code>false</code> otherwise.
      */
-    public boolean getSwallowAbortedUploads();
+    public void setAllowCasualMultipartParsing(boolean allowCasualMultipartParsing);
+
 
     /**
      * Return the set of initialized application event listener objects,
@@ -529,6 +513,25 @@ public interface Context extends Container {
 
 
     /**
+     * Returns <code>true</code> if remaining request data will be read
+     * (swallowed) even the request violates a data size constraint.
+     *
+     * @return <code>true</code> if data will be swallowed (default),
+     *    <code>false</code> otherwise.
+     */
+    public boolean getSwallowAbortedUploads();
+
+
+    /**
+     * Set to <code>false</code> to disable request data swallowing
+     * after an upload was aborted due to size constraints.
+     *
+     * @param swallowAbortedUploads <code>false</code> to disable
+     *        swallowing, <code>true</code> otherwise (default).
+     */
+    public void setSwallowAbortedUploads(boolean swallowAbortedUploads);
+
+    /**
      * Return the value of the swallowOutput flag.
      */
     public boolean getSwallowOutput();