private final class AbstractHttpClientWagon.RequestEntityImplementation
extends org.apache.http.entity.AbstractHttpEntity
Modifier and Type | Field and Description |
---|---|
private static int |
BUFFER_SIZE |
private java.nio.ByteBuffer |
byteBuffer |
private long |
length |
private Resource |
resource |
private java.io.File |
source |
private Wagon |
wagon |
Modifier | Constructor and Description |
---|---|
private |
RequestEntityImplementation(java.io.InputStream stream,
Resource resource,
Wagon wagon,
java.io.File source) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getContent() |
long |
getContentLength() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(java.io.OutputStream outstream) |
private static final int BUFFER_SIZE
private final Resource resource
private final Wagon wagon
private java.nio.ByteBuffer byteBuffer
private java.io.File source
private long length
private RequestEntityImplementation(java.io.InputStream stream, Resource resource, Wagon wagon, java.io.File source) throws TransferFailedException
TransferFailedException
public long getContentLength()
public java.io.InputStream getContent() throws java.io.IOException, java.lang.IllegalStateException
java.io.IOException
java.lang.IllegalStateException
public boolean isRepeatable()
public void writeTo(java.io.OutputStream outstream) throws java.io.IOException
java.io.IOException
public boolean isStreaming()