diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-03-05 15:06:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-05 15:06:59 -0800 |
commit | 74b5d0c139dd9a76064395aa733330083fd46fb8 (patch) | |
tree | 6d73596ad6696c6f9f99a590aa136491e518efc8 /src/main/java/org/traccar/config/Keys.java | |
parent | 9bb835a9d45737d5090d1b78ee69310d59cb0a43 (diff) | |
parent | 3c82764799784d3d30d969dbfef9a075f4874278 (diff) | |
download | trackermap-server-74b5d0c139dd9a76064395aa733330083fd46fb8.tar.gz trackermap-server-74b5d0c139dd9a76064395aa733330083fd46fb8.tar.bz2 trackermap-server-74b5d0c139dd9a76064395aa733330083fd46fb8.zip |
Merge pull request #4495 from presidentio/allowing-custom-content-type-header-in-location-forward
Allowing custom content type header in location forward
Diffstat (limited to 'src/main/java/org/traccar/config/Keys.java')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index d88b36d28..200ef8aa3 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -101,6 +101,13 @@ public final class Keys { "forward.json", Boolean.class); /** + * Boolean value to enable URL parameters in json mode. For example, {uniqueId} for device identifier, + * {latitude} and {longitude} for coordinates. + */ + public static final ConfigKey FORWARD_URL_VARIABLES = new ConfigKey( + "forward.urlVariables", Boolean.class); + + /** * Position forwarding retrying enable. When enabled, additional attempts are made to deliver positions. If initial * delivery fails, because of an unreachable server or an HTTP response different from '2xx', the software waits * for 'forward.retry.delay' milliseconds to retry delivery. On subsequent failures, this delay is duplicated. |