| Package | Description |
|---|---|
| com.sap.cloud.sdk.odatav2.connectivity |
| Modifier and Type | Method and Description |
|---|---|
ODataReadMediaBuilder |
ODataReadMediaBuilder.enableMetadataCache()
Enables caching of the metadata of an OData V2 data source.
|
ODataReadMediaBuilder |
ODataReadMediaBuilder.enableMetadataCache(com.sap.cloud.sdk.cloudplatform.cache.CacheKey cacheKey)
Enables caching of the metadata of an OData V2 data source.
|
ODataReadMediaBuilder |
ODataReadMediaBuilder.param(String key,
Object value)
Adds additional query parameters to the OData request
|
ODataReadMediaBuilder |
ODataReadMediaBuilder.withCacheRefresh()
Replaces the existing metadata in the cache with the latest version from the OData V2 data source.
|
static ODataReadMediaBuilder |
ODataReadMediaBuilder.withEntity(String servicePath,
String entitySetName,
Map<String,Object> keys)
Adds the name of the service and entity set, containing the media resource,
to the ODataMediaRequestBuilder object
|
ODataReadMediaBuilder |
ODataReadMediaBuilder.withHeader(String key,
String value)
Adds a header to the OData request for querying media resources
|
ODataReadMediaBuilder |
ODataReadMediaBuilder.withHeader(String key,
String value,
boolean passInAllRequests)
Adds a header to the OData request for querying media resources
|
ODataReadMediaBuilder |
ODataReadMediaBuilder.withMetadata(URL metadataFilePath)
Gets the metadata from the specified path.
|
ODataReadMediaBuilder |
ODataReadMediaBuilder.withoutMetadata()
Prevents the metadata being retrieved before the actual query.
|
Copyright © 2020 SAP. All Rights Reserved.