当前位置:Gxlcms > 数据库问题 > spring mvc -- HttpMessageConverter、DispatcherServlet、Validator---@RequestBody @respondBody

spring mvc -- HttpMessageConverter、DispatcherServlet、Validator---@RequestBody @respondBody

时间:2021-07-01 10:21:17 帮助过:22人阅读

. (3)     Spring MVC performs input validation for the value stored in Resource object using Validator. (4)     Spring MVC calls REST API. Here, the Resource that has been converted from JSON and for which input validation is carried out, is delivered to REST API. (5) REST API REST API calls Service method and performs the process for DomainObject such as Entity etc. (6)   Service method calls the Repository method and performs CRUD process for the DomainObject such as Entity etc. (7) Spring MVC (Framework) Spring MVC converts the Resource object returned from REST API to JSON format message, by using HttpMessageConverter. (8)     Spring MVC sets JSON format message in response BODY and responds to client.  http://terasolunaorg.github.io/guideline/5.2.0.RELEASE/en/ArchitectureInDetail/WebServiceDetail/REST.html

spring mvc -- HttpMessageConverter、DispatcherServlet、Validator---@RequestBody @respondBody

标签:org   RKE   hub   nta   cli   cat   handle   crud   imp   

人气教程排行