returns the body properly parsed depending on the content type . might be a string or a json object parsed as a map . concode_field_sep HttpResponse response concode_elem_sep JsonPath parsedResponse concode_field_sep String getBodyAsString concode_elem_sep boolean isError concode_elem_sep int getStatusCode concode_elem_sep boolean isJson concode_elem_sep Object evaluate concode_elem_sep Object evaluate concode_elem_sep JsonPath parsedResponse concode_elem_sep String getReasonPhrase
Object function ( ) { if ( isJson ( ) ) { return parsedResponse ( ) . evaluate ( "srini_string" ) ; } return response . getBody ( ) ; }