Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame^] | 1 | package eu.mulk.demos; |
2 | |||||
3 | import javax.ws.rs.GET; | ||||
4 | import javax.ws.rs.Path; | ||||
5 | import javax.ws.rs.Produces; | ||||
6 | import javax.ws.rs.core.MediaType; | ||||
7 | |||||
8 | @Path("/hello-resteasy-reactive") | ||||
9 | public class ReactiveGreetingResource { | ||||
10 | |||||
11 | @GET | ||||
12 | @Produces(MediaType.TEXT_PLAIN) | ||||
13 | public String hello() { | ||||
14 | return "Hello"; | ||||
15 | } | ||||
16 | } |