RetryInterceptor implements Interceptor { String uri(Request request) { return request.url().newBuilder().query(null).build().toString(); } RetryInterceptor(int maxRetries, Duration retryWaitTime, ThreadSleep sleep); @Override Response intercept(Chain chain);  }
@Test void uri() { Request request = new Request.Builder().url("http: assertThat(interceptor.uri(request)).isEqualTo("http: }