Avoiding every endPoint goes throught @RestControllerAdvice.

11 views
Skip to first unread message

Tulio Alberton Ribeiro

unread,
Mar 11, 2020, 7:08:00 PM3/11/20
to jackson-user
Hello everyone. 

I would like to know if is it possible to select which endPoing will go through @RestControllerAdvice using JSONView. 

My point is, I have some endpoints which I want not be filtered through JSONView. 

Is that any way to do it?

Sorry for any doubts.

Best Regards!!

Tulio Ribeiro

Tatu Saloranta

unread,
Mar 11, 2020, 7:11:03 PM3/11/20
to jackson-user
On Wed, Mar 11, 2020 at 4:08 PM Tulio Alberton Ribeiro <tu...@credisfera.com.br> wrote:
Hello everyone. 

I would like to know if is it possible to select which endPoing will go through @RestControllerAdvice using JSONView. 

My point is, I have some endpoints which I want not be filtered through JSONView. 

Is that any way to do it?

Jackson does not provide annotation `@RestControllerAdvice` (and thereby won't implement handling) so I think this is a question about some framework (Spring? Restlet?). Given this it may be best to ask on some other list.
But if anyone on this list knows more about this case they can share what they know.

-+ Tatu +- 

 

Sorry for any doubts.

Best Regards!!

Tulio Ribeiro

--
You received this message because you are subscribed to the Google Groups "jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jackson-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-user/0265d02a-9b40-4c6d-8ce2-33090c9e73f3%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages