Class AbstractHttpClientWagon.RequestEntityImplementation
- java.lang.Object
-
- org.apache.http.entity.AbstractHttpEntity
-
- org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.RequestEntityImplementation
-
- All Implemented Interfaces:
org.apache.http.HttpEntity
- Enclosing class:
- AbstractHttpClientWagon
private final class AbstractHttpClientWagon.RequestEntityImplementation extends org.apache.http.entity.AbstractHttpEntity
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RequestEntityImplementation(java.io.InputStream stream, Resource resource, Wagon wagon, java.io.File source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getContent()
long
getContentLength()
boolean
isRepeatable()
boolean
isStreaming()
void
writeTo(java.io.OutputStream output)
-
-
-
Constructor Detail
-
RequestEntityImplementation
private RequestEntityImplementation(java.io.InputStream stream, Resource resource, Wagon wagon, java.io.File source) throws TransferFailedException
- Throws:
TransferFailedException
-
-
Method Detail
-
getContentLength
public long getContentLength()
-
getContent
public java.io.InputStream getContent() throws java.io.IOException, java.lang.IllegalStateException
- Throws:
java.io.IOException
java.lang.IllegalStateException
-
isRepeatable
public boolean isRepeatable()
-
writeTo
public void writeTo(java.io.OutputStream output) throws java.io.IOException
- Throws:
java.io.IOException
-
isStreaming
public boolean isStreaming()
-
-