net.netheos.pcsapi.request
Class JSONEntity
java.lang.Object
org.apache.http.entity.AbstractHttpEntity
net.netheos.pcsapi.request.JSONEntity
- All Implemented Interfaces:
- org.apache.http.HttpEntity
public class JSONEntity
- extends org.apache.http.entity.AbstractHttpEntity
| Fields inherited from class org.apache.http.entity.AbstractHttpEntity |
chunked, contentEncoding, contentType |
| Methods inherited from class org.apache.http.entity.AbstractHttpEntity |
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONEntity
public JSONEntity(org.json.JSONObject json)
JSONEntity
public JSONEntity(org.json.JSONArray json)
isRepeatable
public boolean isRepeatable()
getContentLength
public long getContentLength()
getContent
public InputStream getContent()
throws IOException,
IllegalStateException
- Throws:
IOException
IllegalStateException
writeTo
public void writeTo(OutputStream out)
throws IOException
- Throws:
IOException
isStreaming
public boolean isStreaming()
Copyright © 2014. All Rights Reserved.