Skip to content

Instantly share code, notes, and snippets.

@m0mus

m0mus/HelloWorld.java Secret

Created Sep 9, 2018
Embed
What would you like to do?
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
You can’t perform that action at this time.