Class ConversationsController


  • @Controller
    public class ConversationsController
    extends Object
    • Constructor Detail

      • ConversationsController

        public ConversationsController()
    • Method Detail

      • pageIndex

        @GetMapping({"/","/index"})
        public String pageIndex​(org.springframework.ui.Model model,
                                HttpServletRequest request)
      • topic

        @GetMapping("/topics/{topicId}")
        public String topic​(org.springframework.ui.Model model,
                            @PathVariable
                            String topicId,
                            HttpServletRequest request)
      • post

        @GetMapping("/topics/{topicId}/posts/{postId}")
        public String post​(org.springframework.ui.Model model,
                           @PathVariable
                           String topicId,
                           @PathVariable
                           String postId,
                           HttpServletRequest request)
      • comment

        @GetMapping("/topics/{topicId}/posts/{postId}/comments/{commentId}")
        public String comment​(org.springframework.ui.Model model,
                              @PathVariable
                              String topicId,
                              @PathVariable
                              String postId,
                              @PathVariable
                              String commentId,
                              HttpServletRequest request)