ResultT
- The type of the result entity, if any.public interface RequestBuilderExecutable<ResultT>
Modifier and Type | Method and Description |
---|---|
ResultT |
execute(HttpDestinationProperties destination)
Execute the OData request.
|
default io.vavr.control.Try<ResultT> |
tryExecute(HttpDestinationProperties destination)
Safely execute the OData request.
|
@Nonnull ResultT execute(@Nonnull HttpDestinationProperties destination)
destination
- The destination to be used as request target.DestinationAccessException
- If there is an issue accessing the Destination
.HttpClientInstantiationException
- If there is an issue creating the HttpClient
.ODataException
- If the OData request execution failed. Please find the documentation for ODataException
possible sub-types and error scenarios they can occur in.@Nonnull default io.vavr.control.Try<ResultT> tryExecute(@Nonnull HttpDestinationProperties destination)
destination
- The destination to be used as request target.Try
block.Copyright © 2021 SAP SE. All rights reserved.