public class HttpConnectorUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static SenderConfiguration |
getSenderConfiguration(TransportsConfiguration transportsConfiguration,
String scheme)
Extract sender configuration from transport configuration.
|
static ServerBootstrapConfiguration |
getServerBootstrapConfiguration(Set<TransportProperty> transportPropertiesSet)
Create server bootstrap configuration from given transport property set.
|
static Map<String,Object> |
getTransportProperties(TransportsConfiguration transportsConfiguration)
Extract transport properties from transport configurations.
|
public static SenderConfiguration getSenderConfiguration(TransportsConfiguration transportsConfiguration, String scheme)
transportsConfiguration - TransportsConfiguration which sender configurations should be extracted.scheme - scheme of the transport.SenderConfiguration.public static Map<String,Object> getTransportProperties(TransportsConfiguration transportsConfiguration)
transportsConfiguration - transportsConfiguration TransportsConfiguration which transport
properties should be extracted.public static ServerBootstrapConfiguration getServerBootstrapConfiguration(Set<TransportProperty> transportPropertiesSet)
transportPropertiesSet - Set of transport properties which should be converted
to ServerBootstrapConfiguration.Copyright © 2021 WSO2. All rights reserved.