Modifier and Type | Interface and Description |
---|---|
interface |
HttpDestination
Platform independent representation of a HTTP destination as a collection of key-value pairs.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHttpDestination
Abstract implementation of the
HttpDestination interface that delegates all interface methods to a base
HttpDestinationProperties object. |
class |
ClientCredentialsHttpDestination
HttpDestination implementation automatically
adding an authentication header retrieved from an XSUAA service with client credentials. |
class |
CustomTokenHttpDestination
HTTP destination that adds a custom access token as authorization header at runtime.
|
class |
DefaultHttpDestination
Immutable default implementation of the
HttpDestination interface. |
class |
ScpCfHttpDestination
SCP Cloud Foundry specific representation of a HTTP destination as a collection of key-value pairs.
|
class |
ScpNeoHttpDestination
SCP Neo specific representation of a HTTP destination as a collection of key-value pairs.
|
Modifier and Type | Method and Description |
---|---|
default <TargetT extends HttpDestinationProperties> |
HttpDestination.decorate(Function<HttpDestinationProperties,TargetT> decorator)
Provides an convenient way to decorate this destination with a custom class.
|
Modifier and Type | Method and Description |
---|---|
static DefaultHttpDestination.Builder |
DefaultHttpDestination.builder(HttpDestinationProperties httpDestination)
Starts a builder to be used to create a
DefaultHttpDestination with some properties. |
org.apache.http.client.HttpClient |
HttpClientFactory.createHttpClient(HttpDestinationProperties destination)
Creates an
HttpClient based on the given HttpDestinationProperties . |
org.apache.http.client.HttpClient |
AbstractHttpClientFactory.createHttpClient(HttpDestinationProperties destination) |
protected abstract io.vavr.control.Try<CacheKey> |
AbstractHttpClientCache.getCacheKey(HttpDestinationProperties destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination . |
protected io.vavr.control.Try<CacheKey> |
RequestScopedHttpClientCache.getCacheKey(HttpDestinationProperties destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination . |
protected io.vavr.control.Try<CacheKey> |
TimeScopedHttpClientCache.getCacheKey(HttpDestinationProperties destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination . |
protected org.apache.http.impl.conn.PoolingHttpClientConnectionManager |
DefaultHttpClientFactory.getConnectionManager(HttpDestinationProperties destination) |
protected org.apache.http.impl.conn.PoolingHttpClientConnectionManager |
AbstractHttpClientFactory.getConnectionManager(HttpDestinationProperties destination)
Get the connection manager for the HTTP client builder.
|
static org.apache.http.client.HttpClient |
HttpClientAccessor.getHttpClient(HttpDestinationProperties destination)
Returns an
HttpClient for the given Destination . |
protected org.apache.http.impl.client.HttpClientBuilder |
AbstractHttpClientFactory.getHttpClientBuilder(HttpDestinationProperties destination)
Get a preconfigured HTTP client builder instance.
|
protected org.apache.http.client.config.RequestConfig.Builder |
DefaultHttpClientFactory.getRequestConfigBuilder(HttpDestinationProperties destination) |
protected org.apache.http.client.config.RequestConfig.Builder |
AbstractHttpClientFactory.getRequestConfigBuilder(HttpDestinationProperties destination)
Get the request configuration builder for the HTTP client builder.
|
protected org.apache.http.config.SocketConfig.Builder |
DefaultHttpClientFactory.getSocketConfigBuilder(HttpDestinationProperties destination) |
protected org.apache.http.config.SocketConfig.Builder |
AbstractHttpClientFactory.getSocketConfigBuilder(HttpDestinationProperties destination)
Get the socket configuration builder for the HTTP client builder.
|
static io.vavr.control.Try<org.apache.http.client.HttpClient> |
HttpClientAccessor.tryGetHttpClient(HttpDestinationProperties destination)
|
io.vavr.control.Try<org.apache.http.client.HttpClient> |
AbstractHttpClientCache.tryGetHttpClient(HttpDestinationProperties destination,
HttpClientFactory httpClientFactory)
Gets the
HttpClient for the given Destination from this cache. |
io.vavr.control.Try<org.apache.http.client.HttpClient> |
HttpClientCache.tryGetHttpClient(HttpDestinationProperties destination,
HttpClientFactory httpClientFactory)
Gets the
HttpClient for the given Destination from this cache. |
Modifier and Type | Method and Description |
---|---|
default <TargetT extends HttpDestinationProperties> |
HttpDestination.decorate(Function<HttpDestinationProperties,TargetT> decorator)
Provides an convenient way to decorate this destination with a custom class.
|
Constructor and Description |
---|
AbstractHttpDestination(HttpDestinationProperties baseDestination) |
ClientCredentialsHttpDestination(HttpDestinationProperties baseDestination,
ClientCredentials clientCredentials,
AuthorizationServerSettings authorizationServerSettings)
Wraps the given destination and adds the authentication header retrieved from the given XSUAA service with the
given credentials via the given grant type.
|
ClientCredentialsHttpDestination(HttpDestinationProperties baseDestination,
ClientCredentials clientCredentials,
ClientCredentialsGrantType grantType,
URI xsuaaUri,
XsuaaService xsuaaService)
Wraps the given destination and adds the authentication header retrieved from the given XSUAA service with the
given credentials via the given grant type.
|
ClientCredentialsHttpDestination(HttpDestinationProperties baseDestination,
ClientCredentials clientCredentials,
URI xsuaaUri,
XsuaaService xsuaaService)
Wraps the given destination and adds the authentication header retrieved from the given XSUAA service with the
given credentials via the
ClientCredentialsGrantType.CLIENT_CREDENTIALS grant type. |
CustomTokenHttpDestination(HttpDestinationProperties baseDestination,
String accessToken)
Creates a new
HttpDestination on the basis of an existing HttpDestinationProperties with a custom
access token to be used in the authorization header. |
ScpCfHttpDestination(HttpDestinationProperties baseDestination)
Create an instance by wrapping an existing
HttpDestinationProperties object. |
Constructor and Description |
---|
MeteringStats(String serviceId,
Role meteringRole,
HttpDestinationProperties meteringServiceDestination)
Initializes a new
MeteringStats with the given service id, role and metering service destination name. |
Modifier and Type | Method and Description |
---|---|
protected HttpDestinationProperties |
VdmEntity.getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
Modifier and Type | Method and Description |
---|---|
protected void |
VdmEntity.attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
EntityT |
FluentHelperByKey.execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
FluentHelperByKey.executeRequest(HttpDestinationProperties) instead. |
com.sap.cloud.sdk.odatav2.connectivity.ODataDeleteResult |
FluentHelperDelete.execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
FluentHelperDelete.executeRequest(HttpDestinationProperties) instead. |
abstract ResultT |
FluentHelperBasic.execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
executeRequest(HttpDestinationProperties) instead. |
long |
FluentHelperCount.execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
FluentHelperCount.executeRequest(HttpDestinationProperties) instead. |
List<EntityT> |
FluentHelperRead.execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
FluentHelperRead.executeRequest(HttpDestinationProperties) instead. |
EntityT |
FluentHelperCreate.execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
FluentHelperCreate.executeRequest(HttpDestinationProperties) instead. |
com.sap.cloud.sdk.odatav2.connectivity.ODataUpdateResult |
FluentHelperUpdate.execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
FluentHelperUpdate.executeRequest(HttpDestinationProperties) instead. |
protected List<ObjectT> |
FluentHelperFunction.executeMultiple(HttpDestinationProperties destination)
Default implementation for the case that this function returns a collection of entries.
|
EntityT |
FluentHelperByKey.executeRequest(HttpDestinationProperties destination)
Executes this request.
|
ModificationResponse<EntityT> |
FluentHelperDelete.executeRequest(HttpDestinationProperties destination)
Executes this request.
|
abstract Object |
FluentHelperBasic.executeRequest(HttpDestinationProperties destination)
Executes this request.
|
long |
FluentHelperCount.executeRequest(HttpDestinationProperties destination)
Executes the underlying query for count, using the stored values, plus any query modifiers that were previously
called.
|
ResultT |
FluentHelperFunction.executeRequest(HttpDestinationProperties destination)
Executes function import request.
|
List<EntityT> |
FluentHelperRead.executeRequest(HttpDestinationProperties destination)
Executes this request.
|
ModificationResponse<EntityT> |
FluentHelperCreate.executeRequest(HttpDestinationProperties destination)
Executes this request.
|
ModificationResponse<EntityT> |
FluentHelperUpdate.executeRequest(HttpDestinationProperties destination)
Executes this request.
|
ResultT |
FluentHelperExecutable.executeRequest(HttpDestinationProperties destination)
Executes this request.
|
protected ObjectT |
FluentHelperFunction.executeSingle(HttpDestinationProperties destination)
Default implementation for the case that this function returns a single type.
|
protected void |
VdmEntity.setDestinationForFetch(HttpDestinationProperties destinationForFetch)
Convienence field for reusing the same destination with multiple queries (e.g.
|
Modifier and Type | Method and Description |
---|---|
BatchResponse |
BatchFluentHelperBasic.execute(HttpDestinationProperties destination)
Deprecated.
|
BatchResponse |
FluentHelperServiceBatchExecute.execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
FluentHelperServiceBatchExecute.executeRequest(HttpDestinationProperties) instead. |
BatchResponse |
BatchFluentHelperBasic.executeRequest(HttpDestinationProperties destination) |
BatchResponse |
FluentHelperServiceBatchExecute.executeRequest(HttpDestinationProperties destination)
Executes the underlying batch query including the stored changeset operations.
|
Modifier and Type | Method and Description |
---|---|
protected HttpDestinationProperties |
VdmEntity.getDestinationForFetch()
Convenience field for reusing the same destination with multiple requests (e.g.
|
Modifier and Type | Method and Description |
---|---|
protected void |
VdmEntity.attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
EntityT |
GetByKeyRequestBuilder.execute(HttpDestinationProperties destination)
Execute the OData request.
|
ModificationResponse<EntityT> |
CreateRequestBuilder.execute(HttpDestinationProperties destination)
Execute the OData create request for the provided entity.
|
List<ResultT> |
CollectionValueFunctionRequestBuilder.execute(HttpDestinationProperties destination) |
Long |
CountRequestBuilder.execute(HttpDestinationProperties destination)
Execute the OData request.
|
ActionResponseCollection<ResultT> |
CollectionValueActionRequestBuilder.execute(HttpDestinationProperties destination) |
BatchResponse |
BatchRequestBuilder.execute(HttpDestinationProperties destination) |
List<EntityT> |
GetAllRequestBuilder.execute(HttpDestinationProperties destination)
Execute the OData request.
|
ModificationResponse<EntityT> |
UpdateRequestBuilder.execute(HttpDestinationProperties destination)
Execute the OData update request for the provided entity.
|
ActionResponseSingle<ResultT> |
SingleValueActionRequestBuilder.execute(HttpDestinationProperties destination) |
ResultT |
SingleValueFunctionRequestBuilder.execute(HttpDestinationProperties destination) |
ResultT |
RequestBuilderExecutable.execute(HttpDestinationProperties destination)
Execute the OData request.
|
ModificationResponse<EntityT> |
DeleteRequestBuilder.execute(HttpDestinationProperties destination)
Execute the OData delete request for the provided entity.
|
protected void |
VdmEntity.setDestinationForFetch(HttpDestinationProperties destinationForFetch)
Convenience field for reusing the same destination with multiple requests (e.g.
|
default io.vavr.control.Try<ResultT> |
RequestBuilderExecutable.tryExecute(HttpDestinationProperties destination)
Safely execute the OData request.
|
Constructor and Description |
---|
ActivationApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Rule Authoring API for Cloud Foundry.
|
DataObjectsApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Rule Authoring API for Cloud Foundry.
|
ExportImportApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Rule Authoring API for Cloud Foundry.
|
ManagedSystemsApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Rule Authoring API for Cloud Foundry.
|
ProjectsApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Rule Authoring API for Cloud Foundry.
|
RulesApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Rule Authoring API for Cloud Foundry.
|
RuleServicesApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Rule Authoring API for Cloud Foundry.
|
RulesetsApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Rule Authoring API for Cloud Foundry.
|
XsrfHandlingApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Rule Authoring API for Cloud Foundry.
|
Constructor and Description |
---|
DeployUndeployRuleServiceApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Rule Execution API for Cloud Foundry.
|
InvokeRuleServiceApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Rule Execution API for Cloud Foundry.
|
XsrfHandlingApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Rule Execution API for Cloud Foundry.
|
Constructor and Description |
---|
ApiClient(HttpDestinationProperties destination)
Creates an instance of this class given an instance of
HttpDestinationProperties . |
Constructor and Description |
---|
AbstractOpenApiService(HttpDestinationProperties destination)
Expects the
HttpDestinationProperties instance to create the ApiClient from it. |
Constructor and Description |
---|
DataExportApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Workflow API for Cloud Foundry.
|
FormsApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Workflow API for Cloud Foundry.
|
JobsApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Workflow API for Cloud Foundry.
|
MessagesApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Workflow API for Cloud Foundry.
|
PurgeApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Workflow API for Cloud Foundry.
|
TaskDefinitionsApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Workflow API for Cloud Foundry.
|
UserTaskInstancesApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Workflow API for Cloud Foundry.
|
WorkflowDefinitionsApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Workflow API for Cloud Foundry.
|
WorkflowInstancesApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Workflow API for Cloud Foundry.
|
Copyright © 2021 SAP SE. All rights reserved.