org.ektorp.http
Class InputStreamBulkEntity

java.lang.Object
  extended by org.apache.http.entity.AbstractHttpEntity
      extended by org.ektorp.http.InputStreamBulkEntity
All Implemented Interfaces:
org.apache.http.HttpEntity

public class InputStreamBulkEntity
extends org.apache.http.entity.AbstractHttpEntity


Field Summary
 
Fields inherited from class org.apache.http.entity.AbstractHttpEntity
chunked, contentEncoding, contentType, OUTPUT_BUFFER_SIZE
 
Constructor Summary
InputStreamBulkEntity(InputStream inputStream, boolean allOrNothing)
           
 
Method Summary
 InputStream getContent()
           
 long getContentLength()
           
 boolean isRepeatable()
           
 boolean isStreaming()
           
 void writeTo(OutputStream outputStream)
           
 
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
 

Constructor Detail

InputStreamBulkEntity

public InputStreamBulkEntity(InputStream inputStream,
                             boolean allOrNothing)
Method Detail

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.