org.ektorp.http
Class InputStreamBulkEntity
java.lang.Object
org.apache.http.entity.AbstractHttpEntity
org.ektorp.http.InputStreamBulkEntity
- All Implemented Interfaces:
- org.apache.http.HttpEntity
public class InputStreamBulkEntity
- extends org.apache.http.entity.AbstractHttpEntity
| Fields inherited from class org.apache.http.entity.AbstractHttpEntity |
chunked, contentEncoding, contentType, OUTPUT_BUFFER_SIZE |
| 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 |
InputStreamBulkEntity
public InputStreamBulkEntity(InputStream inputStream,
boolean allOrNothing)
isRepeatable
public boolean isRepeatable()
getContentLength
public long getContentLength()
getContent
public InputStream getContent()
throws IOException,
IllegalStateException
- Throws:
IOException
IllegalStateException
writeTo
public void writeTo(OutputStream outputStream)
throws IOException
- Throws:
IOException
isStreaming
public boolean isStreaming()
Copyright © 2017. All rights reserved.