Assert.notNull() 对方法的参数做非空校验

@Autowired注解在方法上

Logger.debug(“The new entry is {}”, entry), slf4j

@ControllerAdvice,用于定义@ExceptionHandler、@InitBinder(初始化数据绑定器)、@ModelAttribute。这些定义将应用于所有的@RequestMapping。

 

Concurrent.Future,把耗时的操作放到异步线程中,把这个异步线程交给Future处理(任务是否完成,获取任务结果)。

@JsonInclude(JsonInclude.Include.NON_NULL),如果属性值为空则不返回。

CommandLineRunner

Springboot提供的预先加载数据的接口。

 

@Aspect,@Before,@within和@annotion,切面+注解

 

@KafkaListener