From: rjung Date: Wed, 9 Mar 2011 05:21:34 +0000 (+0000) Subject: Consistent Ordering. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=62fe923f86e99bf021ec95e408ab02e29e868fad;p=tomcat7.0 Consistent Ordering. No functional change. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1079666 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/Context.java b/java/org/apache/catalina/Context.java index 78a0d01f7..35db590dc 100644 --- a/java/org/apache/catalina/Context.java +++ b/java/org/apache/catalina/Context.java @@ -90,17 +90,6 @@ public interface Context extends Container { // ------------------------------------------------------------- Properties /** - * Set to true to allow requests mapped to servlets that - * do not explicitly declare @MultipartConfig or have - * <multipart-config> specified in web.xml to parse - * multipart/form-data requests. - * - * @param allowCasualMultipartParsing true to allow such - * casual parsing, false otherwise. - */ - public void setAllowCasualMultipartParsing(boolean allowCasualMultipartParsing); - - /** * Returns true 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 false to disable request data swallowing - * after an upload was aborted due to size constraints. - * - * @param swallowAbortedUploads false to disable - * swallowing, true otherwise (default). - */ - public void setSwallowAbortedUploads(boolean swallowAbortedUploads); - /** - * Returns true if remaining request data will be read - * (swallowed) even the request violates a data size constraint. + /** + * Set to true to allow requests mapped to servlets that + * do not explicitly declare @MultipartConfig or have + * <multipart-config> specified in web.xml to parse + * multipart/form-data requests. * - * @return true if data will be swallowed (default), - * false otherwise. + * @param allowCasualMultipartParsing true to allow such + * casual parsing, false 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 true if remaining request data will be read + * (swallowed) even the request violates a data size constraint. + * + * @return true if data will be swallowed (default), + * false otherwise. + */ + public boolean getSwallowAbortedUploads(); + + + /** + * Set to false to disable request data swallowing + * after an upload was aborted due to size constraints. + * + * @param swallowAbortedUploads false to disable + * swallowing, true otherwise (default). + */ + public void setSwallowAbortedUploads(boolean swallowAbortedUploads); + + /** * Return the value of the swallowOutput flag. */ public boolean getSwallowOutput();