Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi.services/src/org/osgi/service/http/runtime/dto/DTOConstants.java')
-rw-r--r--bundles/org.eclipse.osgi.services/src/org/osgi/service/http/runtime/dto/DTOConstants.java38
1 files changed, 37 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi.services/src/org/osgi/service/http/runtime/dto/DTOConstants.java b/bundles/org.eclipse.osgi.services/src/org/osgi/service/http/runtime/dto/DTOConstants.java
index 52e5fed38..95b617655 100644
--- a/bundles/org.eclipse.osgi.services/src/org/osgi/service/http/runtime/dto/DTOConstants.java
+++ b/bundles/org.eclipse.osgi.services/src/org/osgi/service/http/runtime/dto/DTOConstants.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) OSGi Alliance (2012, 2015). All Rights Reserved.
+ * Copyright (c) OSGi Alliance (2012, 2018). All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -73,4 +73,40 @@ public final class DTOConstants {
* another servlet context.
*/
public static final int FAILURE_REASON_SERVICE_IN_USE = 7;
+
+ /**
+ * The servlet is not registered as it is configured to have multipart
+ * enabled, but the bundle containing the servlet has no write permission to
+ * the provided location for the uploaded files.
+ *
+ * @since 1.1
+ */
+ public static final int FAILURE_REASON_SERVLET_WRITE_TO_LOCATION_DENIED = 8;
+
+ /**
+ * The servlet is not registered as it is configured to have multipart
+ * enabled, but the whiteboard implementation has no write permission to the
+ * default location for the uploaded files.
+ *
+ * @since 1.1
+ */
+ public static final int FAILURE_REASON_WHITEBOARD_WRITE_TO_DEFAULT_DENIED = 9;
+
+ /**
+ * The servlet is not registered as it is configured to have multipart
+ * enabled, but the bundle containing the servlet has no read permission to
+ * the default location for the uploaded files.
+ *
+ * @since 1.1
+ */
+ public static final int FAILURE_REASON_SERVLET_READ_FROM_DEFAULT_DENIED = 10;
+
+ /**
+ * The servlet is not registered as it is configured to have multipart
+ * enabled, but the whiteboard implementation has no write permission to the
+ * provided location for the uploaded files.
+ *
+ * @since 1.1
+ */
+ public static final int FAILURE_REASON_WHITEBOARD_WRITE_TO_LOCATION_DENIED = 11;
}

Back to the top