@Test public void testParseListenersDeprecated() { List<String> listenersConfig = new ArrayList<String>(); List<URI> listeners = Application.parseListeners(listenersConfig, RestConfig.PORT_CONFIG_DEFAULT, Arrays.asList("http", "https"), "http"); assertEquals("Should have only one listener.", 1, listeners.size()); assertExpectedUri(listeners.get(0), "http", "0.0.0.0", RestConfig.PORT_CONFIG_DEFAULT); }
public static List<URI> parseListeners( List<String> listenersConfig, int deprecatedPort, List<String> supportedSchemes, String defaultScheme ) { return ApplicationServer.parseListeners( listenersConfig, deprecatedPort, supportedSchemes, defaultScheme); }
Application { public static List<URI> parseListeners( List<String> listenersConfig, int deprecatedPort, List<String> supportedSchemes, String defaultScheme ) { return ApplicationServer.parseListeners( listenersConfig, deprecatedPort, supportedSchemes, defaultScheme); } }
Application { public static List<URI> parseListeners( List<String> listenersConfig, int deprecatedPort, List<String> supportedSchemes, String defaultScheme ) { return ApplicationServer.parseListeners( listenersConfig, deprecatedPort, supportedSchemes, defaultScheme); } Application(T config);  Application(T config, String path); }
Application { public static List<URI> parseListeners( List<String> listenersConfig, int deprecatedPort, List<String> supportedSchemes, String defaultScheme ) { return ApplicationServer.parseListeners( listenersConfig, deprecatedPort, supportedSchemes, defaultScheme); } Application(T config);  Application(T config, String path); final String getPath(); final Metrics getMetrics(); abstract void setupResources(Configurable<?> config, T appConfig); Map<String,String> getMetricsTags(); Server createServer(); static Map<String, String> parseListToMap(List<String> list); Handler wrapWithGzipHandler(Handler handler); static List<URI> parseListeners(
          List<String> listenersConfig,
          int deprecatedPort,
          List<String> supportedSchemes,
          String defaultScheme
  ); void configureBaseApplication(Configurable<?> config); void configureBaseApplication(Configurable<?> config, Map<String, String> metricTags); T getConfiguration(); void start(); void join(); void stop(); void onShutdown(); }
Application { public static List<URI> parseListeners( List<String> listenersConfig, int deprecatedPort, List<String> supportedSchemes, String defaultScheme ) { return ApplicationServer.parseListeners( listenersConfig, deprecatedPort, supportedSchemes, defaultScheme); } Application(T config);  Application(T config, String path); final String getPath(); final Metrics getMetrics(); abstract void setupResources(Configurable<?> config, T appConfig); Map<String,String> getMetricsTags(); Server createServer(); static Map<String, String> parseListToMap(List<String> list); Handler wrapWithGzipHandler(Handler handler); static List<URI> parseListeners(
          List<String> listenersConfig,
          int deprecatedPort,
          List<String> supportedSchemes,
          String defaultScheme
  ); void configureBaseApplication(Configurable<?> config); void configureBaseApplication(Configurable<?> config, Map<String, String> metricTags); T getConfiguration(); void start(); void join(); void stop(); void onShutdown();  }