Since this method returns {@code ""} for no content, a simpler check for no content is to checkif {@link #getContent()} is {@code null}.
All content is read from the input content stream rather than being limited by the Content-Length. For the character set, it follows the specification by parsing the "charset" parameter of the Content-Type header or by default {@code "ISO-8859-1"} if the parameter ismissing.
@return parsed string or {@code ""} for no content @throws IOException I/O exception
|
|