private static void configurePort(TextIO textIO, WebTextIoExecutor webTextIoExecutor, int defaultPort) { int port = textIO.newIntInputReader() .withDefaultValue(defaultPort) .read("Server port number"); webTextIoExecutor.withPort(port); }
private static void configurePort(TextIO textIO, WebTextIoExecutor webTextIoExecutor, int defaultPort) { int port = textIO.newIntInputReader() .withDefaultValue(defaultPort) .read("Server port number"); webTextIoExecutor.withPort(port); }