Spring Boot Rest Client Interceptors

  Рет қаралды 11,109

Dan Vega

Dan Vega

Күн бұрын

Пікірлер: 18
@thelanelim92
@thelanelim92 9 ай бұрын
Hi Dan, this is a bit more advanced, thanks… it’s nice to see this type of content in a sea of hello world examples which take you nowhere. ❤
@varunbhardwaj2267
@varunbhardwaj2267 9 ай бұрын
Dan thanks for another wonderful insight about RestClient. Only expectation from many developers is Spring Boot can provide the necessary Infrastructure to support commonly used interceptors under the hood such as JWT token propagation, Oauth related mechanisms..etc. Webclient already has such functionality through builder pipeline. Hope this could be considered in future release for RestClient
@pad5724
@pad5724 9 ай бұрын
Rest client will be my main topic for February! Thank you Dan
@technogeek8306
@technogeek8306 9 ай бұрын
Thank you Dan for uploading the tutorial. This is very helpful. Simple use case wherein we can use this: Logging request type, url and response time which is very useful while debugging something in production. For me, something more to explore: Understanding how rest client interceptor behaves when we get 4xx, 5xx and timeout errors.
@dflachbart
@dflachbart 9 ай бұрын
Thanks Dan for your videos!! Very excited about the new Rest Client in 3.2, so appreciate your various tutorials about it... For a long time everyone was saying that the RestTemplate is going to be deprecated (which now doesn't really seem true any more right?), so we moved on to using the WebFlux WebClient in every new project. To be honest I was never really happy about it, it always kind of felt wrong to use a reactive tool and just tack on a '.block()' to use it synchronously.... 😉 But now with the Rest Client it seems we have a nice and modern alternative again that I will try to advocate for in our new projects! On a side note, do you happen to know if Spring Boot 3.2 supports automatic Observability instrumentation for the Rest Client like it does for the WebClient? We just started just using Observability in our projects and this would be great...
@calintamas7576
@calintamas7576 9 ай бұрын
Thx, Dan for this video!
@PranavInamdar-g2c
@PranavInamdar-g2c 4 ай бұрын
Thanks dan for sharing the knowledge. Really helpful!!
@EricSouzarys
@EricSouzarys 9 ай бұрын
Thanks for the video. Do you have any documentation link on how to use interceptors to deal with authencation based on tokens that need to be refreshed after expires?
@SaurabhSingh-q4v
@SaurabhSingh-q4v 9 ай бұрын
Very informative Thank you Dan
@Nothing_Else_Matters
@Nothing_Else_Matters 9 ай бұрын
Thank you.. it is very helpful
@haroldpepete
@haroldpepete 9 ай бұрын
in some.videos you're a java champion and in others a spring developer, what is your secret identity?
@georgigeorgiev9859
@georgigeorgiev9859 3 ай бұрын
What about a global response interceptor - for example to log a certain header.
@ainigma100
@ainigma100 2 ай бұрын
Thank you for the video Dan! Is it possible to read the response body of the interceptor? I was trying to read the response body but I was not able to do that. ClientHttpResponse response = execution.execute(request, body); Does anyone know how to do it? Assume that for auditing purpose I want to save in the database the request details and the response details (headers, path variables, query params, response body etc.) Thank you in advance!
@maneshipocrates2264
@maneshipocrates2264 9 ай бұрын
Thanks for the video.
@markkuuss
@markkuuss 9 ай бұрын
Hey Dan, do you have paid courses in plateforms like Pluralsight or Udemy?
@matadorxp1
@matadorxp1 9 ай бұрын
Nice video!!
@er.sahilmd
@er.sahilmd 8 ай бұрын
The link for github are wrong
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 83 МЛН
How to create your own custom Spring Boot Starter
26:55
Dan Vega
Рет қаралды 10 М.
Using Interceptor in Spring Boot
22:13
The Tech Mojo
Рет қаралды 25 М.
Leaf Hangout #3
1:40:33
Leaf PHP Framework
Рет қаралды 39
"Spring Boot REST Client Logging Made Easy
22:25
Dan Vega
Рет қаралды 4,3 М.
Deep Dive into REST API Design and Implementation Best Practices
12:02
Software Developer Diaries
Рет қаралды 60 М.
Spring Boot call REST API Tutorial
31:31
Dan Vega
Рет қаралды 17 М.
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 99 М.