Class HttpConfig
java.lang.Object
com.tenio.core.network.define.data.HttpConfig
Holds configuration for HTTP setup.
-
Constructor Details
-
HttpConfig
Initialization.- Parameters:
name
- the configuration nameport
- the associated port
-
-
Method Details
-
getName
-
getPaths
Retrieves paths associated with the configuration.- Returns:
- list of paths
-
addPath
Add a new path to the paths' list.- Parameters:
path
- the newPathConfig
-
getPort
public int getPort() -
toString
-