aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-05-26 16:14:52 +0500
committerAbyss777 <abyss@fox5.ru>2016-05-26 16:14:52 +0500
commitc6cc8a87eb593dbf765814d1aaa09d5d231fa7fe (patch)
tree8b0cddcc79476a3252c8aec0946bd6e8e016b475 /src/org/traccar/web
parentaa12e5c750e771016545269ffa39409b06b47eee (diff)
downloadtraccar-server-c6cc8a87eb593dbf765814d1aaa09d5d231fa7fe.tar.gz
traccar-server-c6cc8a87eb593dbf765814d1aaa09d5d231fa7fe.tar.bz2
traccar-server-c6cc8a87eb593dbf765814d1aaa09d5d231fa7fe.zip
Events subsystem
Diffstat (limited to 'src/org/traccar/web')
-rw-r--r--src/org/traccar/web/WebServer.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java
index 8144af0b6..751db7a33 100644
--- a/src/org/traccar/web/WebServer.java
+++ b/src/org/traccar/web/WebServer.java
@@ -44,6 +44,7 @@ import org.traccar.api.resource.GroupResource;
import org.traccar.api.resource.DeviceResource;
import org.traccar.api.resource.PositionResource;
import org.traccar.api.resource.CommandTypeResource;
+import org.traccar.api.resource.EventResource;
import org.traccar.helper.Log;
import javax.naming.InitialContext;
@@ -148,7 +149,8 @@ public class WebServer {
resourceConfig.register(CorsResponseFilter.class);
resourceConfig.registerClasses(ServerResource.class, SessionResource.class, CommandResource.class,
GroupPermissionResource.class, DevicePermissionResource.class, UserResource.class,
- GroupResource.class, DeviceResource.class, PositionResource.class, CommandTypeResource.class);
+ GroupResource.class, DeviceResource.class, PositionResource.class,
+ CommandTypeResource.class, EventResource.class);
servletHandler.addServlet(new ServletHolder(new ServletContainer(resourceConfig)), "/*");
handlers.addHandler(servletHandler);