Java @Contorller VS @RestController annotation 31 December 2023 / 0 Comments Submitted by admin on 31 December 2023 @Controller is used to declare common web controllers which can return HTTP response but @RestController is used to create controllers for REST APIs which can return JSON. Spring Boot Java Add new comment Your name Subject Comment About text formats Restricted HTML You can use shortcode for block builder module. You can visit admin/structure/gavias_blockbuilder and get shortcode, sample [gbb name="page_home_1"]. You can use shortcode for block builder module. You can visit admin/structure/gavias_blockbuilder and get shortcode, sample [gbb name="page_home_1"].