Author: rjung Date: Wed Mar 9 05:21:34 2011 New Revision: 1079666 URL: http://svn.apache.org/viewvc?rev=1079666&view=rev Log: Consistent Ordering. No functional change.
Modified: tomcat/trunk/java/org/apache/catalina/Context.java Modified: tomcat/trunk/java/org/apache/catalina/Context.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/Context.java?rev=1079666&r1=1079665&r2=1079666&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/Context.java (original) +++ tomcat/trunk/java/org/apache/catalina/Context.java Wed Mar 9 05:21:34 2011 @@ -90,17 +90,6 @@ public interface Context extends Contain // ------------------------------------------------------------- Properties /** - * Set to <code>true</code> 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 <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 Contain */ 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 + * <multipart-config> 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 Contain /** + * 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(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org