public class BaseThumbnailStreamRequest extends BaseStreamRequest<Thumbnail> implements IBaseThumbnailStreamRequest
| Constructor and Description |
|---|
BaseThumbnailStreamRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options)
The request for this ThumbnailStream
|
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
get() |
void |
get(ICallback<java.io.InputStream> callback) |
Thumbnail |
put(byte[] fileContents) |
void |
put(byte[] fileContents,
ICallback<Thumbnail> callback) |
addHeader, getHeaders, getHttpMethod, getOptions, getRequestUrl, send, send, send, sendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getHeaders, getHttpMethod, getOptions, getRequestUrlpublic BaseThumbnailStreamRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options)
requestUrl - The request urlclient - The service clientoptions - The options for this requestpublic void get(ICallback<java.io.InputStream> callback)
get in interface IBaseThumbnailStreamRequestpublic java.io.InputStream get()
throws ClientException
get in interface IBaseThumbnailStreamRequestClientExceptionpublic void put(byte[] fileContents,
ICallback<Thumbnail> callback)
put in interface IBaseThumbnailStreamRequestpublic Thumbnail put(byte[] fileContents) throws ClientException
put in interface IBaseThumbnailStreamRequestClientException