java - Spring MVC: What is an HttpEntity? -


this question has answer here:

i have read spring docs httpentity. accordingly, represents http response/request entity. arrived in conclusion same character in character stream. however, consists of header , body.

please elaborate httpentity or http response/request in general. links welcome.

the spring web model-view-controller (mvc) framework designed around dispatcherservlet dispatches requests handlers, configurable handler mappings, view resolution, locale, time zone , theme resolution support uploading files. default handler based on @controller , @requestmapping annotations, offering wide range of flexible handling methods. introduction of spring 3.0, @controller mechanism allows create restful web sites , applications, through @pathvariable annotation , other features.

the httpentity similar @requestbody , @responsebody. besides getting access request , response body, httpentity (and response-specific subclass responseentity) allows access request , response headers.

source : spring web mvc framework


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -