public class BaseCreateSessionRequest extends BaseRequest implements IBaseCreateSessionRequest
| Modifier and Type | Field and Description |
|---|---|
protected CreateSessionBody |
mBody |
REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
BaseCreateSessionRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options,
ChunkedUploadSessionDescriptor item)
The request for this CreateSession
|
| Modifier and Type | Method and Description |
|---|---|
UploadSession |
create()
Deprecated.
As of release 1.1.3, replaced by
post() |
void |
create(ICallback<UploadSession> callback)
Deprecated.
As of release 1.1.3, replaced by
post(ICallback) |
ICreateSessionRequest |
expand(java.lang.String value) |
UploadSession |
post() |
void |
post(ICallback<UploadSession> callback) |
ICreateSessionRequest |
select(java.lang.String value) |
ICreateSessionRequest |
top(int value) |
addHeader, getClient, getHeaders, getHttpMethod, getOptions, getQueryOptions, getRequestUrl, getResponseType, send, send, setHttpMethodprotected final CreateSessionBody mBody
public BaseCreateSessionRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options,
ChunkedUploadSessionDescriptor item)
requestUrl - The request urlclient - The service clientoptions - The options for this request@Deprecated public void create(ICallback<UploadSession> callback)
post(ICallback)create in interface IBaseCreateSessionRequest@Deprecated public UploadSession create() throws ClientException
post()create in interface IBaseCreateSessionRequestClientExceptionpublic void post(ICallback<UploadSession> callback)
post in interface IBaseCreateSessionRequestpublic UploadSession post() throws ClientException
post in interface IBaseCreateSessionRequestClientExceptionpublic ICreateSessionRequest select(java.lang.String value)
select in interface IBaseCreateSessionRequestpublic ICreateSessionRequest top(int value)
top in interface IBaseCreateSessionRequestpublic ICreateSessionRequest expand(java.lang.String value)
expand in interface IBaseCreateSessionRequest