Class DemoRestController


  • @RestController
    @RequestMapping(value="/serverPath",
                    produces="application/json;charset=UTF-8")
    public class DemoRestController
    extends java.lang.Object
    A class comment!
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.http.ResponseEntity<org.springframework.hateoas.ResourceSupport> deleteActionController()  
      org.springframework.http.ResponseEntity<OutputDto> getActionController​(@NotEmpty java.lang.String textValue, int numValue, javax.servlet.http.HttpServletRequest request)
      A comment for get demo
      org.springframework.http.ResponseEntity<org.springframework.hateoas.ResourceSupport> patchActionController()  
      org.springframework.http.ResponseEntity<OutputDto> postActionController​(InputDto chPasswordDto, javax.servlet.http.HttpServletRequest request)  
      org.springframework.http.ResponseEntity<org.springframework.hateoas.ResourceSupport> putActionController()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DemoRestController

        public DemoRestController()
    • Method Detail

      • postActionController

        @PostMapping(name="Post Demo",
                     value="postActionControllerPath",
                     consumes="text/xml")
        public org.springframework.http.ResponseEntity<OutputDto> postActionController​(@RequestBody @Validated
                                                                                       InputDto chPasswordDto,
                                                                                       javax.servlet.http.HttpServletRequest request)
      • getActionController

        @GetMapping(name="Get Demo",
                    value="getActionController/{textValueVarName}/path")
        public org.springframework.http.ResponseEntity<OutputDto> getActionController​(@PathVariable("textValueVarName") @NotEmpty
                                                                                      @NotEmpty java.lang.String textValue,
                                                                                      @RequestParam(defaultValue="0")
                                                                                      int numValue,
                                                                                      javax.servlet.http.HttpServletRequest request)
        A comment for get demo
      • putActionController

        @PutMapping(name="Put Demo",
                    value="putActionControllerPath")
        public org.springframework.http.ResponseEntity<org.springframework.hateoas.ResourceSupport> putActionController()
      • deleteActionController

        @DeleteMapping(name="Delete Demo",
                       value="deleteActionControllerPath")
        public org.springframework.http.ResponseEntity<org.springframework.hateoas.ResourceSupport> deleteActionController()
      • patchActionController

        @PatchMapping(name="Patch Demo",
                      value="patchActionControllerPath")
        public org.springframework.http.ResponseEntity<org.springframework.hateoas.ResourceSupport> patchActionController()