Package com.linecorp.armeria.spring
Class ArmeriaSettings.Port
java.lang.Object
com.linecorp.armeria.spring.ArmeriaSettings.Port
- Enclosing class:
- ArmeriaSettings
public static class ArmeriaSettings.Port extends Object
Port and protocol settings.
-
Constructor Summary
Constructors Constructor Description Port()
-
Method Summary
Modifier and Type Method Description String
getIface()
Returns the network interface that theServer
uses.String
getIp()
Returns the IP address that theServer
uses.int
getPort()
Returns the port that theServer
uses.List<SessionProtocol>
getProtocols()
Returns the list ofSessionProtocol
s that theServer
uses.ArmeriaSettings.Port
setIface(String iface)
Registers a network interface that theServer
uses.ArmeriaSettings.Port
setIp(String ip)
Registers an IP address that theServer
uses.ArmeriaSettings.Port
setPort(int port)
Registers a port that theServer
uses.ArmeriaSettings.Port
setProtocol(SessionProtocol protocol)
Registers aSessionProtocol
that theServer
uses.ArmeriaSettings.Port
setProtocols(List<SessionProtocol> protocols)
Registers a list ofSessionProtocol
s that theServer
uses.
-
Constructor Details
-
Port
public Port()
-
-
Method Details
-
getIp
Returns the IP address that theServer
uses. -
setIp
Registers an IP address that theServer
uses. -
getIface
Returns the network interface that theServer
uses. -
setIface
Registers a network interface that theServer
uses. -
getPort
public int getPort()Returns the port that theServer
uses. -
setPort
Registers a port that theServer
uses. -
getProtocols
Returns the list ofSessionProtocol
s that theServer
uses. -
setProtocols
Registers a list ofSessionProtocol
s that theServer
uses. -
setProtocol
Registers aSessionProtocol
that theServer
uses.
-