Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform.connectivity | |
com.sap.cloud.sdk.s4hana.connectivity | |
com.sap.cloud.sdk.testutil |
Modifier and Type | Method and Description |
---|---|
protected List<Header> |
AbstractDestination.getDefaultHeaders()
Creates a list of all default headers to be used in this destination.
|
List<Header> |
DestinationHeaderProvider.getHeaders(Destination destination)
Provides a list of
Header objects which should be used with the given destination. |
List<Header> |
Destination.getHeaders(URI requestUri) |
List<Header> |
AbstractDestination.getHeaders(URI requestUri) |
List<Header> |
ScpCfDestination.getHeaders(URI requestUri) |
List<Header> |
ScpNeoDestination.getHeaders(URI requestUri) |
Modifier and Type | Method and Description |
---|---|
List<Header> |
Query.getCustomHttpHeaders()
Set of HTTP headers to send to the underlying query executor.
|
List<Header> |
Query.getHeaderParameters()
Deprecated.
Use
Query.getCustomHttpHeaders() instead. Will be removed in one of the next releases. |
List<Header> |
SerializedQueryResult.getHeaders() |
List<Header> |
SerializedQuery.getRequestHeaders() |
Modifier and Type | Method and Description |
---|---|
QueryT |
Query.withCustomHttpHeader(Header header)
Fluent method which adds a custom header to this query.
|
Modifier and Type | Method and Description |
---|---|
void |
ErpEndpointMonitor.trackLongRunningRequest(Duration duration,
String requestLine,
String requestBody,
String responseLine,
List<Header> responseHeaders,
int responseLength)
Adds tracking for a long running request with all related information.
|
Constructor and Description |
---|
SerializedQuery(QueryT query,
RequestMethod requestMethod,
String requestPath,
List<Header> requestHeaders,
String requestBody) |
SerializedQueryResult(QueryT query,
String body,
List<Header> headers) |
Modifier and Type | Method and Description |
---|---|
List<Header> |
MockDestination.getHeaders() |
List<Header> |
MockErpDestination.getHeaders() |
Modifier and Type | Method and Description |
---|---|
MockDestination.MockDestinationBuilder |
MockDestination.MockDestinationBuilder.header(Header header) |
MockErpDestination.MockErpDestinationBuilder |
MockErpDestination.MockErpDestinationBuilder.header(Header header) |
Modifier and Type | Method and Description |
---|---|
MockDestination.MockDestinationBuilder |
MockDestination.MockDestinationBuilder.headers(Collection<? extends Header> headers) |
MockErpDestination.MockErpDestinationBuilder |
MockErpDestination.MockErpDestinationBuilder.headers(Collection<? extends Header> headers) |
Destination |
MockUtil.mockDestination(String name,
URI uri,
AuthenticationType authenticationType,
ProxyType proxyType,
ProxyConfiguration proxyConfiguration,
List<Header> headers,
KeyStore trustStore,
String trustStorePassword,
Boolean isTrustingAllCertificates,
KeyStore keyStore,
String keyStorePassword,
Map<String,String> propertiesByName)
Mocks a destination based on the given parameters.
|
Destination |
MockUtil.mockErpDestination(String destinationName,
ErpSystem erpSystem,
Credentials credentials,
AuthenticationType authenticationType,
ProxyType proxyType,
ProxyConfiguration proxyConfiguration,
List<Header> headers,
KeyStore trustStore,
String trustStorePassword,
Boolean isTrustingAllCertificates,
KeyStore keyStore,
String keyStorePassword,
Map<String,String> propertiesByName)
Mocks an ERP
Destination for the given parameters. |
void |
MockDestination.setHeaders(List<Header> headers) |
void |
MockErpDestination.setHeaders(List<Header> headers) |
Copyright © 2019 SAP SE. All rights reserved.