Modifier and Type | Method and Description |
---|---|
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) |
static Destination |
DestinationAccessor.getDestination(String destinationName)
Loads the destination with the given name.
|
Collection<Header> |
CustomTokenHttpDestination.getHeaders(URI requestUri)
Getter for a collection of header that should be added to the outgoing request for this destination.
|
Collection<Header> |
ScpCfHttpDestination.getHeaders(URI requestUri) |
Collection<Header> |
ClientCredentialsHttpDestination.getHeaders(URI requestUri)
Getter for a collection of header that should be added to the outgoing request for this destination.
|
List<Header> |
ScpNeoHttpDestination.getHeaders(URI requestUri)
Getter for a collection of header that should be added to the outgoing request for this destination.
|
static org.apache.http.client.HttpClient |
HttpClientAccessor.getHttpClient(HttpDestinationProperties destination)
Returns an
HttpClient for the given Destination . |
Modifier and Type | Class and Description |
---|---|
class |
DestinationOAuthTokenException
This exception is thrown, when the authentication failed because of problems in OAuth.
|
class |
DestinationPathsNotMergeableException
This exception is thrown if destination URI paths cannot be merged.
|
class |
DestinationTypeNotSupportedException
This exception is thrown if a
DestinationType is not supported by a method. |
Modifier and Type | Method and Description |
---|---|
abstract RequestResultT |
Request.execute(Destination destination)
Executes a given request using the given
Destination . |
RequestResultT |
RequestExecutor.execute(Destination destination,
RequestT request)
Executes a request against an SAP S/4HANA system.
|
RequestResultT |
ErpHttpRequestExecutor.execute(HttpDestination destination,
RequestT request,
RequestSerializer<RequestT,RequestResultT> requestSerializer)
Serializes the given request, executes it, and the deserializes the response.
|
String |
ErpHttpRequestExecutor.execute(HttpDestination destination,
SerializedRequest<RequestT> serializedRequest)
Executes the given
serializedRequest as a HttpUriRequest , returning the body of the
HttpResponse received. |
static ErpHttpDestination |
ErpHttpDestinationUtils.getErpHttpDestination(String destinationName)
Convenience method to retrieve a destination by name via the
DestinationAccessor and decorating it as a
ErpHttpDestination . |
Modifier and Type | Method and Description |
---|---|
RfmRequestResult |
RfmRequest.execute(Destination destination)
Executes a given request using the given
Destination . |
BapiRequestResult |
BapiRequest.execute(Destination destination)
Executes a given request using the given
Destination . |
Copyright © 2021 SAP SE. All rights reserved.