diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-25 23:43:05 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-25 23:43:05 -0800 |
commit | e037b4a39ccc2c93bf738b391b02add31a310d4e (patch) | |
tree | d650aa0032029388bd51f0ce3912a9225481ebde | |
parent | 2b9469e85bf7da0905ac3a679554178532f51009 (diff) | |
download | trackermap-server-e037b4a39ccc2c93bf738b391b02add31a310d4e.tar.gz trackermap-server-e037b4a39ccc2c93bf738b391b02add31a310d4e.tar.bz2 trackermap-server-e037b4a39ccc2c93bf738b391b02add31a310d4e.zip |
Make data handler sharable
-rw-r--r-- | src/org/traccar/WebDataHandler.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/WebDataHandler.java b/src/org/traccar/WebDataHandler.java index 27b317321..64396de03 100644 --- a/src/org/traccar/WebDataHandler.java +++ b/src/org/traccar/WebDataHandler.java @@ -17,6 +17,7 @@ package org.traccar; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; +import io.netty.channel.ChannelHandler; import org.traccar.config.Config; import org.traccar.config.Keys; import org.traccar.database.IdentityManager; @@ -39,6 +40,7 @@ import java.util.Formatter; import java.util.Locale; import java.util.TimeZone; +@ChannelHandler.Sharable public class WebDataHandler extends BaseDataHandler { private static final String KEY_POSITION = "position"; |