@DataProvider(value = { "NULL_STRATEGY_ARG", "NULL_ADAPTER_ARG" }) @Test public void create_factory_method_with_tag_and_span_naming_args_throws_IllegalArgumentException_if_passed_null_args( NullConstructorArgsScenario scenario ) { Throwable ex = catchThrowable( () -> WingtipsHttpClientBuilder.create(true, scenario.strategy, scenario.adapter) ); assertThat(ex) .isInstanceOf(IllegalArgumentException.class) .hasMessage(scenario.expectedExceptionMessage); }
public static WingtipsHttpClientBuilder create() { return new WingtipsHttpClientBuilder(); }
WingtipsHttpClientBuilder extends HttpClientBuilder { public static WingtipsHttpClientBuilder create() { return new WingtipsHttpClientBuilder(); } }
WingtipsHttpClientBuilder extends HttpClientBuilder { public static WingtipsHttpClientBuilder create() { return new WingtipsHttpClientBuilder(); } WingtipsHttpClientBuilder();  WingtipsHttpClientBuilder(boolean surroundCallsWithSubspan);  WingtipsHttpClientBuilder(
        boolean surroundCallsWithSubspan,
        HttpTagAndSpanNamingStrategy<HttpRequest, HttpResponse> tagAndNamingStrategy,
        HttpTagAndSpanNamingAdapter<HttpRequest, HttpResponse> tagAndNamingAdapter
    ); }
WingtipsHttpClientBuilder extends HttpClientBuilder { public static WingtipsHttpClientBuilder create() { return new WingtipsHttpClientBuilder(); } WingtipsHttpClientBuilder();  WingtipsHttpClientBuilder(boolean surroundCallsWithSubspan);  WingtipsHttpClientBuilder(
        boolean surroundCallsWithSubspan,
        HttpTagAndSpanNamingStrategy<HttpRequest, HttpResponse> tagAndNamingStrategy,
        HttpTagAndSpanNamingAdapter<HttpRequest, HttpResponse> tagAndNamingAdapter
    ); static WingtipsHttpClientBuilder create(); static WingtipsHttpClientBuilder create(boolean surroundCallsWithSubspan); static WingtipsHttpClientBuilder create(
        boolean surroundCallsWithSubspan,
        HttpTagAndSpanNamingStrategy<HttpRequest, HttpResponse> tagAndNamingStrategy,
        HttpTagAndSpanNamingAdapter<HttpRequest, HttpResponse> tagAndNamingAdapter
    ); boolean isSurroundCallsWithSubspan(); WingtipsHttpClientBuilder setSurroundCallsWithSubspan(boolean surroundCallsWithSubspan); }
WingtipsHttpClientBuilder extends HttpClientBuilder { public static WingtipsHttpClientBuilder create() { return new WingtipsHttpClientBuilder(); } WingtipsHttpClientBuilder();  WingtipsHttpClientBuilder(boolean surroundCallsWithSubspan);  WingtipsHttpClientBuilder(
        boolean surroundCallsWithSubspan,
        HttpTagAndSpanNamingStrategy<HttpRequest, HttpResponse> tagAndNamingStrategy,
        HttpTagAndSpanNamingAdapter<HttpRequest, HttpResponse> tagAndNamingAdapter
    ); static WingtipsHttpClientBuilder create(); static WingtipsHttpClientBuilder create(boolean surroundCallsWithSubspan); static WingtipsHttpClientBuilder create(
        boolean surroundCallsWithSubspan,
        HttpTagAndSpanNamingStrategy<HttpRequest, HttpResponse> tagAndNamingStrategy,
        HttpTagAndSpanNamingAdapter<HttpRequest, HttpResponse> tagAndNamingAdapter
    ); boolean isSurroundCallsWithSubspan(); WingtipsHttpClientBuilder setSurroundCallsWithSubspan(boolean surroundCallsWithSubspan);  }