public static Retrofit of(URI baseUrl) {
        return builder(baseUrl).build();
    }
Returns a new {@link Retrofit} with the specified {@code baseUrl}.

@throws IllegalArgumentException if the {@code baseUrl} is not valid or its scheme is not one of
                                 the values in {@link SessionProtocol#httpValues()} or
                                 {@link SessionProtocol#httpsValues()}.
retrofit2/src/main/java/com/linecorp/armeria/client/retrofit2/ArmeriaRetrofit.java