diff --git a/domino-rest-client/pom.xml b/domino-rest-client/pom.xml
index 7733616..f00b87d 100644
--- a/domino-rest-client/pom.xml
+++ b/domino-rest-client/pom.xml
@@ -5,7 +5,7 @@
domino-restorg.dominokit
- 1.0.2
+ 2.0.0-RC14.0.0
@@ -79,10 +79,9 @@
com.google.elemental2elemental2-promise
-
- javax.ws.rs
- javax.ws.rs-api
+ jakarta.ws.rs
+ jakarta.ws.rs-api${jax.rs.version}
diff --git a/domino-rest-client/src/main/module.gwt.xml b/domino-rest-client/src/main/module.gwt.xml
index 1e3f4e9..c1a6443 100644
--- a/domino-rest-client/src/main/module.gwt.xml
+++ b/domino-rest-client/src/main/module.gwt.xml
@@ -20,6 +20,6 @@
-
+
diff --git a/domino-rest-jaxrs/pom.xml b/domino-rest-jaxrs/pom.xml
index 245a522..453126a 100644
--- a/domino-rest-jaxrs/pom.xml
+++ b/domino-rest-jaxrs/pom.xml
@@ -5,7 +5,7 @@
org.dominokitdomino-rest
- 1.0.2
+ 2.0.0-RC1domino-rest-jaxrs
diff --git a/domino-rest-jaxrs/src/main/java/javax/ws/rs/package-info.java b/domino-rest-jaxrs/src/main/java/jakarta/ws/rs/package-info.java
similarity index 96%
rename from domino-rest-jaxrs/src/main/java/javax/ws/rs/package-info.java
rename to domino-rest-jaxrs/src/main/java/jakarta/ws/rs/package-info.java
index 7168334..2f2c3cf 100644
--- a/domino-rest-jaxrs/src/main/java/javax/ws/rs/package-info.java
+++ b/domino-rest-jaxrs/src/main/java/jakarta/ws/rs/package-info.java
@@ -14,4 +14,4 @@
* limitations under the License.
*/
/** Dummy package to generate javadocs to qualify for staging rules */
-package javax.ws.rs;
+package jakarta.ws.rs;
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ApplicationPath.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ApplicationPath.java
new file mode 100644
index 0000000..fd10702
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ApplicationPath.java
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Documented
+@Target({ ElementType.TYPE })
+@Retention(RetentionPolicy.RUNTIME)
+public @interface ApplicationPath {
+
+ String value();
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/BadRequestException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/BadRequestException.java
new file mode 100644
index 0000000..ccb1c7e
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/BadRequestException.java
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+package jakarta.ws.rs;
+
+public class BadRequestException extends ClientErrorException {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/BeanParam.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/BeanParam.java
new file mode 100644
index 0000000..a81bfe0
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/BeanParam.java
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface BeanParam {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ClientErrorException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ClientErrorException.java
new file mode 100644
index 0000000..dded423
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ClientErrorException.java
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+public class ClientErrorException extends WebApplicationException {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ConstrainedTo.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ConstrainedTo.java
new file mode 100644
index 0000000..3968c4a
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ConstrainedTo.java
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface ConstrainedTo {
+
+ RuntimeType value();
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Consumes.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Consumes.java
new file mode 100644
index 0000000..eaa507c
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Consumes.java
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Inherited
+@Target({ ElementType.TYPE, ElementType.METHOD })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface Consumes {
+
+ String[] value() default "*/*";
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/CookieParam.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/CookieParam.java
new file mode 100644
index 0000000..c0efad0
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/CookieParam.java
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2010, 2020 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface CookieParam {
+
+ String value();
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/DELETE.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/DELETE.java
new file mode 100644
index 0000000..f9e8827
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/DELETE.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.METHOD })
+@Retention(RetentionPolicy.RUNTIME)
+@HttpMethod(HttpMethod.DELETE)
+@Documented
+public @interface DELETE {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/DefaultValue.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/DefaultValue.java
new file mode 100644
index 0000000..2362c92
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/DefaultValue.java
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface DefaultValue {
+
+ String value();
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Encoded.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Encoded.java
new file mode 100644
index 0000000..0465069
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Encoded.java
@@ -0,0 +1,29 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD, ElementType.CONSTRUCTOR, ElementType.TYPE })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface Encoded {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ForbiddenException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ForbiddenException.java
new file mode 100644
index 0000000..f58cb29
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ForbiddenException.java
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+public class ForbiddenException extends ClientErrorException {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/FormParam.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/FormParam.java
new file mode 100644
index 0000000..73c54c1
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/FormParam.java
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2010, 2020 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface FormParam {
+
+ String value();
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/GET.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/GET.java
new file mode 100644
index 0000000..02e2c31
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/GET.java
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.METHOD })
+@Retention(RetentionPolicy.RUNTIME)
+@HttpMethod(HttpMethod.GET)
+@Documented
+public @interface GET {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/javax/ws/rs/GwtIncompatible.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/GwtIncompatible.java
similarity index 97%
rename from domino-rest-jaxrs/src/main/resources/javax/ws/rs/GwtIncompatible.java
rename to domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/GwtIncompatible.java
index 2bb9c3b..7233ba6 100644
--- a/domino-rest-jaxrs/src/main/resources/javax/ws/rs/GwtIncompatible.java
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/GwtIncompatible.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package javax.ws.rs;
+package jakarta.ws.rs;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
@@ -22,7 +22,6 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
-
@Retention(RetentionPolicy.CLASS)
@Target({
ElementType.TYPE, ElementType.METHOD,
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/HEAD.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/HEAD.java
new file mode 100644
index 0000000..917f9ce
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/HEAD.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.METHOD })
+@Retention(RetentionPolicy.RUNTIME)
+@HttpMethod(HttpMethod.HEAD)
+@Documented
+public @interface HEAD {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/HeaderParam.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/HeaderParam.java
new file mode 100644
index 0000000..13a61db
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/HeaderParam.java
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2010, 2020 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface HeaderParam {
+
+ String value();
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/HttpMethod.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/HttpMethod.java
new file mode 100644
index 0000000..e533234
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/HttpMethod.java
@@ -0,0 +1,45 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.ANNOTATION_TYPE })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface HttpMethod {
+
+ public static final String GET = "GET";
+
+ public static final String POST = "POST";
+
+ public static final String PUT = "PUT";
+
+ public static final String DELETE = "DELETE";
+
+ public static final String PATCH = "PATCH";
+
+ public static final String HEAD = "HEAD";
+
+ public static final String OPTIONS = "OPTIONS";
+
+ String value();
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/InternalServerErrorException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/InternalServerErrorException.java
new file mode 100644
index 0000000..35f9220
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/InternalServerErrorException.java
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import jakarta.ws.rs.core.Response;
+
+public class InternalServerErrorException extends ServerErrorException {
+
+}
diff --git a/domino-rest-jaxrs/src/main/resources/javax/ws/rs/JaxRs.gwt.xml b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/JaxRs.gwt.xml
similarity index 100%
rename from domino-rest-jaxrs/src/main/resources/javax/ws/rs/JaxRs.gwt.xml
rename to domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/JaxRs.gwt.xml
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/MatrixParam.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/MatrixParam.java
new file mode 100644
index 0000000..0501cd4
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/MatrixParam.java
@@ -0,0 +1,32 @@
+/*
+ * Copyright (c) 2010, 2020 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+
+@Target({ ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface MatrixParam {
+
+ String value();
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NameBinding.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NameBinding.java
new file mode 100644
index 0000000..1043a58
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NameBinding.java
@@ -0,0 +1,29 @@
+/*
+ * Copyright (c) 2011, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(ElementType.ANNOTATION_TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface NameBinding {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotAcceptableException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotAcceptableException.java
new file mode 100644
index 0000000..0b4805d
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotAcceptableException.java
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+public class NotAcceptableException extends ClientErrorException {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotAllowedException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotAllowedException.java
new file mode 100644
index 0000000..635d355
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotAllowedException.java
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+public class NotAllowedException extends ClientErrorException {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotAuthorizedException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotAuthorizedException.java
new file mode 100644
index 0000000..f01e718
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotAuthorizedException.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+public class NotAuthorizedException extends ClientErrorException {
+
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotFoundException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotFoundException.java
new file mode 100644
index 0000000..0fda5d1
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotFoundException.java
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+public class NotFoundException extends ClientErrorException {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotSupportedException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotSupportedException.java
new file mode 100644
index 0000000..b34fd34
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/NotSupportedException.java
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+public class NotSupportedException extends ClientErrorException {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/OPTIONS.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/OPTIONS.java
new file mode 100644
index 0000000..346bb62
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/OPTIONS.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.METHOD })
+@Retention(RetentionPolicy.RUNTIME)
+@HttpMethod(HttpMethod.OPTIONS)
+@Documented
+public @interface OPTIONS {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/PATCH.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/PATCH.java
new file mode 100644
index 0000000..b28a22f
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/PATCH.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.METHOD })
+@Retention(RetentionPolicy.RUNTIME)
+@HttpMethod(HttpMethod.PATCH)
+@Documented
+public @interface PATCH {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/POST.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/POST.java
new file mode 100644
index 0000000..e530527
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/POST.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.METHOD })
+@Retention(RetentionPolicy.RUNTIME)
+@HttpMethod(HttpMethod.POST)
+@Documented
+public @interface POST {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/PUT.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/PUT.java
new file mode 100644
index 0000000..dc35e0a
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/PUT.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.METHOD })
+@Retention(RetentionPolicy.RUNTIME)
+@HttpMethod(HttpMethod.PUT)
+@Documented
+public @interface PUT {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Path.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Path.java
new file mode 100644
index 0000000..2d28a83
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Path.java
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.TYPE, ElementType.METHOD })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface Path {
+
+ String value();
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/PathParam.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/PathParam.java
new file mode 100644
index 0000000..5065178
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/PathParam.java
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface PathParam {
+
+ String value();
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Priorities.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Priorities.java
new file mode 100644
index 0000000..bee32c8
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Priorities.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) 2013, 2020 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+public final class Priorities {
+
+ private Priorities() {
+ // prevents construction
+ }
+
+ public static final int AUTHENTICATION = 1000;
+
+ public static final int AUTHORIZATION = 2000;
+
+ public static final int HEADER_DECORATOR = 3000;
+
+ public static final int ENTITY_CODER = 4000;
+
+ public static final int USER = 5000;
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ProcessingException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ProcessingException.java
new file mode 100644
index 0000000..fe97b4c
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ProcessingException.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) 2011, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+public class ProcessingException extends RuntimeException {
+
+ private static final long serialVersionUID = -4232431597816056514L;
+
+ public ProcessingException(final Throwable cause) {
+ super(cause);
+ }
+
+ public ProcessingException(final String message, final Throwable cause) {
+ super(message, cause);
+ }
+
+ public ProcessingException(final String message) {
+ super(message);
+ }
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Produces.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Produces.java
new file mode 100644
index 0000000..bf3c0fa
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/Produces.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+
+@Inherited
+@Target({ ElementType.TYPE, ElementType.METHOD })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface Produces {
+
+ String[] value() default "*/*";
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/QueryParam.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/QueryParam.java
new file mode 100644
index 0000000..5f7583d
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/QueryParam.java
@@ -0,0 +1,32 @@
+/*
+ * Copyright (c) 2010, 2020 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+
+@Target({ ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface QueryParam {
+
+ String value();
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/RedirectionException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/RedirectionException.java
new file mode 100644
index 0000000..1fee9b5
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/RedirectionException.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+public class RedirectionException extends WebApplicationException {
+
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/RuntimeType.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/RuntimeType.java
new file mode 100644
index 0000000..d5f6876
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/RuntimeType.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+public enum RuntimeType {
+
+ CLIENT,
+
+ SERVER
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/SeBootstrap.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/SeBootstrap.java
new file mode 100644
index 0000000..c2bde6c
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/SeBootstrap.java
@@ -0,0 +1,141 @@
+/*
+ * Copyright (c) 2018 Markus KARG. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+import java.net.URI;
+import java.util.Optional;
+import java.util.function.BiFunction;
+
+import javax.net.ssl.SSLContext;
+
+import jakarta.ws.rs.core.UriBuilder;
+
+public interface SeBootstrap {
+
+ interface Configuration {
+
+ String PROTOCOL = "jakarta.ws.rs.SeBootstrap.Protocol";
+
+ String HOST = "jakarta.ws.rs.SeBootstrap.Host";
+
+ String PORT = "jakarta.ws.rs.SeBootstrap.Port";
+
+ String ROOT_PATH = "jakarta.ws.rs.SeBootstrap.RootPath";
+
+ String SSL_CONTEXT = "jakarta.ws.rs.SeBootstrap.SSLContext";
+
+ String SSL_CLIENT_AUTHENTICATION = "jakarta.ws.rs.SeBootstrap.SSLClientAuthentication";
+
+ enum SSLClientAuthentication {
+
+ NONE,
+
+ OPTIONAL,
+
+ MANDATORY
+ }
+
+ int FREE_PORT = 0;
+
+ int DEFAULT_PORT = -1;
+
+ Object property(String name);
+
+ default boolean hasProperty(String name) {
+ return property(name) != null;
+ }
+
+ default String protocol() {
+ return (String) property(PROTOCOL);
+ }
+
+ default String host() {
+ return (String) property(HOST);
+ }
+
+ default int port() {
+ return (int) property(PORT);
+ }
+
+ default String rootPath() {
+ return (String) property(ROOT_PATH);
+ }
+
+ @GwtIncompatible
+ default SSLContext sslContext() {
+ return (SSLContext) property(SSL_CONTEXT);
+ }
+
+ default SSLClientAuthentication sslClientAuthentication() {
+ return (SSLClientAuthentication) property(SSL_CLIENT_AUTHENTICATION);
+ }
+
+ default UriBuilder baseUriBuilder() {
+ return null;
+ }
+
+ @GwtIncompatible
+ default URI baseUri() {
+ return null;
+ }
+
+ static Builder builder() {
+ return null;
+ }
+
+ interface Builder {
+
+ Configuration build();
+
+ Builder property(String name, Object value);
+
+ default Builder protocol(String protocol) {
+ return property(PROTOCOL, protocol);
+ }
+
+ default Builder host(String host) {
+ return property(HOST, host);
+ }
+
+ default Builder port(Integer port) {
+ return property(PORT, port);
+ }
+
+ default Builder rootPath(String rootPath) {
+ return property(ROOT_PATH, rootPath);
+ }
+
+ @GwtIncompatible
+ default Builder sslContext(SSLContext sslContext) {
+ return property(SSL_CONTEXT, sslContext);
+ }
+
+ default Builder sslClientAuthentication(SSLClientAuthentication sslClientAuthentication) {
+ return property(SSL_CLIENT_AUTHENTICATION, sslClientAuthentication);
+ }
+
+ Builder from(BiFunction, Optional> propertiesProvider);
+
+ default Builder from(Object externalConfig) {
+ return this;
+ }
+ }
+ }
+
+ interface Instance {
+ }
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ServerErrorException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ServerErrorException.java
new file mode 100644
index 0000000..122dd79
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ServerErrorException.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+public class ServerErrorException extends WebApplicationException {
+
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ServiceUnavailableException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ServiceUnavailableException.java
new file mode 100644
index 0000000..a09605c
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/ServiceUnavailableException.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs;
+
+public class ServiceUnavailableException extends ServerErrorException {
+
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/WebApplicationException.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/WebApplicationException.java
new file mode 100644
index 0000000..a7be7d8
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/WebApplicationException.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0.
+ */
+
+package jakarta.ws.rs;
+
+public class WebApplicationException extends RuntimeException {
+
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/AsyncResponse.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/AsyncResponse.java
new file mode 100644
index 0000000..ac2a405
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/AsyncResponse.java
@@ -0,0 +1,60 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs.container;
+
+import java.util.Collection;
+import java.util.Date;
+import java.util.Map;
+import java.util.concurrent.TimeUnit;
+import jakarta.ws.rs.GwtIncompatible;
+
+/**
+ * Used for emulating Context in domino-rest, arguments of this type will be ignored in domino-rest
+ * client generation
+ */
+public interface AsyncResponse {
+
+ @GwtIncompatible long NO_TIMEOUT = 0;
+
+ @GwtIncompatible boolean resume(Object response);
+
+ @GwtIncompatible boolean resume(Throwable response);
+
+ @GwtIncompatible boolean cancel();
+
+ @GwtIncompatible boolean cancel(int retryAfter);
+
+ @GwtIncompatible boolean cancel(Date retryAfter);
+
+ @GwtIncompatible boolean isSuspended();
+
+ @GwtIncompatible boolean isCancelled();
+
+ @GwtIncompatible boolean isDone();
+
+ @GwtIncompatible boolean setTimeout(long time, TimeUnit unit);
+
+ @GwtIncompatible void setTimeoutHandler(TimeoutHandler handler);
+
+ @GwtIncompatible Collection> register(Class> callback);
+
+ @GwtIncompatible Map, Collection>> register(Class> callback, Class>... callbacks);
+
+ @GwtIncompatible Collection> register(Object callback);
+
+ Map, Collection>> register(Object callback, Object... callbacks);
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/CompletionCallback.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/CompletionCallback.java
new file mode 100644
index 0000000..284d49b
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/CompletionCallback.java
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2012, 2021 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+package jakarta.ws.rs.container;
+
+public interface CompletionCallback {
+ public void onComplete(Throwable throwable);
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ConnectionCallback.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ConnectionCallback.java
new file mode 100644
index 0000000..83dcd2c
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ConnectionCallback.java
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+package jakarta.ws.rs.container;
+
+public interface ConnectionCallback {
+ public void onDisconnect(AsyncResponse disconnected);
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ContainerRequestContext.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ContainerRequestContext.java
new file mode 100644
index 0000000..d37212b
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ContainerRequestContext.java
@@ -0,0 +1,103 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+package jakarta.ws.rs.container;
+
+import java.io.InputStream;
+import java.net.URI;
+import java.util.Collection;
+import java.util.Date;
+import java.util.List;
+import java.util.Locale;
+import java.util.Map;
+import java.util.function.Predicate;
+
+import jakarta.ws.rs.core.Cookie;
+import jakarta.ws.rs.core.MediaType;
+import jakarta.ws.rs.core.MultivaluedMap;
+import jakarta.ws.rs.core.Request;
+import jakarta.ws.rs.core.Response;
+import jakarta.ws.rs.core.SecurityContext;
+import jakarta.ws.rs.core.UriInfo;
+import jakarta.ws.rs.GwtIncompatible;
+
+public interface ContainerRequestContext {
+
+ public Object getProperty(String name);
+
+ public default boolean hasProperty(String name) {
+ return getProperty(name) != null;
+ }
+
+ public Collection getPropertyNames();
+
+ public void setProperty(String name, Object object);
+
+ public void removeProperty(String name);
+
+ public UriInfo getUriInfo();
+
+ @GwtIncompatible
+ public void setRequestUri(URI requestUri);
+
+ @GwtIncompatible
+ public void setRequestUri(URI baseUri, URI requestUri);
+
+ public Request getRequest();
+
+ public String getMethod();
+
+ public void setMethod(String method);
+
+ public MultivaluedMap getHeaders();
+
+ public String getHeaderString(String name);
+
+ public boolean containsHeaderString(String name, String valueSeparatorRegex, Predicate valuePredicate);
+
+ public default boolean containsHeaderString(String name, Predicate valuePredicate) {
+ return containsHeaderString(name, ",", valuePredicate);
+ }
+
+ public Date getDate();
+
+ @GwtIncompatible
+ public Locale getLanguage();
+
+ public int getLength();
+
+ public MediaType getMediaType();
+
+ @GwtIncompatible
+ public List getAcceptableMediaTypes();
+
+ public List getAcceptableLanguages();
+
+ public Map getCookies();
+
+ public boolean hasEntity();
+
+ @GwtIncompatible
+ public InputStream getEntityStream();
+
+ @GwtIncompatible
+ public void setEntityStream(InputStream input);
+
+ public SecurityContext getSecurityContext();
+
+ public void setSecurityContext(SecurityContext context);
+
+ public void abortWith(Response response);
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ContainerRequestFilter.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ContainerRequestFilter.java
new file mode 100644
index 0000000..efcfa8d
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ContainerRequestFilter.java
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+package jakarta.ws.rs.container;
+
+import java.io.IOException;
+
+public interface ContainerRequestFilter {
+ public void filter(ContainerRequestContext requestContext) throws IOException;
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ContainerResponseContext.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ContainerResponseContext.java
new file mode 100644
index 0000000..2e4607e
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ContainerResponseContext.java
@@ -0,0 +1,112 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs.container;
+
+import java.io.OutputStream;
+import java.lang.annotation.Annotation;
+import java.lang.reflect.Type;
+import java.net.URI;
+import java.util.Date;
+import java.util.Locale;
+import java.util.Map;
+import java.util.Set;
+import java.util.function.Predicate;
+
+import jakarta.ws.rs.core.EntityTag;
+import jakarta.ws.rs.core.Link;
+import jakarta.ws.rs.core.MediaType;
+import jakarta.ws.rs.core.MultivaluedMap;
+import jakarta.ws.rs.core.NewCookie;
+import jakarta.ws.rs.core.Response;
+import jakarta.ws.rs.GwtIncompatible;
+
+public interface ContainerResponseContext {
+
+ public int getStatus();
+
+ public void setStatus(int code);
+
+ public Response.StatusType getStatusInfo();
+
+ public void setStatusInfo(Response.StatusType statusInfo);
+
+ public MultivaluedMap getHeaders();
+
+ public abstract MultivaluedMap getStringHeaders();
+
+ public String getHeaderString(String name);
+
+ public boolean containsHeaderString(String name, String valueSeparatorRegex, Predicate valuePredicate);
+
+ public default boolean containsHeaderString(String name, Predicate valuePredicate) {
+ return containsHeaderString(name, ",", valuePredicate);
+ }
+
+ public Set getAllowedMethods();
+
+ public Date getDate();
+
+ @GwtIncompatible
+ public Locale getLanguage();
+
+ public int getLength();
+
+ public MediaType getMediaType();
+
+ public Map getCookies();
+
+ public EntityTag getEntityTag();
+
+ public Date getLastModified();
+
+ @GwtIncompatible
+ public URI getLocation();
+
+ public Set getLinks();
+
+ boolean hasLink(String relation);
+
+ public Link getLink(String relation);
+
+ public Link.Builder getLinkBuilder(String relation);
+
+ public boolean hasEntity();
+
+ public Object getEntity();
+
+ public Class> getEntityClass();
+
+ @GwtIncompatible
+ public Type getEntityType();
+
+ public void setEntity(final Object entity);
+
+ @GwtIncompatible
+ public void setEntity(
+ final Object entity,
+ final Annotation[] annotations,
+ final MediaType mediaType);
+
+ @GwtIncompatible
+ public Annotation[] getEntityAnnotations();
+
+ @GwtIncompatible
+ public OutputStream getEntityStream();
+
+ @GwtIncompatible
+ public void setEntityStream(OutputStream outputStream);
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ContainerResponseFilter.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ContainerResponseFilter.java
new file mode 100644
index 0000000..413ed97
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ContainerResponseFilter.java
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+package jakarta.ws.rs.container;
+
+import java.io.IOException;
+
+public interface ContainerResponseFilter {
+ public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext)
+ throws IOException;
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/DynamicFeature.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/DynamicFeature.java
new file mode 100644
index 0000000..6d81ff2
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/DynamicFeature.java
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2011, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+package jakarta.ws.rs.container;
+
+import jakarta.ws.rs.core.FeatureContext;
+
+public interface DynamicFeature {
+ public void configure(ResourceInfo resourceInfo, FeatureContext context);
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/PreMatching.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/PreMatching.java
new file mode 100644
index 0000000..ef90f80
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/PreMatching.java
@@ -0,0 +1,29 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs.container;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.TYPE })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface PreMatching {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ResourceContext.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ResourceContext.java
new file mode 100644
index 0000000..0cee56a
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ResourceContext.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs.container;
+
+public interface ResourceContext {
+
+ public T getResource(Class resourceClass);
+
+ public T initResource(T resource);
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ResourceInfo.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ResourceInfo.java
new file mode 100644
index 0000000..c32e6c2
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/ResourceInfo.java
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2011, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs.container;
+
+import java.lang.reflect.Method;
+import jakarta.ws.rs.GwtIncompatible;
+
+public interface ResourceInfo {
+
+ @GwtIncompatible
+ Method getResourceMethod();
+
+ Class> getResourceClass();
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/Suspended.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/Suspended.java
new file mode 100644
index 0000000..74fb2f1
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/Suspended.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs.container;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.util.concurrent.TimeUnit;
+
+@Target({ ElementType.PARAMETER })
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface Suspended {
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/TimeoutHandler.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/TimeoutHandler.java
new file mode 100644
index 0000000..7374736
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/TimeoutHandler.java
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs.container;
+
+import jakarta.ws.rs.GwtIncompatible;
+
+@GwtIncompatible
+public interface TimeoutHandler {
+
+ public void handleTimeout(AsyncResponse asyncResponse);
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/package-info.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/package-info.java
new file mode 100644
index 0000000..25da48e
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/container/package-info.java
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+/**
+ * Container-specific JAX-RS API.
+ */
+package jakarta.ws.rs.container;
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/core/AbstractMultivaluedMap.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/core/AbstractMultivaluedMap.java
new file mode 100644
index 0000000..360c6a0
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/core/AbstractMultivaluedMap.java
@@ -0,0 +1,237 @@
+/*
+ * Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs.core;
+
+import java.io.Serializable;
+import java.util.Collection;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+public abstract class AbstractMultivaluedMap implements MultivaluedMap, Serializable {
+
+ protected final Map> store;
+
+ public AbstractMultivaluedMap(final Map> store) {
+ if (store == null) {
+ throw new NullPointerException("Underlying store must not be 'null'.");
+ }
+ this.store = store;
+ }
+
+ @Override
+ public final void putSingle(final K key, final V value) {
+ List values = getValues(key);
+
+ values.clear();
+ if (value != null) {
+ values.add(value);
+ } else {
+ addNull(values);
+ }
+ }
+
+ @SuppressWarnings("UnusedParameters")
+ protected void addNull(final List values) {
+ // do nothing in the default implementation; ignore the null value
+ }
+
+ @SuppressWarnings("UnusedParameters")
+ protected void addFirstNull(final List values) {
+ // do nothing in the default implementation; ignore the null value
+ }
+
+ @Override
+ public final void add(final K key, final V value) {
+ List values = getValues(key);
+
+ if (value != null) {
+ values.add(value);
+ } else {
+ addNull(values);
+ }
+ }
+
+ @Override
+ public final void addAll(final K key, final V... newValues) {
+ if (newValues == null) {
+ throw new NullPointerException("Supplied array of values must not be null.");
+ }
+ if (newValues.length == 0) {
+ return;
+ }
+
+ List values = getValues(key);
+
+ for (V value : newValues) {
+ if (value != null) {
+ values.add(value);
+ } else {
+ addNull(values);
+ }
+ }
+ }
+
+ @Override
+ public final void addAll(final K key, final List valueList) {
+ if (valueList == null) {
+ throw new NullPointerException("Supplied list of values must not be null.");
+ }
+ if (valueList.isEmpty()) {
+ return;
+ }
+
+ List values = getValues(key);
+
+ for (V value : valueList) {
+ if (value != null) {
+ values.add(value);
+ } else {
+ addNull(values);
+ }
+ }
+ }
+
+ @Override
+ public final V getFirst(final K key) {
+ List values = store.get(key);
+ if (values != null && values.size() > 0) {
+ return values.get(0);
+ } else {
+ return null;
+ }
+ }
+
+ @Override
+ public final void addFirst(final K key, final V value) {
+ List values = getValues(key);
+
+ if (value != null) {
+ values.add(0, value);
+ } else {
+ addFirstNull(values);
+ }
+ }
+
+ protected final List getValues(final K key) {
+ List l = store.get(key);
+ if (l == null) {
+ l = new LinkedList();
+ store.put(key, l);
+ }
+ return l;
+ }
+
+ @Override
+ public String toString() {
+ return store.toString();
+ }
+
+ @Override
+ public int hashCode() {
+ return store.hashCode();
+ }
+
+ @Override
+ @SuppressWarnings("EqualsWhichDoesntCheckParameterClass")
+ public boolean equals(final Object o) {
+ return store.equals(o);
+ }
+
+ @Override
+ public Collection> values() {
+ return store.values();
+ }
+
+ @Override
+ public int size() {
+ return store.size();
+ }
+
+ @Override
+ public List remove(final Object key) {
+ return store.remove(key);
+ }
+
+ @Override
+ public void putAll(final Map extends K, ? extends List> m) {
+ store.putAll(m);
+ }
+
+ @Override
+ public List put(final K key, final List value) {
+ return store.put(key, value);
+ }
+
+ @Override
+ public Set keySet() {
+ return store.keySet();
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return store.isEmpty();
+ }
+
+ @Override
+ public List get(final Object key) {
+ return store.get(key);
+ }
+
+ @Override
+ public Set>> entrySet() {
+ return store.entrySet();
+ }
+
+ @Override
+ public boolean containsValue(final Object value) {
+ return store.containsValue(value);
+ }
+
+ @Override
+ public boolean containsKey(final Object key) {
+ return store.containsKey(key);
+ }
+
+ @Override
+ public void clear() {
+ store.clear();
+ }
+
+ @Override
+ public boolean equalsIgnoreValueOrder(final MultivaluedMap omap) {
+ if (this == omap) {
+ return true;
+ }
+ if (!keySet().equals(omap.keySet())) {
+ return false;
+ }
+ for (Entry> e : entrySet()) {
+ List olist = omap.get(e.getKey());
+ if (e.getValue().size() != olist.size()) {
+ return false;
+ }
+ for (V v : e.getValue()) {
+ if (!olist.contains(v)) {
+ return false;
+ }
+ }
+ }
+ return true;
+ }
+}
diff --git a/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/core/Application.java b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/core/Application.java
new file mode 100644
index 0000000..f10d370
--- /dev/null
+++ b/domino-rest-jaxrs/src/main/resources/jakarta/ws/rs/core/Application.java
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v. 2.0, which is available at
+ * http://www.eclipse.org/legal/epl-2.0.
+ *
+ * This Source Code may also be made available under the following Secondary
+ * Licenses when the conditions for such availability set forth in the
+ * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
+ * version 2 with the GNU Classpath Exception, which is available at
+ * https://www.gnu.org/software/classpath/license.html.
+ *
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
+ */
+
+package jakarta.ws.rs.core;
+
+import java.util.Collections;
+import java.util.Map;
+import java.util.Set;
+
+public class Application {
+
+ public Set> getClasses() {
+ return Collections.emptySet();
+ }
+
+ @Deprecated
+ public Set