public abstract static class HttpRequestor.Uploader extends Object
Constructor and Description |
---|
Uploader() |
Modifier and Type | Method and Description |
---|---|
abstract void |
abort() |
abstract void |
close() |
abstract HttpRequestor.Response |
finish() |
abstract OutputStream |
getBody() |
void |
upload(byte[] body) |
void |
upload(File file) |
void |
upload(InputStream in) |
void |
upload(InputStream in,
long limit) |
public abstract OutputStream getBody()
public abstract void close()
public abstract void abort()
public abstract HttpRequestor.Response finish() throws IOException
IOException
public void upload(File file) throws IOException
IOException
public void upload(InputStream in, long limit) throws IOException
IOException
public void upload(InputStream in) throws IOException
IOException
public void upload(byte[] body) throws IOException
IOException