Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @RestController
- public class MessageController {
- @Autowired
- private MessageService messageService;
- @RequestMapping("/")
- public String sayHello() {
- return messageService.sayHello("Gary Lee");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement