Package tv.hd3g.selfautorestdoc.demo
Class DemoRestController
- java.lang.Object
-
- tv.hd3g.selfautorestdoc.demo.DemoRestController
-
@RestController @RequestMapping(value="/serverPath", produces="application/json") public class DemoRestController extends ObjectA class comment!
-
-
Constructor Summary
Constructors Constructor Description DemoRestController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<BaseRepresentationModel>deleteActionController()org.springframework.http.ResponseEntity<OutputDto>getActionController(@NotEmpty String textValue, int numValue, javax.servlet.http.HttpServletRequest request)A comment for get demoorg.springframework.http.ResponseEntity<BaseRepresentationModel>patchActionController()org.springframework.http.ResponseEntity<OutputDto>postActionController(InputDto chPasswordDto, javax.servlet.http.HttpServletRequest request)org.springframework.http.ResponseEntity<BaseRepresentationModel>putActionController()
-
-
-
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 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<BaseRepresentationModel> putActionController()
-
deleteActionController
@DeleteMapping(name="Delete Demo", value="deleteActionControllerPath") public org.springframework.http.ResponseEntity<BaseRepresentationModel> deleteActionController()
-
patchActionController
@PatchMapping(name="Patch Demo", value="patchActionControllerPath") public org.springframework.http.ResponseEntity<BaseRepresentationModel> patchActionController()
-
-