| Constructor and Description |
|---|
InputStreamBodyImpl(java.io.InputStream inputStream, java.lang.String contentType) |
| Modifier and Type | Method and Description |
|---|---|
JSONArray |
asJSONArray() |
JSONObject |
asJSONObject() |
org.w3c.dom.Node |
asNode() |
java.io.InputStream |
asStream() |
java.lang.String |
asString() |
InputStreamBodyImpl |
disableBuffering() |
ContentType |
getContentType() |
java.lang.String |
toString() |
public InputStreamBodyImpl(java.io.InputStream inputStream,
java.lang.String contentType)
throws java.io.IOException
java.io.IOExceptionpublic InputStreamBodyImpl disableBuffering()
public java.io.InputStream asStream()
throws java.io.IOException
public java.lang.String asString()
throws java.io.IOException
public JSONObject asJSONObject()
throws java.io.IOException
asJSONObject in interface Bodyjava.io.IOException
public JSONArray asJSONArray()
throws java.io.IOException
asJSONArray in interface Bodyjava.io.IOException
public org.w3c.dom.Node asNode()
throws java.io.IOException
public ContentType getContentType()
getContentType in interface Bodypublic java.lang.String toString()
toString in class java.lang.Object