Mercurial > hg > AnnotationManager
comparison src/de/mpiwg/itgroup/annotationManager/restlet/RestServer.java @ 13:9393c9c9b916
saves annotations now!
author | casties |
---|---|
date | Wed, 21 Mar 2012 15:23:57 +0100 |
parents | e9fd2e1e0979 |
children | 6c7c4140630d |
comparison
equal
deleted
inserted
replaced
12:2e5d526079de | 13:9393c9c9b916 |
---|---|
184 // Redirector(getContext().createChildContext(), target, | 184 // Redirector(getContext().createChildContext(), target, |
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("/annotations", AddAndReadAnnotations.class); | 189 router.attach("/annotator/annotations", AnnotatorAnnotations.class); |
190 router.attach("/search", AnnotatorSearch.class); // annotator api askes | 190 router.attach("/annotator/search", AnnotatorSearch.class); // annotator api askes |
191 // for different uris | 191 // for different uris |
192 // for search and | 192 // for search and |
193 // adding | 193 // adding |
194 // router.attach("/search",SearchAnnotations.class); // annotator api | 194 // router.attach("/search",SearchAnnotations.class); // annotator api |
195 // askes for different uris for search and adding | 195 // askes for different uris for search and adding |