RequestT
- The type of the request to execute.RequestResultT
- The type of the result to return.public class RemoteFunctionRequestExecutor<RequestT extends AbstractRemoteFunctionRequest<RequestT,RequestResultT>,RequestResultT extends AbstractRemoteFunctionRequestResult<RequestT,RequestResultT>> extends Object implements RequestExecutor<RequestT,RequestResultT>
AbstractRemoteFunctionRequest
s.Constructor and Description |
---|
RemoteFunctionRequestExecutor(com.sap.cloud.sdk.s4hana.connectivity.rfc.AbstractTransactionFactory<RequestT,RequestResultT> transactionFactory) |
Modifier and Type | Method and Description |
---|---|
RequestResultT |
execute(Destination destination,
RequestT request)
Executes a request against an SAP S/4HANA system.
|
public RemoteFunctionRequestExecutor(com.sap.cloud.sdk.s4hana.connectivity.rfc.AbstractTransactionFactory<RequestT,RequestResultT> transactionFactory)
@Nonnull public RequestResultT execute(@Nonnull Destination destination, @Nonnull RequestT request) throws RequestExecutionException
RequestExecutor
execute
in interface RequestExecutor<RequestT extends AbstractRemoteFunctionRequest<RequestT,RequestResultT>,RequestResultT extends AbstractRemoteFunctionRequestResult<RequestT,RequestResultT>>
destination
- The Destination
to be used for execution.request
- The subclass of Request
to execute.RequestExecutionException
- If there is an issue while executing the request.Copyright © 2020 SAP SE. All rights reserved.