returns the response as a string decoded with the charset of the content-type header . if that header is either absent or lacks a charset , this will attempt to decode the response body as utf-8 . concode_field_sep Request request concode_elem_sep RawHeaders headers concode_elem_sep int code concode_elem_sep Reader reader concode_elem_sep RawHeaders headers concode_elem_sep Response redirectedBy concode_elem_sep Body body concode_field_sep Request request concode_elem_sep List<String> headers concode_elem_sep Charset charset concode_elem_sep Builder addHeader concode_elem_sep int code concode_elem_sep String headerName concode_elem_sep InputStream byteStream concode_elem_sep Set<String> headerNames concode_elem_sep Response redirectedBy concode_elem_sep Builder redirectedBy concode_elem_sep String headerValue concode_elem_sep void onFailure concode_elem_sep int headerCount concode_elem_sep Body body concode_elem_sep Builder body concode_elem_sep RawHeaders rawHeaders concode_elem_sep Builder rawHeaders concode_elem_sep Reader charStream concode_elem_sep boolean onResponse concode_elem_sep Response build concode_elem_sep boolean ready concode_elem_sep byte[] bytes concode_elem_sep String header concode_elem_sep String header concode_elem_sep Builder header concode_elem_sep long contentLength concode_elem_sep MediaType contentType
String function ( ) { return new String ( bytes ( ) , charset ( ) . name ( ) ) ; }