diff --git a/domino-rest-client/pom.xml b/domino-rest-client/pom.xml
index 0f2b2e1..f28c55f 100644
--- a/domino-rest-client/pom.xml
+++ b/domino-rest-client/pom.xml
@@ -5,7 +5,7 @@
domino-rest
org.dominokit
- 1.0.0-RC6
+ 1.0.0-RC7
4.0.0
diff --git a/domino-rest-client/src/main/java/org/dominokit/rest/DominoRestConfig.java b/domino-rest-client/src/main/java/org/dominokit/rest/DominoRestConfig.java
index fc7ffb8..b652e32 100644
--- a/domino-rest-client/src/main/java/org/dominokit/rest/DominoRestConfig.java
+++ b/domino-rest-client/src/main/java/org/dominokit/rest/DominoRestConfig.java
@@ -41,7 +41,7 @@ public class DominoRestConfig implements RestConfig {
private static String defaultResourceRootPath = "service";
private static String defaultJsonDateFormat = null;
- private static final RequestRouter serverRouter =
+ private static RequestRouter serverRouter =
new ServerRouter(
new DefaultRequestAsyncSender(new ServerEventFactory(), new RequestSender<>()));
private static List dynamicServiceRoots = new ArrayList<>();
@@ -189,6 +189,15 @@ public DominoRestConfig setDefaultResourceRootPath(String rootPath) {
return this;
}
+ /**
+ * Sets the server router
+ *
+ * @param serverRouter the new router
+ */
+ public void setServerRouter(RequestRouter serverRouter) {
+ DominoRestConfig.serverRouter = serverRouter;
+ }
+
/** {@inheritDoc} */
@Override
public RequestRouter getServerRouter() {
diff --git a/domino-rest-jaxrs/pom.xml b/domino-rest-jaxrs/pom.xml
index 67ef699..5347aae 100644
--- a/domino-rest-jaxrs/pom.xml
+++ b/domino-rest-jaxrs/pom.xml
@@ -5,7 +5,7 @@
org.dominokit
domino-rest
- 1.0.0-RC6
+ 1.0.0-RC7
domino-rest-jaxrs
diff --git a/domino-rest-jvm/pom.xml b/domino-rest-jvm/pom.xml
index 88b73ef..4dfaf8f 100644
--- a/domino-rest-jvm/pom.xml
+++ b/domino-rest-jvm/pom.xml
@@ -5,7 +5,7 @@
domino-rest
org.dominokit
- 1.0.0-RC6
+ 1.0.0-RC7
4.0.0
diff --git a/domino-rest-processor/pom.xml b/domino-rest-processor/pom.xml
index c003c84..c772ad8 100644
--- a/domino-rest-processor/pom.xml
+++ b/domino-rest-processor/pom.xml
@@ -4,7 +4,7 @@
domino-rest
org.dominokit
- 1.0.0-RC6
+ 1.0.0-RC7
4.0.0
diff --git a/domino-rest-shared/pom.xml b/domino-rest-shared/pom.xml
index 84926cb..6da7356 100644
--- a/domino-rest-shared/pom.xml
+++ b/domino-rest-shared/pom.xml
@@ -5,7 +5,7 @@
domino-rest
org.dominokit
- 1.0.0-RC6
+ 1.0.0-RC7
4.0.0
diff --git a/domino-rest-shared/src/main/java/org/dominokit/rest/shared/request/ServerRequest.java b/domino-rest-shared/src/main/java/org/dominokit/rest/shared/request/ServerRequest.java
index c52788f..1f4c3d3 100644
--- a/domino-rest-shared/src/main/java/org/dominokit/rest/shared/request/ServerRequest.java
+++ b/domino-rest-shared/src/main/java/org/dominokit/rest/shared/request/ServerRequest.java
@@ -145,7 +145,7 @@ public void startRouting() {
requestContext.getConfig().getServerRouter().routeRequest(this);
}
- void setHttpRequest(RestfulRequest httpRequest) {
+ public void setHttpRequest(RestfulRequest httpRequest) {
this.httpRequest = httpRequest;
}
diff --git a/domino-rest-test/pom.xml b/domino-rest-test/pom.xml
index cd6e1f2..e0dd63d 100644
--- a/domino-rest-test/pom.xml
+++ b/domino-rest-test/pom.xml
@@ -5,7 +5,7 @@
domino-rest
org.dominokit
- 1.0.0-RC6
+ 1.0.0-RC7
4.0.0
diff --git a/pom.xml b/pom.xml
index f0f6d6c..1f729ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
org.dominokit
domino-rest
- 1.0.0-RC6
+ 1.0.0-RC7
pom
domino-rest
@@ -70,7 +70,7 @@
HEAD-SNAPSHOT
- 1.0.0-RC6
+ 1.0.0-RC7
1.8
1.8
UTF-8
@@ -89,7 +89,7 @@
1.0.0
2.9.0
1.0.2
- 1.0.0-RC3
+ 1.0.0-RC4
1.0.0-RC3
1.0.2