Class NessieConfigConstants


  • public final class NessieConfigConstants
    extends java.lang.Object
    Configuration constants for Nessie clients.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONF_CONNECT_TIMEOUT
      Config property name ("nessie.transport.connect-timeout") for the network transport connect timeout in milliseconds, default is 5000.
      static java.lang.String CONF_FORCE_URL_CONNECTION_CLIENT
      Optional, when running on Java 11 force the use of the old URLConnection based client for HTTP, if set to true.
      static java.lang.String CONF_NESSIE_AUTH_TOKEN
      Config property name ("nessie.authentication.token") for the token used for (bearer) authentication.
      static java.lang.String CONF_NESSIE_AUTH_TYPE
      Config property name ("nessie.authentication.type") for the authentication provider ID.
      static java.lang.String CONF_NESSIE_AWS_PROFILE
      Config property name ("nessie.authentication.aws.profile") for the profile name used for AWS authentication (optional).
      static java.lang.String CONF_NESSIE_AWS_REGION
      Config property name ("nessie.authentication.aws.region") for the region used for AWS authentication.
      static java.lang.String CONF_NESSIE_CLIENT_BUILDER_IMPL
      Config property name ("nessie.client-builder-impl") for custom client builder class name.
      static java.lang.String CONF_NESSIE_DISABLE_COMPRESSION
      Config property name ("nessie.transport.disable-compression") to disable compression on the network layer, if set to true.
      static java.lang.String CONF_NESSIE_HTTP_2
      Optional, allow HTTP/2 upgrade, if set to true.
      static java.lang.String CONF_NESSIE_HTTP_REDIRECT
      Optional, specify how redirects are handled.
      static java.lang.String CONF_NESSIE_PASSWORD
      Deprecated.
      "basic" HTTP authentication is not considered secure.
      static java.lang.String CONF_NESSIE_REF
      Config property name ("nessie.ref") for the nessie reference name used by clients, recommended setting.
      static java.lang.String CONF_NESSIE_REF_HASH
      Config property name ("nessie.ref.hash") for the nessie reference hash used by clients, optional setting.
      static java.lang.String CONF_NESSIE_SNI_HOSTS
      Optional, the SNI host names for SSL connections, see SSLParameters.setServerNames(List).
      static java.lang.String CONF_NESSIE_SNI_MATCHER
      Optional, a single SNI matcher for SSL connections, see SSLParameters.setSNIMatchers(Collection).
      static java.lang.String CONF_NESSIE_SSL_CIPHER_SUITES
      Optional, list of comma-separated cipher suites for SSL connections, see SSLParameters.setCipherSuites(String[]).
      static java.lang.String CONF_NESSIE_SSL_PROTOCOLS
      Optional, list of comma-separated protocols for SSL connections, see SSLParameters.setProtocols(String[]).
      static java.lang.String CONF_NESSIE_TRACING
      Config property name ("nessie.tracing") to enable adding the HTTP headers of an active OpenTracing span to all Nessie requests.
      static java.lang.String CONF_NESSIE_URI
      Config property name ("nessie.uri") for the Nessie service URL.
      static java.lang.String CONF_NESSIE_USERNAME
      Deprecated.
      "basic" HTTP authentication is not considered secure.
      static java.lang.String CONF_READ_TIMEOUT
      Config property name ("nessie.transport.read-timeout") for the network transport read-timeout, default is 25000.
      static int DEFAULT_CONNECT_TIMEOUT_MILLIS  
      static int DEFAULT_READ_TIMEOUT_MILLIS  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CONF_NESSIE_URI

        public static final java.lang.String CONF_NESSIE_URI
        Config property name ("nessie.uri") for the Nessie service URL.
        See Also:
        Constant Field Values
      • CONF_NESSIE_USERNAME

        @Deprecated
        public static final java.lang.String CONF_NESSIE_USERNAME
        Deprecated.
        "basic" HTTP authentication is not considered secure. Use CONF_NESSIE_AUTH_TOKEN instead.
        Config property name ("nessie.authentication.username") for the user name used for (basic) authentication.
        See Also:
        Constant Field Values
      • CONF_NESSIE_PASSWORD

        @Deprecated
        public static final java.lang.String CONF_NESSIE_PASSWORD
        Deprecated.
        "basic" HTTP authentication is not considered secure. Use CONF_NESSIE_AUTH_TOKEN instead.
        Config property name ("nessie.authentication.password") for the password used for (basic) authentication.
        See Also:
        Constant Field Values
      • CONF_NESSIE_AUTH_TOKEN

        public static final java.lang.String CONF_NESSIE_AUTH_TOKEN
        Config property name ("nessie.authentication.token") for the token used for (bearer) authentication.
        See Also:
        Constant Field Values
      • CONF_NESSIE_AWS_REGION

        public static final java.lang.String CONF_NESSIE_AWS_REGION
        Config property name ("nessie.authentication.aws.region") for the region used for AWS authentication.
        See Also:
        Constant Field Values
      • CONF_NESSIE_AWS_PROFILE

        public static final java.lang.String CONF_NESSIE_AWS_PROFILE
        Config property name ("nessie.authentication.aws.profile") for the profile name used for AWS authentication (optional).
        See Also:
        Constant Field Values
      • CONF_NESSIE_AUTH_TYPE

        public static final java.lang.String CONF_NESSIE_AUTH_TYPE
        Config property name ("nessie.authentication.type") for the authentication provider ID. Valid values are BASIC, BEARER and AWS.

        The value is matched against the values returned by NessieAuthenticationProvider.getAuthTypeValue() of the available authentication providers.

        Note that "basic" HTTP authentication is not considered secure, use BEARER instead.

        See Also:
        Constant Field Values
      • CONF_NESSIE_REF

        public static final java.lang.String CONF_NESSIE_REF
        Config property name ("nessie.ref") for the nessie reference name used by clients, recommended setting.
        See Also:
        Constant Field Values
      • CONF_NESSIE_REF_HASH

        public static final java.lang.String CONF_NESSIE_REF_HASH
        Config property name ("nessie.ref.hash") for the nessie reference hash used by clients, optional setting.
        See Also:
        Constant Field Values
      • CONF_NESSIE_TRACING

        public static final java.lang.String CONF_NESSIE_TRACING
        Config property name ("nessie.tracing") to enable adding the HTTP headers of an active OpenTracing span to all Nessie requests. Valid values are true and false.
        See Also:
        Constant Field Values
      • CONF_READ_TIMEOUT

        public static final java.lang.String CONF_READ_TIMEOUT
        Config property name ("nessie.transport.read-timeout") for the network transport read-timeout, default is 25000.
        See Also:
        Constant Field Values
      • CONF_CONNECT_TIMEOUT

        public static final java.lang.String CONF_CONNECT_TIMEOUT
        Config property name ("nessie.transport.connect-timeout") for the network transport connect timeout in milliseconds, default is 5000.
        See Also:
        Constant Field Values
      • CONF_NESSIE_DISABLE_COMPRESSION

        public static final java.lang.String CONF_NESSIE_DISABLE_COMPRESSION
        Config property name ("nessie.transport.disable-compression") to disable compression on the network layer, if set to true.
        See Also:
        Constant Field Values
      • CONF_NESSIE_CLIENT_BUILDER_IMPL

        public static final java.lang.String CONF_NESSIE_CLIENT_BUILDER_IMPL
        Config property name ("nessie.client-builder-impl") for custom client builder class name.
        See Also:
        Constant Field Values
      • CONF_NESSIE_SSL_CIPHER_SUITES

        public static final java.lang.String CONF_NESSIE_SSL_CIPHER_SUITES
        Optional, list of comma-separated cipher suites for SSL connections, see SSLParameters.setCipherSuites(String[]).

        This parameter only works on Java 11 and newer.

        See Also:
        Constant Field Values
      • CONF_NESSIE_SSL_PROTOCOLS

        public static final java.lang.String CONF_NESSIE_SSL_PROTOCOLS
        Optional, list of comma-separated protocols for SSL connections, see SSLParameters.setProtocols(String[]).

        This parameter only works on Java 11 and newer.

        See Also:
        Constant Field Values
      • CONF_NESSIE_SNI_HOSTS

        public static final java.lang.String CONF_NESSIE_SNI_HOSTS
        Optional, the SNI host names for SSL connections, see SSLParameters.setServerNames(List).

        Takes a comma-separated list of SNI hostnames.

        This parameter only works on Java 11 and newer.

        See Also:
        Constant Field Values
      • CONF_NESSIE_SNI_MATCHER

        public static final java.lang.String CONF_NESSIE_SNI_MATCHER
        Optional, a single SNI matcher for SSL connections, see SSLParameters.setSNIMatchers(Collection).

        Takes a single SNI hostname matcher, a regular expression representing the SNI hostnames to match.

        This parameter only works on Java 11 and newer.

        See Also:
        Constant Field Values
      • CONF_NESSIE_HTTP_2

        public static final java.lang.String CONF_NESSIE_HTTP_2
        Optional, allow HTTP/2 upgrade, if set to true.

        This parameter only works on Java 11 and newer.

        See Also:
        Constant Field Values
      • CONF_NESSIE_HTTP_REDIRECT

        public static final java.lang.String CONF_NESSIE_HTTP_REDIRECT
        Optional, specify how redirects are handled.

        See HttpClient.Redirect, possible values:

        • NEVER: Never redirect.
        • ALWAYS: Always redirect.
        • NORMAL: Always redirect, except from HTTPS URLs to HTTP URLs.

        This parameter only works on Java 11 and newer.

        See Also:
        Constant Field Values
      • CONF_FORCE_URL_CONNECTION_CLIENT

        public static final java.lang.String CONF_FORCE_URL_CONNECTION_CLIENT
        Optional, when running on Java 11 force the use of the old URLConnection based client for HTTP, if set to true.

        This parameter only works on Java 11 and newer.

        See Also:
        Constant Field Values
      • DEFAULT_READ_TIMEOUT_MILLIS

        public static final int DEFAULT_READ_TIMEOUT_MILLIS
        See Also:
        Constant Field Values
      • DEFAULT_CONNECT_TIMEOUT_MILLIS

        public static final int DEFAULT_CONNECT_TIMEOUT_MILLIS
        See Also:
        Constant Field Values