public interface ServerConfig
Modifier and Type | Method and Description |
---|---|
String |
getHost(org.apache.synapse.api.API api)
Function to retrieve server host name for host entry in swagger definition (API).
|
String |
getHost(String transport)
Function to retrieve server host name by giving a transport.
|
String getHost(org.apache.synapse.api.API api) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
- error occurred while retrieving the host name.String getHost(String transport) throws org.apache.axis2.AxisFault
transport
- name of the transport. ex: HTTP/ HTTPSorg.apache.axis2.AxisFault
- error occurred while retrieving the host name.Copyright © 2021 WSO2. All rights reserved.