ExchangeFunction.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ExchangeFunction | Returns: the createdExchangeFunctionthe connector to use for connecting to servers connector)Create an |
| public static ExchangeFunction | Returns: the createdExchangeFunctionthe connector to use for connecting to servers connector, ExchangeStrategies the strategies)ExchangeStrategies to useCreate an |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| ExchangeFunctions | back to summary |
|---|---|
| public ExchangeFunctions() | |
| create | back to summary |
|---|---|
| public static ExchangeFunction create(ClientHttpConnector connector) Create an
| |
| create | back to summary |
|---|---|
| public static ExchangeFunction create(ClientHttpConnector connector, ExchangeStrategies strategies) Create an
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ClientHttpConnector | |
| private boolean | |
| private final ExchangeStrategies |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private HttpRequest | |
| public Mono | exchange(ClientRequest
the request to exchange clientRequest)Implements org. Exchange the given request for a |
| private String | |
| private String | |
| private void | |
| private void | |
| private <T> Mono |
| connector | back to summary |
|---|---|
| private final ClientHttpConnector connector | |
| enableLoggingRequestDetails | back to summary |
|---|---|
| private boolean enableLoggingRequestDetails | |
| strategies | back to summary |
|---|---|
| private final ExchangeStrategies strategies | |
| DefaultExchangeFunction | back to summary |
|---|---|
| public DefaultExchangeFunction(ClientHttpConnector connector, ExchangeStrategies strategies) | |
| createRequest | back to summary |
|---|---|
| private HttpRequest createRequest(ClientRequest request) | |
| exchange | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Exchange the given request for a Note When calling this method from an
| |
| formatHeaders | back to summary |
|---|---|
| private String formatHeaders(HttpHeaders headers) | |
| getLogPrefix | back to summary |
|---|---|
| private String getLogPrefix(ClientRequest request, ClientHttpResponse response) | |
| logRequest | back to summary |
|---|---|
| private void logRequest(ClientRequest request) | |
| logResponse | back to summary |
|---|---|
| private void logResponse(ClientHttpResponse response, String logPrefix) | |
| wrapException | back to summary |
|---|---|
| private <T> Mono | |