get json response from object with http status concode_field_sep String ACCESS_CONTROL_ALLOW_ORIGIN concode_elem_sep String CONTENT_TYPE concode_field_sep ResponseEntity<T> getJsonHttptatus concode_elem_sep ResponseEntity<T> getJsonHttptatus concode_elem_sep String toJson concode_elem_sep ResponseEntity<List<T>> defaultJsonResponse concode_elem_sep ResponseEntity<String> defaultJsonResponse concode_elem_sep T jsonToObject
ResponseEntity < T > function ( T arg0 , HttpStatus arg1 ) { HttpHeaders loc0 = new HttpHeaders ( ) ; loc0 . set ( CONTENT_TYPE , MediaType . APPLICATION_JSON_VALUE ) ; Map < String , Object > loc1 = new HashMap < String , Object > ( ) ; loc1 . put ( "srini_string" , arg0 ) ; return new ResponseEntity ( loc1 , loc0 , arg1 ) ; }