public class ConfigurationBuilder extends Object
This parses the netty transport configuration file and build the object model TransportsConfiguration
| Modifier and Type | Method and Description |
|---|---|
TransportsConfiguration |
getConfiguration()
Get the Environment
TransportsConfiguration |
TransportsConfiguration |
getConfiguration(String configFileLocation)
Get the
TransportsConfiguration represented by a particular configuration file. |
static ConfigurationBuilder |
getInstance() |
public static ConfigurationBuilder getInstance()
public TransportsConfiguration getConfiguration()
TransportsConfiguration
Location of the configuration file should be defined in the environment variable 'transports.netty.conf'. If environment variable is not specified, return the default configuration
public TransportsConfiguration getConfiguration(String configFileLocation)
TransportsConfiguration represented by a particular configuration file.configFileLocation - configuration file locationCopyright © 2021 WSO2. All rights reserved.