diff options
author | nativbarak <nativ@globekeeper.com> | 2018-02-04 17:12:51 +0200 |
---|---|---|
committer | nativbarak <nativ@globekeeper.com> | 2018-02-04 17:12:51 +0200 |
commit | dc092138fc69bb5f8f137be435309d3945c49b13 (patch) | |
tree | b3aa19f250ea15725ec02743d448d14167bb2ae4 /src/org | |
parent | 377a2234ef8c25c54c22acf9db36d102347e0ad4 (diff) | |
download | trackermap-server-dc092138fc69bb5f8f137be435309d3945c49b13.tar.gz trackermap-server-dc092138fc69bb5f8f137be435309d3945c49b13.tar.bz2 trackermap-server-dc092138fc69bb5f8f137be435309d3945c49b13.zip |
Fixed length on basepipelinefactory
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/BasePipelineFactory.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java index e8034779d..4407caae4 100644 --- a/src/org/traccar/BasePipelineFactory.java +++ b/src/org/traccar/BasePipelineFactory.java @@ -238,7 +238,9 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory { } if (Context.getConfig().getBoolean("forward.enable")) { - pipeline.addLast("webHandler", new WebDataHandler(Context.getConfig().getString("forward.url"), Context.getConfig().getBoolean("forward.json"))); + final Boolean json = Context.getConfig().getBoolean("forward.json"); + final String url = Context.getConfig().getString("forward.url"); + pipeline.addLast("webHandler", new WebDataHandler(url, json)); } if (commandResultEventHandler != null) { |