aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/WebServer.java
diff options
context:
space:
mode:
authorGábor Somogyi <gabor.g.somogyi@gmail.com>2016-05-02 01:08:59 +0200
committerGábor Somogyi <gabor.g.somogyi@gmail.com>2016-05-02 01:08:59 +0200
commit97c2c3d47a7e6ef094038091649c130d2de4b016 (patch)
tree091d72f2a7aac024c76d43bfb6c1be6c808ff786 /src/org/traccar/web/WebServer.java
parent9d5b2230caa434db5bff773b4ffa980da2adc15c (diff)
downloadtrackermap-server-97c2c3d47a7e6ef094038091649c130d2de4b016.tar.gz
trackermap-server-97c2c3d47a7e6ef094038091649c130d2de4b016.tar.bz2
trackermap-server-97c2c3d47a7e6ef094038091649c130d2de4b016.zip
Concept update + UI translation support
Diffstat (limited to 'src/org/traccar/web/WebServer.java')
-rw-r--r--src/org/traccar/web/WebServer.java13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java
index dc933aa00..3862d1384 100644
--- a/src/org/traccar/web/WebServer.java
+++ b/src/org/traccar/web/WebServer.java
@@ -41,16 +41,9 @@ import org.traccar.api.CorsResponseFilter;
import org.traccar.api.ObjectMapperProvider;
import org.traccar.api.ResourceErrorHandler;
import org.traccar.api.SecurityRequestFilter;
-import org.traccar.api.resource.CommandResource;
-import org.traccar.api.resource.DeviceResource;
-import org.traccar.api.resource.DevicePermissionResource;
-import org.traccar.api.resource.GroupPermissionResource;
-import org.traccar.api.resource.GroupResource;
-import org.traccar.api.resource.PositionResource;
-import org.traccar.api.resource.ServerResource;
-import org.traccar.api.resource.SessionResource;
-import org.traccar.api.resource.UserResource;
+import org.traccar.api.resource.*;
import org.traccar.helper.Log;
+import org.traccar.model.SupportedCommand;
public class WebServer {
@@ -147,7 +140,7 @@ 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);
+ GroupResource.class, DeviceResource.class, PositionResource.class, SupportedCommandResource.class);
servletHandler.addServlet(new ServletHolder(new ServletContainer(resourceConfig)), "/*");
handlers.addHandler(servletHandler);