IBaseClient<nativeRequestType> Interface
Type Parameters
- nativeRequestType
type of a request for the native http client
public interface IBaseClient<nativeRequestType>
A client that communications with an OData service
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Custom |
customRequest(String url, Class<T> responseType)
Gets a builder to execute a custom request |
|
abstract
Batch |
batch()
Get the batch request builder. |
|
abstract
Custom |
customRequest(String url)
Gets a builder to execute a custom request with a generic JSONObject response |
|
abstract
IHttp |
getHttpProvider()
Gets the HTTP provider |
| abstract ILogger |
getLogger()
Gets the logger |
| abstract ISerializer |
getSerializer()
Gets the serializer |
| abstract java.lang.String |
getServiceRoot()
Gets the service root |
| abstract java.lang.String |
getServiceSDKVersion()
Gets the service SDK version if the service SDK is in use, null otherwise |
| abstract void |
setServiceRoot(String value)
Sets the service root |
Method Details
customRequest
public abstract CustomRequestBuilder
Gets a builder to execute a custom request
Parameters:
Returns:
batch
public abstract BatchRequestBuilder batch()
Get the batch request builder.
Returns:
customRequest
public abstract CustomRequestBuilder
Gets a builder to execute a custom request with a generic JSONObject response
Parameters:
Returns:
getHttpProvider
public abstract IHttpProvider
Gets the HTTP provider
Returns:
getLogger
public abstract ILogger getLogger()
Gets the logger
Returns:
getSerializer
public abstract ISerializer getSerializer()
Gets the serializer
Returns:
getServiceRoot
public abstract String getServiceRoot()
Gets the service root
Returns:
getServiceSDKVersion
public abstract String getServiceSDKVersion()
Gets the service SDK version if the service SDK is in use, null otherwise
Returns:
setServiceRoot
public abstract void setServiceRoot(String value)
Sets the service root
Parameters: