Skip to content

Instantly share code, notes, and snippets.

@m0mus
Created September 9, 2018 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m0mus/7b11d76c046965c311ea1131502058cf to your computer and use it in GitHub Desktop.
Save m0mus/7b11d76c046965c311ea1131502058cf to your computer and use it in GitHub Desktop.
Helidon Takes Flight #3
@Path("hello")
@RequestScoped //allows us to use CDI injection
public class HelloWorld {
@GET
@Metered
public String hello() {
return "Hello World";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment