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

testing - Detect whether test has failed within fixture -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

android - Create single AAR file from multiple modules using Gradle -