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.IOException
public 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 Body
java.io.IOException
public JSONArray asJSONArray() throws java.io.IOException
asJSONArray
in interface Body
java.io.IOException
public org.w3c.dom.Node asNode() throws java.io.IOException
public ContentType getContentType()
getContentType
in interface Body
public java.lang.String toString()
toString
in class java.lang.Object