aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/helper
diff options
context:
space:
mode:
authorDaniel <djr2468@gmail.com>2023-04-05 22:27:02 +0100
committerDaniel <djr2468@gmail.com>2023-04-05 22:27:02 +0100
commitc0dd2a6187de517af33aa92e0524414e65d973b4 (patch)
tree20afcdd6233940a30a4cf8dee6aaa09e6d3fdf21 /src/main/java/org/traccar/helper
parenta710ddd5ad336cd45d3a0e69f13985db840763dc (diff)
downloadtrackermap-server-c0dd2a6187de517af33aa92e0524414e65d973b4.tar.gz
trackermap-server-c0dd2a6187de517af33aa92e0524414e65d973b4.tar.bz2
trackermap-server-c0dd2a6187de517af33aa92e0524414e65d973b4.zip
Rename ServletHelper to WebHelper
Diffstat (limited to 'src/main/java/org/traccar/helper')
-rw-r--r--src/main/java/org/traccar/helper/WebHelper.java (renamed from src/main/java/org/traccar/helper/ServletHelper.java)12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/helper/ServletHelper.java b/src/main/java/org/traccar/helper/WebHelper.java
index b6c587ec3..9c6547d8d 100644
--- a/src/main/java/org/traccar/helper/ServletHelper.java
+++ b/src/main/java/org/traccar/helper/WebHelper.java
@@ -15,11 +15,18 @@
*/
package org.traccar.helper;
+import java.net.InetAddress;
+import java.net.UnknownHostException;
+
import javax.servlet.http.HttpServletRequest;
-public final class ServletHelper {
+import org.eclipse.jetty.util.URIUtil;
+import org.traccar.config.Config;
+import org.traccar.config.Keys;
+
+public final class WebHelper {
- private ServletHelper() {
+ private WebHelper() {
}
public static String retrieveRemoteAddress(HttpServletRequest request) {
@@ -41,5 +48,4 @@ public final class ServletHelper {
return null;
}
}
-
}