Add uploadSoftfail servlet init parameter
This commit is contained in:
parent
24fb08d1fc
commit
5982de3b48
1 changed files with 6 additions and 0 deletions
|
@ -284,6 +284,7 @@ public class ApplicationManager implements XmlRpcHandler {
|
||||||
String sessionCookieName;
|
String sessionCookieName;
|
||||||
String protectedSessionCookie;
|
String protectedSessionCookie;
|
||||||
String uploadLimit;
|
String uploadLimit;
|
||||||
|
String uploadSoftfail;
|
||||||
String debug;
|
String debug;
|
||||||
boolean encode;
|
boolean encode;
|
||||||
Repository[] repositories;
|
Repository[] repositories;
|
||||||
|
@ -318,6 +319,7 @@ public class ApplicationManager implements XmlRpcHandler {
|
||||||
sessionCookieName = props.getProperty(name + ".sessionCookieName");
|
sessionCookieName = props.getProperty(name + ".sessionCookieName");
|
||||||
protectedSessionCookie = props.getProperty(name + ".protectedSessionCookie");
|
protectedSessionCookie = props.getProperty(name + ".protectedSessionCookie");
|
||||||
uploadLimit = props.getProperty(name + ".uploadLimit");
|
uploadLimit = props.getProperty(name + ".uploadLimit");
|
||||||
|
uploadSoftfail = props.getProperty(name + ".uploadSoftfail");
|
||||||
debug = props.getProperty(name + ".debug");
|
debug = props.getProperty(name + ".debug");
|
||||||
encode = "true".equalsIgnoreCase(props.getProperty(name +
|
encode = "true".equalsIgnoreCase(props.getProperty(name +
|
||||||
".responseEncoding"));
|
".responseEncoding"));
|
||||||
|
@ -481,6 +483,10 @@ public class ApplicationManager implements XmlRpcHandler {
|
||||||
holder.setInitParameter("uploadLimit", uploadLimit);
|
holder.setInitParameter("uploadLimit", uploadLimit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (uploadSoftfail != null) {
|
||||||
|
holder.setInitParameter("uploadSoftfail", uploadSoftfail);
|
||||||
|
}
|
||||||
|
|
||||||
if (debug != null) {
|
if (debug != null) {
|
||||||
holder.setInitParameter("debug", debug);
|
holder.setInitParameter("debug", debug);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue