public class HttpClient extends Object
| Constructor and Description |
|---|
HttpClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String url) |
void |
download(String url,
OutputStream outputStream) |
com.google.api.client.json.GenericJson |
info(String url) |
com.google.api.client.json.GenericJson |
upload(String uploadEndpoint,
String contentType,
long size,
InputStream inputStream) |
public com.google.api.client.json.GenericJson upload(String uploadEndpoint, String contentType, long size, InputStream inputStream) throws IOException
IOExceptionpublic com.google.api.client.json.GenericJson info(String url) throws IOException
IOExceptionpublic void delete(String url) throws IOException
IOExceptionpublic void download(String url, OutputStream outputStream) throws IOException
IOExceptionCopyright © 2019. All rights reserved.