Class AbstractHttpClientWagon.WagonHttpEntity
java.lang.Object
org.apache.http.entity.AbstractHttpEntity
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.WagonHttpEntity
- All Implemented Interfaces:
org.apache.http.HttpEntity
- Enclosing class:
AbstractHttpClientWagon
final class AbstractHttpClientWagon.WagonHttpEntity
extends org.apache.http.entity.AbstractHttpEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long
private boolean
private final Resource
private File
private InputStream
private final Wagon
Fields inherited from class org.apache.http.entity.AbstractHttpEntity
chunked, contentEncoding, contentType, OUTPUT_BUFFER_SIZE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
WagonHttpEntity
(InputStream stream, Resource resource, Wagon wagon, File source) -
Method Summary
Modifier and TypeMethodDescriptionlong
getWagon()
boolean
boolean
void
writeTo
(OutputStream output) Methods inherited from class org.apache.http.entity.AbstractHttpEntity
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType, toString
-
Field Details
-
resource
-
wagon
-
stream
-
source
-
length
private long length -
repeatable
private boolean repeatable
-
-
Constructor Details
-
WagonHttpEntity
private WagonHttpEntity(InputStream stream, Resource resource, Wagon wagon, File source) throws TransferFailedException - Throws:
TransferFailedException
-
-
Method Details
-
getResource
-
getWagon
-
getContent
- Throws:
IOException
IllegalStateException
-
getSource
-
getContentLength
public long getContentLength() -
isRepeatable
public boolean isRepeatable() -
writeTo
- Throws:
IOException
-
isStreaming
public boolean isStreaming()
-