org.apache.http.util
Class EntityUtils
java.lang.Object
org.apache.http.util.EntityUtils
public final class EntityUtils
- extends Object
Static helpers for dealing with entities.
- Since:
- 4.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toByteArray
public static byte[] toByteArray(HttpEntity entity)
throws IOException
- Throws:
IOException
getContentCharSet
public static String getContentCharSet(HttpEntity entity)
throws ParseException
- Throws:
ParseException
toString
public static String toString(HttpEntity entity,
String defaultCharset)
throws IOException,
ParseException
- Throws:
IOException
ParseException
toString
public static String toString(HttpEntity entity)
throws IOException,
ParseException
- Throws:
IOException
ParseException
Please submit a feedback, bug or feature