1、spring:
@RequestMapping(“/create”)

@ControllerAdvice

2、拦截器学习
定义以及注册

import org.apache.commons.lang3.tuple.Pair;

lombok:
1、@Builder
2、@Data

com.alibaba.schedulerx.worker.processor.JavaProcessor

1、springweb 参数接收的相关注解

@PathVariable @RequestBody
eg:

  1. public Map<String, Object> tagsArchives
  2. (@PathVariable(value = "eid") Long eid, @RequestBody List<String> tags) {

参数: eid 通过url 传参, tags 通过 post body ,json 格式 传参。

SpringBoot提供的获取参数注解包括:@PathVariable,@RequestParam,@RequestBody,三者的区别如下表:
框架学习 - 图1

参考地址:https://www.cnblogs.com/anywherego/p/9600871.html