Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Bug fix for GWT compilation

Rich Turner632669698728
diff --git a/model/src/main/java/org/openremote/model/http/RequestParams.java b/model/src/main/java/org/openremote/model/http/RequestParams.java
index 372bd2218..f9c8d25ae 100644
--- a/model/src/main/java/org/openremote/model/http/RequestParams.java
+++ b/model/src/main/java/org/openremote/model/http/RequestParams.java
@@ -106,6 +106,7 @@ public class RequestParams<IN, OUT> {
* Handles reverse proxying and returns the request base URI
*/
@JsIgnore
+ @GwtIncompatible
public UriBuilder getRequestBaseUri() {
URI uri = this.uriInfo.getRequestUri();
String scheme = TextUtil.isNullOrEmpty(this.forwardedProtoHeader) ? uri.getScheme() : this.forwardedProtoHeader;