java - spring ResponseEntity limitations? -



java - spring ResponseEntity limitations? -

i have next code (it's method in controller) homecoming search results.

@requestmapping(value="/findproducts", method = requestmethod.get) @responsestatus(httpstatus.ok) public @responsebody responseentity<findresponse> findproducts( @requestparam(value = "regionid", required=true) string regionid,....) responseentity<findresponse> responseentity = new responseentity<findresponse>(result, headers, httpstatus.ok); homecoming responseentity; }

response:

http/1.1 200 ok cache-control: no-cache cache-control: no-store date: wed, 22 oct 2014 17:45:27 gmt pragma: no-cache transfer-encoding: chunked content-type: application/json;charset=utf-8 expires: thu, 01 jan 1970 00:00:00 gmt x-powered-by: servlet/2.5 jsp/2.1

i executing service via soap ui. service returns results if search finds 2k results. afterwards, response empty or truncated. in raw console, seeing improper json.

how send larger payload? compression possible? using spring 3.2 release

java spring spring-mvc

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -