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 |
---|---|
Header |
ScpCfDestinationServiceV1Response.DestinationAuthToken.getHttpHeaderSuggestion() |
Header |
XsuaaService.retrieveAccessTokenHeaderViaClientCredentialsGrant(URI xsuaaUri,
ClientCredentials credentials)
Retrieves an
AccessToken for a given pair of client credentials and returns it as part of an
Authorization header. |
Header |
XsuaaService.retrieveAccessTokenHeaderViaUserTokenExchange(URI xsuaaUri,
ClientCredentials credentials)
Retrieves a
AccessToken for a given pair of client credentials in the name of an authenticated user (to
be found in the JWT of the current request) with Refresh Token based authentication and returns the token as part
of an Authorization header. |
Header |
XsuaaService.retrieveAccessTokenHeaderViaUserTokenGrant(URI xsuaaUri,
ClientCredentials credentials)
Retrieves an
AccessToken for a given pair of client credentials in the name of an authenticated user (to
be found in the JWT of the current request) and returns it as part of an Authorization header. |
Modifier and Type | Method and Description |
---|---|
List<Header> |
DestinationHeaderProvider.getHeaders(DestinationProperties destination)
Provides a list of
Header objects which should be used with the given destination. |
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.
|
default Collection<Header> |
HttpDestinationProperties.getHeaders(URI requestUri)
Getter for a collection of header that should be added to the outgoing request for this destination.
|
Collection<Header> |
AbstractHttpDestination.getHeaders(URI requestUri) |
Collection<Header> |
DefaultHttpDestination.getHeaders(URI requestUri)
Getter for a collection of header that should be added to the outgoing request for this destination.
|
Modifier and Type | Method and Description |
---|---|
ScpCfHttpDestination.Builder |
ScpCfHttpDestination.Builder.header(Header header)
Adds the given header to the list of headers added to every outgoing request for this destination.
|
ScpNeoHttpDestination.Builder |
ScpNeoHttpDestination.Builder.header(Header header)
Adds the given header to the list of headers added to every outgoing request for this destination.
|
DefaultHttpDestination.Builder |
DefaultHttpDestination.Builder.header(Header header)
Adds the given header to the list of headers added to every outgoing request for this destination.
|
void |
ScpCfDestinationServiceV1Response.DestinationAuthToken.setHttpHeaderSuggestion(Header httpHeaderSuggestion) |
Modifier and Type | Method and Description |
---|---|
ScpNeoHttpDestination.Builder |
ScpNeoHttpDestination.Builder.authenticationHeaders(List<Header> authenticationHeaders)
Adds the authentication headers to every outgoing request to this destination
|
Modifier and Type | Method and Description |
---|---|
List<Header> |
Request.getCustomHttpHeaders()
Set of HTTP headers to send to the underlying request executor.
|
List<Header> |
SerializedRequestResult.getHeaders() |
Collection<Header> |
DefaultErpHttpDestination.getHeaders(URI requestUri) |
List<Header> |
SerializedRequest.getRequestHeaders() |
Modifier and Type | Method and Description |
---|---|
DefaultErpHttpDestination.Builder |
DefaultErpHttpDestination.Builder.header(Header header)
Adds the given header to the list of headers added to every outgoing request for this destination.
|
RequestT |
Request.withHeader(Header header)
Fluent method which adds a custom header to this request.
|
Constructor and Description |
---|
SerializedRequest(RequestT request,
RequestMethod requestMethod,
String requestPath,
List<Header> requestHeaders,
String requestBody) |
SerializedRequestResult(RequestT request,
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,
Credentials credentials,
ProxyType proxyType,
ProxyConfiguration proxyConfiguration,
List<Header> headers,
KeyStore trustStore,
String trustStorePassword,
Boolean isTrustingAllCertificates,
KeyStore keyStore,
String keyStorePassword,
Map<String,String> propertiesByName) |
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) |
void |
MockDestination.setHeaders(List<Header> headers) |
void |
MockErpDestination.setHeaders(List<Header> headers) |
Copyright © 2021 SAP SE. All rights reserved.