Last active
November 10, 2017 19:13
-
-
Save g00glen00b/f3e4bf68cba49707bb20b7b11b4c254d to your computer and use it in GitHub Desktop.
Spring routing
This file contains hidden or 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
RouterFunction<ServerResponse> helloWorldRoute = | |
RouterFunctions.route(RequestPredicates.get("/hello-world"), | |
request -> Response.ok().body(fromObject("Hello World"))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment