Permalink
Please sign in to comment.
Browse files
added java/undertow-jersey-hikaricp plaintext support (#2187)
- Loading branch information...
Showing
with
20 additions
and 1 deletion.
| @@ -0,0 +1,18 @@ | ||
| package hello; | ||
| import javax.inject.*; | ||
| import javax.ws.rs.*; | ||
| import java.util.*; | ||
| @Singleton | ||
| @Path("/plaintext") | ||
| public class PlaintextResource | ||
| { | ||
| @GET | ||
| @Produces("text/plain") | ||
| public String plaintext() | ||
| { | ||
| return "Hello, World!"; | ||
| } | ||
| } |
0 comments on commit
d1e3dcf