Interface PortProvider
- All Known Implementing Classes:
StaticPortProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy interface to provide access to a port (which may change if an existing
connection is closed).
- Since:
- 1.3.0
- Author:
- Phillip Webb
-
Method Summary
-
Method Details
-
getPort
int getPort()Return the port number.- Returns:
- the port number
-