Class BeanController

java.lang.Object
cn.net.pap.example.admin.controller.BeanController

@RestController public class BeanController extends Object
  • Constructor Details

    • BeanController

      public BeanController()
  • Method Details

    • exampleBeanDTO

      @GetMapping("bean") public ExampleBeanDTO exampleBeanDTO()
    • exampleUserDTO

      @GetMapping("user") public ExampleUserDTO exampleUserDTO()
    • exampleAdminDTO

      @GetMapping("dto") public ExampleAdminDTO exampleAdminDTO()
    • exampleAdminDTO2

      @GetMapping(value="dto2", produces="application/json;charset=UTF-8") public String exampleAdminDTO2() throws Exception
      Throws:
      Exception
    • exampleAdminDTO3

      @GetMapping("dto3") public ExampleAdminDTO exampleAdminDTO3()
    • exampleAdminDTO4

      @GetMapping("dto4") public ExampleAdminDTO exampleAdminDTO4()
    • exampleAdminDTO5

      @GetMapping(value="dto5", produces="application/json;charset=UTF-8") public String exampleAdminDTO5() throws Exception
      Throws:
      Exception
    • exampleAdminDTO6

      @GetMapping(value="dto6", produces="application/json;charset=UTF-8") public String exampleAdminDTO6() throws Exception
      Throws:
      Exception