Mercurial > dive4elements > framework
diff artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java @ 143:7e20702a90ed
Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
artifacts/trunk@1368 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 02 Mar 2011 16:02:47 +0000 |
parents | e986e32bc7d4 |
children | fa0d9acea897 |
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java Wed Mar 02 15:10:34 2011 +0000 +++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java Wed Mar 02 16:02:47 2011 +0000 @@ -82,6 +82,8 @@ ListCollectionsResource.PATH, ListCollectionsResource.class); router.attach( CollectionResource.PATH, CollectionResource.class); + router.attach( + CollectionOutResource.PATH, CollectionOutResource.class); return router; }