Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何创建已设置拦截器的 spring rest 模板的子类。这样做的目的是避免在每次实例化 resttemplate 时设置拦截器。我只想直接使用这个自定义类的实例。