簡體   English   中英

Rest 模板使用 RestTemplateCustomizer 和 ClientHttpRequestInterceptor 在 rest 模板中記錄特定端點

[英]Rest template using RestTemplateCustomizer and ClientHttpRequestInterceptor to log specific endpoint in rest template

I tried to use URL pattern but only in controller working and also tried the @Qualifier this is the sample reference i used https://howtodoinjava.com/spring-boot2/resttemplate/resttemplate-builder/ with combination of https://www .baeldung.com/spring-resttemplate-logging進行日志記錄。 我想做的是select 特定端點來記錄rest 模板請求和請求,但我得到了一切。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM