RESTEasy当中的message body reader和writer的匹配

RESTEasy里面,对message body reader或writer的匹配,位于ResteasyProviderFactory里面:

此外,AbstractWriterInterceptorContext也有相关的方法:

上面其实是最终调用ResteasyProviderFactory里的方法的:

ResteasyProviderFactory 这里,最终是落在resolveMessageBodyReader(...)resolveMessageBodyWriter(...)这里:

以上是针对message body reader和writer的分析。

My Github Page: https://github.com/liweinan

Powered by Jekyll and Theme by solid

If you have any question want to ask or find bugs regarding with my blog posts, please report it here:
https://github.com/liweinan/liweinan.github.io/issues