Class NessieConfigConstants
- java.lang.Object
-
- org.projectnessie.client.NessieConfigConstants
-
public final class NessieConfigConstants extends java.lang.ObjectConfiguration constants for Nessie clients.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONF_CONNECT_TIMEOUTConfig property name ("nessie.transport.connect-timeout") for the network transport connect timeout in milliseconds, default is 5000.static java.lang.StringCONF_FORCE_URL_CONNECTION_CLIENTOptional, when running on Java 11 force the use of the oldURLConnectionbased client for HTTP, if set totrue.static java.lang.StringCONF_NESSIE_AUTH_TOKENConfig property name ("nessie.authentication.token") for the token used for (bearer) authentication.static java.lang.StringCONF_NESSIE_AUTH_TYPEConfig property name ("nessie.authentication.type") for the authentication provider ID.static java.lang.StringCONF_NESSIE_AWS_PROFILEConfig property name ("nessie.authentication.aws.profile") for the profile name used for AWS authentication (optional).static java.lang.StringCONF_NESSIE_AWS_REGIONConfig property name ("nessie.authentication.aws.region") for the region used for AWS authentication.static java.lang.StringCONF_NESSIE_CLIENT_BUILDER_IMPLConfig property name ("nessie.client-builder-impl") for custom client builder class name.static java.lang.StringCONF_NESSIE_DISABLE_COMPRESSIONConfig property name ("nessie.transport.disable-compression") to disable compression on the network layer, if set totrue.static java.lang.StringCONF_NESSIE_HTTP_2Optional, allow HTTP/2 upgrade, if set totrue.static java.lang.StringCONF_NESSIE_HTTP_REDIRECTOptional, specify how redirects are handled.static java.lang.StringCONF_NESSIE_PASSWORDDeprecated."basic" HTTP authentication is not considered secure.static java.lang.StringCONF_NESSIE_REFConfig property name ("nessie.ref") for the nessie reference name used by clients, recommended setting.static java.lang.StringCONF_NESSIE_REF_HASHConfig property name ("nessie.ref.hash") for the nessie reference hash used by clients, optional setting.static java.lang.StringCONF_NESSIE_SNI_HOSTSOptional, the SNI host names for SSL connections, seeSSLParameters.setServerNames(List).static java.lang.StringCONF_NESSIE_SNI_MATCHEROptional, a single SNI matcher for SSL connections, seeSSLParameters.setSNIMatchers(Collection).static java.lang.StringCONF_NESSIE_SSL_CIPHER_SUITESOptional, list of comma-separated cipher suites for SSL connections, seeSSLParameters.setCipherSuites(String[]).static java.lang.StringCONF_NESSIE_SSL_PROTOCOLSOptional, list of comma-separated protocols for SSL connections, seeSSLParameters.setProtocols(String[]).static java.lang.StringCONF_NESSIE_TRACINGConfig property name ("nessie.tracing") to enable adding the HTTP headers of an active OpenTracing span to all Nessie requests.static java.lang.StringCONF_NESSIE_URIConfig property name ("nessie.uri") for the Nessie service URL.static java.lang.StringCONF_NESSIE_USERNAMEDeprecated."basic" HTTP authentication is not considered secure.static java.lang.StringCONF_READ_TIMEOUTConfig property name ("nessie.transport.read-timeout") for the network transport read-timeout, default is 25000.static intDEFAULT_CONNECT_TIMEOUT_MILLISstatic intDEFAULT_READ_TIMEOUT_MILLIS
-
-
-
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. UseCONF_NESSIE_AUTH_TOKENinstead.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. UseCONF_NESSIE_AUTH_TOKENinstead.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 areBASIC,BEARERandAWS.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
BEARERinstead.- 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 aretrueandfalse.- 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 totrue.- 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, seeSSLParameters.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, seeSSLParameters.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, seeSSLParameters.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, seeSSLParameters.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 totrue.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 oldURLConnectionbased client for HTTP, if set totrue.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
-
-