aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorSrk <watertext@hotmail.it>2017-11-22 19:50:19 +0100
committerSrk <watertext@hotmail.it>2017-11-22 19:50:19 +0100
commit906d376b4f8c199b36064a0cd58cdf9c3ccb712f (patch)
tree18a706a9e96898d9a3486ab99f2420ac65a5902f /src/org/traccar/Context.java
parent07eae46acf26e2d978655f8ec0e5fd09c47c1546 (diff)
downloadtrackermap-server-906d376b4f8c199b36064a0cd58cdf9c3ccb712f.tar.gz
trackermap-server-906d376b4f8c199b36064a0cd58cdf9c3ccb712f.tar.bz2
trackermap-server-906d376b4f8c199b36064a0cd58cdf9c3ccb712f.zip
Changing form method
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index d77b6878f..3681cc2cc 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -71,8 +71,8 @@ import org.traccar.geolocation.GeolocationProvider;
import org.traccar.geolocation.MozillaGeolocationProvider;
import org.traccar.geolocation.OpenCellIdGeolocationProvider;
import org.traccar.notification.EventForwarder;
-import org.traccar.notification.FormTypeEventForwarder;
import org.traccar.notification.JsonTypeEventForwarder;
+import org.traccar.notification.MultiPartEventForwarder;
import org.traccar.reports.model.TripsConfig;
import org.traccar.smpp.SmppClient;
import org.traccar.web.WebServer;
@@ -375,7 +375,7 @@ public final class Context {
if (config.getBoolean("event.forward.enable")) {
if (Context.getConfig().getBoolean("event.forward.payloadAsParamMode")) {
- eventForwarder = new FormTypeEventForwarder();
+ eventForwarder = new MultiPartEventForwarder();
} else {
eventForwarder = new JsonTypeEventForwarder();
}