@Test public void getWithPath() { Assert.assertNull(endpoint.get("running-service")); }
@Override public Object get() { return manager.services() .stream() .map(this::toMap) .collect(Collectors.toList()); }
ServicesEndpoint implements HttpEndpoint { @Override public Object get() { return manager.services() .stream() .map(this::toMap) .collect(Collectors.toList()); } }
ServicesEndpoint implements HttpEndpoint { @Override public Object get() { return manager.services() .stream() .map(this::toMap) .collect(Collectors.toList()); } @Inject  ServicesEndpoint(ServiceManager manager); }
ServicesEndpoint implements HttpEndpoint { @Override public Object get() { return manager.services() .stream() .map(this::toMap) .collect(Collectors.toList()); } @Inject  ServicesEndpoint(ServiceManager manager); @Override Object get(); @Override Object get(String path); }
ServicesEndpoint implements HttpEndpoint { @Override public Object get() { return manager.services() .stream() .map(this::toMap) .collect(Collectors.toList()); } @Inject  ServicesEndpoint(ServiceManager manager); @Override Object get(); @Override Object get(String path);  }