diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-03 14:35:59 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-03 14:35:59 +1200 |
commit | 7b58913edc7d1572ef66e16bd1c989a510455b6e (patch) | |
tree | 4cdc76ee53fe86ea357c711e967f4906c7deb275 /src/org/traccar/http/AsyncServlet.java | |
parent | 18127a2dfc362ffd7de4110e013a10a9f894469b (diff) | |
download | trackermap-server-7b58913edc7d1572ef66e16bd1c989a510455b6e.tar.gz trackermap-server-7b58913edc7d1572ef66e16bd1c989a510455b6e.tar.bz2 trackermap-server-7b58913edc7d1572ef66e16bd1c989a510455b6e.zip |
Create base servlet class
Diffstat (limited to 'src/org/traccar/http/AsyncServlet.java')
-rw-r--r-- | src/org/traccar/http/AsyncServlet.java | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/src/org/traccar/http/AsyncServlet.java b/src/org/traccar/http/AsyncServlet.java index 927e93c78..502c551cb 100644 --- a/src/org/traccar/http/AsyncServlet.java +++ b/src/org/traccar/http/AsyncServlet.java @@ -15,14 +15,11 @@ */ package org.traccar.http; -import org.jboss.netty.util.Timeout; -import org.jboss.netty.util.TimerTask; -import org.traccar.Context; -import org.traccar.GlobalTimer; -import org.traccar.database.DataCache; -import org.traccar.helper.Log; -import org.traccar.model.Position; - +import java.io.IOException; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.concurrent.TimeUnit; import javax.json.Json; import javax.json.JsonObjectBuilder; import javax.servlet.AsyncContext; @@ -31,12 +28,13 @@ import javax.servlet.ServletResponse; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import java.io.IOException; -import java.sql.SQLException; -import java.util.Collection; -import java.util.HashMap; -import java.util.Map; -import java.util.concurrent.TimeUnit; +import org.jboss.netty.util.Timeout; +import org.jboss.netty.util.TimerTask; +import org.traccar.Context; +import org.traccar.GlobalTimer; +import org.traccar.database.DataCache; +import org.traccar.helper.Log; +import org.traccar.model.Position; public class AsyncServlet extends HttpServlet { |