Modifier and Type | Method and Description |
---|---|
protected void |
AbstractDestinationFacade.assertDestinationType(GenericDestination destination,
DestinationType expectedType) |
org.apache.http.client.HttpClient |
HttpClientFactory.createHttpClient(Destination destination)
Creates an
HttpClient based on the given Destination . |
org.apache.http.client.HttpClient |
DefaultHttpClientFactory.createHttpClient(Destination destination)
Creates an
HttpClient based on the given Destination . |
Destination |
AbstractDestinationFacade.getDestination(String destinationName)
Returns the
Destination for the given name. |
static Destination |
DestinationAccessor.getDestination(String destinationName)
Returns the
Destination for the given name. |
Destination |
DestinationFacade.getDestination(String destinationName)
Returns the
Destination for the given name. |
Map<String,Destination> |
AbstractDestinationFacade.getDestinationsByName()
Returns all destinations that are of type
DestinationType.HTTP by their names. |
static Map<String,Destination> |
DestinationAccessor.getDestinationsByName()
Returns all known
Destination s that are of type DestinationType.HTTP by their names. |
Map<String,Destination> |
DestinationFacade.getDestinationsByName()
Returns all destinations that are of type
DestinationType.HTTP by their names. |
protected Map<String,com.google.gson.JsonObject> |
AbstractDestinationFacade.getDestinationsFromEnvironmentVariable() |
protected Map<String,GenericDestination> |
AbstractDestinationFacade.getDestinationsFromEnvironmentVariable(com.sap.cloud.sdk.cloudplatform.connectivity.DestinationFactory destinationFactory) |
DestinationType |
AbstractDestinationFacade.getDestinationType(String destinationName)
Returns the
DestinationType of the destination with the given name. |
static DestinationType |
DestinationAccessor.getDestinationType(String destinationName)
Returns the
DestinationType of the destination with the given name. |
DestinationType |
DestinationFacade.getDestinationType(String destinationName)
Returns the
DestinationType of the destination with the given name. |
GenericDestination |
AbstractDestinationFacade.getGenericDestination(String destinationName)
Returns the
GenericDestination for the given name. |
static GenericDestination |
DestinationAccessor.getGenericDestination(String destinationName)
Returns the
GenericDestination for the given name. |
GenericDestination |
DestinationFacade.getGenericDestination(String destinationName)
Returns the
GenericDestination for the given name. |
GenericDestination |
ScpNeoDestinationFacade.getGenericDestination(String destinationName)
Returns the
GenericDestination for the given name. |
static Map<String,GenericDestination> |
DestinationAccessor.getGenericDestinationsByName()
Returns all known destinations by their names, irrespective of their type.
|
Map<String,GenericDestination> |
DestinationFacade.getGenericDestinationsByName()
Returns all destinations by their names.
|
Map<String,GenericDestination> |
ScpCfDestinationFacade.getGenericDestinationsByName()
Returns all destinations by their names.
|
Map<String,GenericDestination> |
ScpNeoDestinationFacade.getGenericDestinationsByName()
Returns all destinations by their names.
|
List<Header> |
Destination.getHeaders(URI requestUri) |
List<Header> |
AbstractDestination.getHeaders(URI requestUri) |
List<Header> |
ScpCfDestination.getHeaders(URI requestUri) |
List<Header> |
ScpNeoDestination.getHeaders(URI requestUri) |
static org.apache.http.client.HttpClient |
HttpClientAccessor.getHttpClient(Destination destination) |
static org.apache.http.client.HttpClient |
HttpClientAccessor.getHttpClient(String destinationName) |
Optional<KeyStore> |
Destination.getKeyStore() |
Optional<KeyStore> |
ScpCfDestination.getKeyStore() |
Optional<ProxyConfiguration> |
Destination.getProxyConfiguration() |
Optional<ProxyConfiguration> |
ScpCfDestination.getProxyConfiguration() |
Optional<ProxyConfiguration> |
ScpNeoDestination.getProxyConfiguration() |
RfcDestination |
AbstractDestinationFacade.getRfcDestination(String destinationName)
Returns the
RfcDestination for the given name. |
static RfcDestination |
DestinationAccessor.getRfcDestination(String destinationName)
Returns the
RfcDestination for the given name. |
RfcDestination |
DestinationFacade.getRfcDestination(String destinationName)
Returns the
RfcDestination for the given name. |
Map<String,RfcDestination> |
AbstractDestinationFacade.getRfcDestinationsByName()
Returns all destinations that are of type
DestinationType.RFC by their names. |
static Map<String,RfcDestination> |
DestinationAccessor.getRfcDestinationsByName()
Returns all known
RfcDestination s that are of type DestinationType.RFC by their names. |
Map<String,RfcDestination> |
DestinationFacade.getRfcDestinationsByName()
Returns all destinations that are of type
DestinationType.RFC by their names. |
Optional<KeyStore> |
Destination.getTrustStore() |
Optional<KeyStore> |
ScpCfDestination.getTrustStore() |
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 |
---|---|
QueryResultT |
Query.execute()
Executes a given query using the default
ErpConfigContext . |
abstract QueryResultT |
Query.execute(ErpConfigContext configContext)
Executes a given query using the given
ErpConfigContext . |
QueryResultT |
QueryExecutor.execute(ErpConfigContext configContext,
QueryT query)
Executes a query against an SAP S/4HANA system.
|
QueryResultT |
HttpRequestExecutor.execute(ErpConfigContext configContext,
QueryT query,
QuerySerializer<QueryT,QueryResultT> querySerializer)
Serializes the given query, executes it, and the deserializes the response.
|
String |
HttpRequestExecutor.execute(ErpConfigContext configContext,
SerializedQuery<QueryT> serializedQuery)
Executes the given
serializedQuery as a HttpUriRequest , returning the body of the
HttpResponse received. |
Constructor and Description |
---|
ErpConfigContext(String destinationName,
SapClient sapClient,
Locale locale)
Creates an ERP configuration context.
|
ErpConfigContext(String destinationName,
SapClient sapClient,
String sapClientProperty,
Locale locale,
String localeProperty)
Creates an ERP configuration context.
|
ErpConfigContext(String destinationName,
String destinationNameRfc,
SapClient sapClient,
String sapClientProperty,
Locale locale,
String localeProperty)
Creates an ERP configuration context.
|
Modifier and Type | Method and Description |
---|---|
RfcQueryResult |
RfcQuery.execute(ErpConfigContext configContext)
Executes a given query using the given
ErpConfigContext . |
BapiQueryResult |
BapiQuery.execute(ErpConfigContext configContext)
Executes a given query using the given
ErpConfigContext . |
Copyright © 2018 SAP SE. All rights reserved.