@RestController @Validated public class ApiRestController extends Object
ApiRestController()
Result
doGet()
exception()
HashMap
index(Student student)
redis()
redisGet()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ApiRestController()
@PostMapping(value="/api") public HashMap index(@Validated @RequestBody Student student)
@GetMapping(value="/redis") public Result redis()
@GetMapping(value="/redis/get") public Result redisGet()
@GetMapping(value="/doGet") public Result doGet()
@GetMapping(value="/exception") public Result exception()
Copyright © 2023. All rights reserved.