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 |
---|---|
List<Header> |
AbstractDestination.getHeaders(URI requestUri) |
List<Header> |
Destination.getHeaders(URI requestUri) |
List<Header> |
ScpCfDestination.getHeaders(URI requestUri) |
List<Header> |
ScpNeoDestination.getHeaders(URI requestUri) |
Modifier and Type | Method and Description |
---|---|
List<Header> |
Query.getHeaderParameters()
Set of header parameters to send to the underlying query executor.
|
List<Header> |
SerializedQueryResult.getHeaders() |
List<Header> |
SerializedQuery.getRequestHeaders() |
protected List<Header> |
AbstractQueryExecutor.getRequestHeaders(ErpConfigContext configContext,
Destination destination,
SerializedQuery<QueryT> serializedQuery) |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractQueryExecutor.getNonSensitiveHeadersAsString(List<Header> headers)
Converts the given headers to a String while omitting sensitive headers to avoid leaking them to logs.
|
protected void |
AbstractQueryExecutor.handleBadGateway(String responseBody,
List<Header> responseHeaders) |
protected void |
AbstractQueryExecutor.handleForbidden(String responseBody,
List<Header> responseHeaders) |
protected void |
AbstractQueryExecutor.handleHttpError(ErpConfigContext configContext,
int statusCode,
String responseBody,
List<Header> responseHeaders) |
protected void |
AbstractQueryExecutor.handleHttpStatus(ErpConfigContext configContext,
int statusCode,
String responseBody,
List<Header> responseHeaders) |
protected void |
AbstractQueryExecutor.handleInternalServerError(String responseBody,
List<Header> responseHeaders) |
protected void |
AbstractQueryExecutor.handleServiceUnavailableError(ErpConfigContext configContext,
String responseBody,
List<Header> responseHeaders) |
protected void |
AbstractQueryExecutor.handleUnauthorized(String responseBody,
List<Header> responseHeaders) |
protected org.apache.http.client.methods.HttpUriRequest |
AbstractQueryExecutor.newRequest(ErpConfigContext configContext,
RequestMethod requestMethod,
URI requestUri,
List<Header> requestHeaders,
String requestBody) |
protected void |
AbstractQueryExecutor.recordExecutionDuration(SerializedQuery<QueryT> serializedQuery,
org.apache.http.RequestLine requestLine,
org.apache.http.StatusLine statusLine,
List<Header> responseHeaders,
String responseBody) |
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 © 2018 SAP SE. All rights reserved.