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.

@FunctionalInterface public interface PortProvider
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

    Modifier and Type
    Method
    Description
    int
    Return the port number.
  • Method Details

    • getPort

      int getPort()
      Return the port number.
      Returns:
      the port number