Spring ResponseEntity - How to customize the response in Spring Boot

preview_player
Показать описание
In this tutorial, you will learn what the ResponseEntity class is and how it can be used to customize the response in your Spring Boot application.

🔗Resources & Links mentioned in this video:

👋🏻Connect with me:

Рекомендации по теме
Комментарии
Автор

In our project, we use ResponseEntity because there is an exception handler that alters the HTTP response code (400, 500 etc...) and the error body is a uniform and known object with standard error codes and descriptions

marouaniAymen
Автор

This Type Video Tutorial is veru helpful THANKS

ALSO make video on best practicse in spring boot

lovetyagi
Автор

Thumbs up was given at the earliest occasion - Dan, subscribed long time ago, got really the values :) Thank you for sharing the knowledge in your own unique style!!

raghavanaliassaravananm
Автор

Great video, some feedbacks are for you Dan -> it would be nice about talking exception handling case. When exception handling occurs, we can change the response headers accordingly so it can be better to use it. Other feedback is, it is always good to have some chapter markers; intro, problem definition example, etc..

ErmanUtkuavsar
Автор

I was finally able to understand what ResponseEntity is with your video. Thank you. By the way what theme are you using here for intellij?

mbilal
Автор

Wheww you have clear my confusion on this topic, Kudos :)

anilkrajamoni
Автор

Thank you so much! Very well explained! 💛

kostiantynkarzhanov
Автор

Can you also return a ResponseEntity if you're using GrahphQL instead of REST?

michaelcaridad
Автор

Nice contents . Pls dont stop to post videos Dan Vega

JMunkush
Автор

I really want your bash prompt setup please. The PS1 value!!

Rooster
Автор

Any thoughts on using this responseEntity for exception handling ? Even though the response might not contain headers but there is still a possibility that down the line it could run into some exception ? And as always thanks for the informative vids keep it up

Basitify
Автор

Dan what's your terminal setup? it looks awesome 👌

cholnhial
Автор

Could you please mention some use cases when we would want to add custom headers? Sorry if the question is stupid, I just landed my first job as a Junior 1 month ago, im kinda new.

tiyoo
Автор

thanks for awesome video, how do we create api for multipart data, form data with multiple text and multiple images, what is the best way and configuration to store images, also how do we do that in server as well?

galaxiegalaxie
Автор

@Dan thanks for examples, would it be a good/bad practise to wrap response alway in a Map.of("data", anyypojo") any performace impact?

silentsudo
Автор

Hi Dan, how can I create response with some field in a object a request with some fields

mimvt
Автор

how do you start server that fast sir ??

coddude
Автор

Hi, can i ask you a question, i wanna be using kotlin spring boot for production and realword app, can i have a any issue in future ? Or Spring boot is a good for all solutions java ?

tolgabayrak
Автор

how is he calling his API from the commandline, someone please save me.

gbbmrxc
Автор

Which Theme or color scheme you are using

kunalvarpe