diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-08 18:27:33 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-08 18:27:33 +1300 |
commit | ccd10d6ee510c72b583fae8e302ed6c44574d5b1 (patch) | |
tree | a9427c6938552e0ba6ed53d3097902dd79cd1787 /src/org/traccar/web/WebServer.java | |
parent | 3c5293cd078149a81cfdd21878e7731d56b2830c (diff) | |
download | trackermap-server-ccd10d6ee510c72b583fae8e302ed6c44574d5b1.tar.gz trackermap-server-ccd10d6ee510c72b583fae8e302ed6c44574d5b1.tar.bz2 trackermap-server-ccd10d6ee510c72b583fae8e302ed6c44574d5b1.zip |
Implement statistics API call
Diffstat (limited to 'src/org/traccar/web/WebServer.java')
-rw-r--r-- | src/org/traccar/web/WebServer.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java index ec15ea2be..ecdac73c0 100644 --- a/src/org/traccar/web/WebServer.java +++ b/src/org/traccar/web/WebServer.java @@ -40,6 +40,7 @@ import org.traccar.api.resource.GroupPermissionResource; import org.traccar.api.resource.ServerResource; import org.traccar.api.resource.SessionResource; import org.traccar.api.resource.DevicePermissionResource; +import org.traccar.api.resource.StatisticsResource; import org.traccar.api.resource.UserResource; import org.traccar.api.resource.GroupResource; import org.traccar.api.resource.NotificationResource; @@ -162,7 +163,8 @@ public class WebServer { GroupResource.class, DeviceResource.class, PositionResource.class, CommandTypeResource.class, EventResource.class, GeofenceResource.class, DeviceGeofenceResource.class, GeofencePermissionResource.class, GroupGeofenceResource.class, - NotificationResource.class, ReportResource.class, AttributeAliasResource.class); + NotificationResource.class, ReportResource.class, AttributeAliasResource.class, + StatisticsResource.class); servletHandler.addServlet(new ServletHolder(new ServletContainer(resourceConfig)), "/*"); handlers.addHandler(servletHandler); |