Mercurial > hg > AnnotationManager
comparison src/de/mpiwg/itgroup/annotationManager/restlet/RestServer.java @ 15:6c7c4140630d
on the way to updating annotations.
author | casties |
---|---|
date | Wed, 21 Mar 2012 18:12:45 +0100 |
parents | 9393c9c9b916 |
children | 0cd1e7608d25 |
comparison
equal
deleted
inserted
replaced
14:0f64de5fff5a | 15:6c7c4140630d |
---|---|
185 // Redirector.MODE_CLIENT_SEE_OTHER); | 185 // Redirector.MODE_CLIENT_SEE_OTHER); |
186 | 186 |
187 Router router = new Router(getContext()); | 187 Router router = new Router(getContext()); |
188 | 188 |
189 router.attach("/annotator/annotations", AnnotatorAnnotations.class); | 189 router.attach("/annotator/annotations", AnnotatorAnnotations.class); |
190 router.attach("/annotator/search", AnnotatorSearch.class); // annotator api askes | 190 router.attach("/annotator/annotations/{id}", AnnotatorAnnotations.class); |
191 // for different uris | 191 router.attach("/annotator/search", AnnotatorSearch.class); |
192 // for search and | 192 |
193 // adding | |
194 // router.attach("/search",SearchAnnotations.class); // annotator api | |
195 // askes for different uris for search and adding | |
196 router.attach("/dummy", Dummy.class); | 193 router.attach("/dummy", Dummy.class); |
197 | 194 |
198 // router.attach("",redirector); | 195 // router.attach("",redirector); |
199 router.attach("/annotator", ExtendedAnnotationInput.class); | 196 router.attach("/annotator", ExtendedAnnotationInput.class); |
200 router.attach("/", AnnotatorInfo.class); | 197 router.attach("/", AnnotatorInfo.class); |