Package | Description |
---|---|
com.sap.cloud.sdk.services.rest.apiclient | |
com.sap.cloud.sdk.services.rest.core |
Modifier and Type | Method and Description |
---|---|
ApiClient |
ApiClient.addDefaultHeader(String name,
String value)
Add a default header.
|
ApiClient |
ApiClient.setBasePath(String basePath)
Set the base path, which should include the host
|
ApiClient |
ApiClient.setDateFormat(DateFormat dateFormat)
Set the date format used to parse/format date parameters.
|
ApiClient |
ApiClient.setUserAgent(String userAgent)
Set the User-Agent header's value (by adding to the default header map).
|
Modifier and Type | Field and Description |
---|---|
protected ApiClient |
AbstractRestService.apiClient
The instance of
ApiClient the concrete API class uses to conduct HTTP commmunication. |
Constructor and Description |
---|
RestResponse(ApiClient client)
Create a new
RestResponse from an ApiClient |
Copyright © 2020 SAP SE. All rights reserved.