class OkHttpWagon.InputStreamSource extends OkHttpWagon.RetryableResource
| Modifier and Type | Field and Description |
|---|---|
private java.io.InputStream |
is |
| Constructor and Description |
|---|
InputStreamSource(org.apache.maven.wagon.resource.Resource resource,
java.io.InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyTo(java.io.OutputStream os) |
long |
length() |
protected void |
write(java.io.OutputStream os,
int n,
byte[] buffer) |
copypublic InputStreamSource(org.apache.maven.wagon.resource.Resource resource,
java.io.InputStream is)
public void copyTo(java.io.OutputStream os)
throws java.io.IOException
java.io.IOExceptionprotected void write(java.io.OutputStream os,
int n,
byte[] buffer)
throws java.io.IOException
write in class OkHttpWagon.RetryableResourcejava.io.IOExceptionpublic long length()