public interface RequestExecutor<RequestT extends Request<RequestT,RequestResultT>,RequestResultT extends RequestResult<RequestT,RequestResultT>>
Modifier and Type | Method and Description |
---|---|
RequestResultT |
execute(Destination destination,
RequestT request)
Executes a request against an SAP S/4HANA system.
|
@Nonnull RequestResultT execute(@Nonnull Destination destination, @Nonnull RequestT request) throws RequestSerializationException, RequestExecutionException, DestinationNotFoundException, DestinationAccessException
destination
- The Destination
to be used for execution.request
- The subclass of Request
to execute.RequestSerializationException
- If there is an issue while serializing the request.RequestExecutionException
- If there is an issue while executing the request.DestinationNotFoundException
- If no destination with the name can be found.DestinationAccessException
- If there is an issue while accessing destination information.Copyright © 2019 SAP SE. All rights reserved.