public class WorkbookCreateSessionRequest extends BaseRequest implements IWorkbookCreateSessionRequest
| Modifier and Type | Field and Description |
|---|---|
protected WorkbookCreateSessionBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
WorkbookCreateSessionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this WorkbookCreateSession
|
| Modifier and Type | Method and Description |
|---|---|
IWorkbookCreateSessionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
WorkbookSessionInfo |
post() |
void |
post(ICallback<WorkbookSessionInfo> callback) |
IWorkbookCreateSessionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IWorkbookCreateSessionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesprotected final WorkbookCreateSessionBody body
public WorkbookCreateSessionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void post(ICallback<WorkbookSessionInfo> callback)
post in interface IWorkbookCreateSessionRequestpublic WorkbookSessionInfo post() throws ClientException
post in interface IWorkbookCreateSessionRequestClientExceptionpublic IWorkbookCreateSessionRequest select(java.lang.String value)
select in interface IWorkbookCreateSessionRequestvalue - the select clausepublic IWorkbookCreateSessionRequest top(int value)
top in interface IWorkbookCreateSessionRequestvalue - the max number of items to returnpublic IWorkbookCreateSessionRequest expand(java.lang.String value)
expand in interface IWorkbookCreateSessionRequestvalue - the expand clause