Interface NessieHttpClientBuilder

All Superinterfaces:
NessieClientBuilder
All Known Implementing Classes:
HttpClientBuilder, NessieHttpClientBuilder.AbstractNessieHttpClientBuilder, NessieHttpClientBuilderImpl

public interface NessieHttpClientBuilder extends NessieClientBuilder
HTTP specific Nessie client builder interface.
  • Method Details

    • 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(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.
    • withResponseFactory

      @CanIgnoreReturnValue NessieHttpClientBuilder withResponseFactory(HttpResponseFactory responseFactory)