Interface NessieHttpClientBuilder

    • Method Detail

      • withHttp2Upgrade

        @CanIgnoreReturnValue
        NessieHttpClientBuilder withHttp2Upgrade​(boolean http2Upgrade)
        Whether to allow HTTP/2 upgrade, default is false.

        Only valid on Java 11 and newer with Java's new HTTP client.

      • withFollowRedirects

        @CanIgnoreReturnValue
        NessieHttpClientBuilder withFollowRedirects​(java.lang.String redirects)
        Whether HTTP redirects are followed, default is to not follow redirects.

        Valid values are the enum names of HttpClient.Redirect.

        Only valid on Java 11 and newer with Java's new HTTP client.

      • withForceUrlConnectionClient

        @CanIgnoreReturnValue
        NessieHttpClientBuilder withForceUrlConnectionClient​(boolean forceUrlConnectionClient)
        Whether to force using the "old" URLConnection based client when running on Java 11 and newer with Java's new HTTP client.