@Test public void testAuthEnabledNONE() { assertFalse(Application.enableBasicAuth(RestConfig.AUTHENTICATION_METHOD_NONE)); }
static boolean enableBasicAuth(String authMethod) { return RestConfig.AUTHENTICATION_METHOD_BASIC.equals(authMethod); }
Application { static boolean enableBasicAuth(String authMethod) { return RestConfig.AUTHENTICATION_METHOD_BASIC.equals(authMethod); } }
Application { static boolean enableBasicAuth(String authMethod) { return RestConfig.AUTHENTICATION_METHOD_BASIC.equals(authMethod); } Application(T config);  Application(T config, String path); }
Application { static boolean enableBasicAuth(String authMethod) { return RestConfig.AUTHENTICATION_METHOD_BASIC.equals(authMethod); } 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 { static boolean enableBasicAuth(String authMethod) { return RestConfig.AUTHENTICATION_METHOD_BASIC.equals(authMethod); } 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();  }