class DownloadOkHttp3Connection implements DownloadConnection, DownloadConnection.Connected {

    @Override
    public String getRedirectLocation() {
        final Response priorRes = response.priorResponse();
        if (priorRes != null
                && response.isSuccessful()
                && RedirectUtil.isRedirect(priorRes.code())) {
                // prior response is a redirect response, so current response
                // has redirect location
                return response.request().url().toString();
        }
        return null;
    }

      DownloadOkHttp3Connection(@NonNull OkHttpClient client,
                              @NonNull Request.Builder requestBuilder);
      DownloadOkHttp3Connection(@NonNull OkHttpClient client, @NonNull String url);

}