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

Added a Rest resource that handles operations specific to a collection. artifacts/trunk@1367 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 02 Mar 2011 15:10:34 +0000
parents 5d40faf1484d
children 7e20702a90ed
comparison
equal deleted inserted replaced
141:5d40faf1484d 142:e986e32bc7d4
78 router.attach(UserResource.PATH, UserResource.class); 78 router.attach(UserResource.PATH, UserResource.class);
79 router.attach( 79 router.attach(
80 CreateCollectionResource.PATH, CreateCollectionResource.class); 80 CreateCollectionResource.PATH, CreateCollectionResource.class);
81 router.attach( 81 router.attach(
82 ListCollectionsResource.PATH, ListCollectionsResource.class); 82 ListCollectionsResource.PATH, ListCollectionsResource.class);
83 router.attach(
84 CollectionResource.PATH, CollectionResource.class);
83 85
84 return router; 86 return router;
85 } 87 }
86 } 88 }
87 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 89 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org