-
-
Save m0mus/7b11d76c046965c311ea1131502058cf to your computer and use it in GitHub Desktop.
Helidon Takes Flight #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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