Advanced JAX-RS 19 - Handling Generic Types

preview_player
Показать описание

Learn how to handle generic types in the REST API response.
Рекомендации по теме
Комментарии
Автор

Thank you very much brother ... really appreciate your help. Best part is that you never asked to like the video or subscribe the channel ...
Thank you very much for giving depth understanding of concepts....I am learning quickly and in depth.... It's because of you Brother.

pranaymunshi
Автор

Hi Koushik, Thanks a lot for the resourceful videos.They all are simply great.

pranabbharadwaj
Автор

Thanks for the support!! But I have a question. You have a list in Message model and I want it to be generic means, class Message<T> and List<T> list. I am having a trouble here. How may I do this?? Thanks in advance.

sonus
Автор

Hello Sir.... Thank you very much for guiding new technologies... Please upload videos on Spring Boot...

tanveerahmed
Автор

I have User class which contain List<Address> and List<Email>, but i unable to convert response to User object.

virurathoreta
Автор

@KoushikWhy do you need the {} at the end of the GenericType?  Why not just "new GenericType<List<Message>>()" without the {}.

JamesJt
Автор

) is giving me a MessageBodyWriter error when I am trying to convert an ArrayList to json Array to pass to my setMessage(Message[] messages). Is any there any other way to pass json array from client to REST api

pranabbharadwaj
Автор

In Java 8 :
.queryParam("year",

The above code alone works perfectly

adilmuthukoya