在这篇文章中,我们认识了参数解析器和消息转换器,今天我们来自定义一个参数解析器。
自定义参数解析器
实现HandlerMethodArgumentResolver的类,并注册到Spring容器。
Component//注册到Spring
public class UserAr…
当git clone失败时,出现如下错误,可能由于网络连接不稳定或仓库太大导致的。 RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) error: 160 bytes of body are still expectedB | 158.00 KiB/s fetch-pack: unexpected disc…