Static factory for creating a new ServerBuilder. @param port the port to listen on @since 1.0.0
(int port)
| 41 | * @since 1.0.0 |
| 42 | */ |
| 43 | public static ServerBuilder<?> forPort(int port) { |
| 44 | return ServerProvider.provider().builderForPort(port); |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * Execute application code directly in the transport thread. |