Package com.linecorp.armeria.spring
Class ArmeriaSettings.Port
java.lang.Object
com.linecorp.armeria.spring.ArmeriaSettings.Port
- Enclosing class:
- ArmeriaSettings
Port and protocol settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetIface()
Returns the network interface that theServer
uses.getIp()
Returns the IP address that theServer
uses.int
getPort()
Returns the port that theServer
uses.Returns the list ofSessionProtocol
s that theServer
uses.Registers a network interface that theServer
uses.Registers an IP address that theServer
uses.setPort(int port)
Registers a port that theServer
uses.setProtocol(SessionProtocol protocol)
Registers aSessionProtocol
that theServer
uses.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.
-