Mercurial > lada > lada-server
comparison src/main/java/de/intevation/rest/RESTService.java @ 6:5dcccaf3d007
Changed return string
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 18 Apr 2013 12:13:21 +0200 |
parents | 27839a25ee4c |
children |
comparison
equal
deleted
inserted
replaced
5:27839a25ee4c | 6:5dcccaf3d007 |
---|---|
10 public class RESTService { | 10 public class RESTService { |
11 | 11 |
12 @GET | 12 @GET |
13 @Produces("text/plain") | 13 @Produces("text/plain") |
14 public String listAll() { | 14 public String listAll() { |
15 return "Dies ist ein Test"; | 15 return "Hallo Welt!"; |
16 } | 16 } |
17 } | 17 } |
18 | 18 |
19 /** | 19 /** |
20 * JAX-RS Example | 20 * JAX-RS Example |