Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/rest/InfoService.java @ 366:567ce7697fc7 0.5
Code documentation.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 10 Sep 2013 15:55:54 +0200 |
parents | 977582f7c0ae |
children | 183f8116d9a6 |
comparison
equal
deleted
inserted
replaced
365:fab80595ed55 | 366:567ce7697fc7 |
---|---|
47 this.version = version; | 47 this.version = version; |
48 } | 48 } |
49 } | 49 } |
50 | 50 |
51 /** | 51 /** |
52 * This class produces a RESTful service to read, write and update | 52 * This class produces a RESTful service to read information about the user and |
53 * LOrt objects. | 53 * server |
54 * | 54 * |
55 * @author <a href="mailto:torsten.irlaender@intevation.de">Torsten Irländer</a> | 55 * @author <a href="mailto:torsten.irlaender@intevation.de">Torsten Irländer</a> |
56 */ | 56 */ |
57 @Path("/info") | 57 @Path("/info") |
58 @RequestScoped | 58 @RequestScoped |
68 @Inject | 68 @Inject |
69 @Named("readonlyrepository") | 69 @Named("readonlyrepository") |
70 private Repository readonlyRepo; | 70 private Repository readonlyRepo; |
71 | 71 |
72 /** | 72 /** |
73 * Request SQL-Queries | 73 * Request User and Server information. |
74 * | |
75 * Query parameters are used for the filter in form of key-value pairs. | |
76 * | 74 * |
77 * @param info The URL query parameters. | 75 * @param info The URL query parameters. |
78 * @param headers The HTTP header containing authorization information. | 76 * @param headers The HTTP header containing authorization information. |
79 * @return Response object. | 77 * @return Response object. |
80 */ | 78 */ |