summaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/eu/mulk/mulkcms2/web/ExampleResource.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/eu/mulk/mulkcms2/web/ExampleResource.java b/src/main/java/eu/mulk/mulkcms2/web/ExampleResource.java
new file mode 100644
index 0000000..4951eb4
--- /dev/null
+++ b/src/main/java/eu/mulk/mulkcms2/web/ExampleResource.java
@@ -0,0 +1,14 @@
+package eu.mulk.mulkcms2.web;
+
+import javax.ws.rs.GET;
+import javax.ws.rs.Produces;
+import javax.ws.rs.core.MediaType;
+
+public class ExampleResource {
+
+ @GET
+ @Produces({MediaType.TEXT_PLAIN})
+ public String hello() {
+ return "hello!";
+ }
+}