MCPcopy Create free account
hub / github.com/OpenFeign/feign-vertx / target

Method target

src/main/java/feign/VertxFeign.java:371–377  ·  view source on GitHub ↗

Defines target and builds client. @param apiType API interface @param url base URL @param class of API interface @return built client

(final Class<T> apiType, final String url)

Source from the content-addressed store, hash-verified

369 * @return built client
370 */
371 @Override
372 public <T> T target(final Class<T> apiType, final String url) {
373 checkNotNull(apiType, "Argument apiType must be not null");
374 checkNotNull(url, "Argument url must be not null");
375
376 return target(new Target.HardCodedTarget<>(apiType, url));
377 }
378
379 /**
380 * Defines target and builds client.

Callers 15

createClientMethod · 0.80
createClientMethod · 0.80
testWhenVertxMissingMethod · 0.80
createClientMethod · 0.80
createClientMethod · 0.80
createClientMethod · 0.80
testHttpClientOptionsMethod · 0.80
testRequestOptionsMethod · 0.80
createClientMethod · 0.80

Calls 1

newInstanceMethod · 0.80

Tested by 15

createClientMethod · 0.64
createClientMethod · 0.64
testWhenVertxMissingMethod · 0.64
createClientMethod · 0.64
createClientMethod · 0.64
createClientMethod · 0.64
testHttpClientOptionsMethod · 0.64
testRequestOptionsMethod · 0.64
createClientMethod · 0.64