comparison artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java @ 73:d1b8c91b4506

Added url '/service/{service}' to REST server to offer the actual service over HTTP. artifacts/trunk@601 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 22 Jan 2010 11:56:28 +0000
parents b01e47317a78
children 48d1a9a082c2
comparison
equal deleted inserted replaced
72:b01e47317a78 73:d1b8c91b4506
34 map.put("database", database); 34 map.put("database", database);
35 35
36 Router router = new Router(context); 36 Router router = new Router(context);
37 37
38 router.attach(ServicesResource.PATH, ServicesResource.class); 38 router.attach(ServicesResource.PATH, ServicesResource.class);
39 router.attach(ServiceResource.PATH, ServiceResource.class);
39 router.attach(FactoriesResource.PATH, FactoriesResource.class); 40 router.attach(FactoriesResource.PATH, FactoriesResource.class);
40 router.attach(CreateResource.PATH, CreateResource.class); 41 router.attach(CreateResource.PATH, CreateResource.class);
41 router.attach(ArtifactResource.PATH, ArtifactResource.class); 42 router.attach(ArtifactResource.PATH, ArtifactResource.class);
42 router.attach(ArtifactOutResource.PATH, ArtifactOutResource.class); 43 router.attach(ArtifactOutResource.PATH, ArtifactOutResource.class);
43 44

http://dive4elements.wald.intevation.org