Package io.openlineage.client.transports
Class HttpConfig
java.lang.Object
io.openlineage.client.transports.HttpConfig
- All Implemented Interfaces:
MergeConfig<HttpConfig>,TransportConfig,Comparable<TransportConfig>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface io.openlineage.client.transports.TransportConfig
nameRegistry -
Constructor Summary
ConstructorsConstructorDescriptionHttpConfig(URI url, String endpoint, Integer timeoutInMillis, TokenProvider auth, Map<String, String> urlParams, Map<String, String> headers, HttpConfig.Compression compression, HttpSslContextConfig sslContextConfig) -
Method Summary
Modifier and TypeMethodDescriptiongetAuth()getUrl()mergeWithNonNull(HttpConfig other) Method to create new config class based on current instance and non-null argument value.voidsetAuth(TokenProvider auth) voidsetCompression(HttpConfig.Compression compression) voidsetEndpoint(String endpoint) voidsetHeaders(Map<String, String> headers) voidsetSslContextConfig(HttpSslContextConfig sslContextConfig) voidsetTimeoutInMillis(Integer timeoutInMillis) voidvoidsetUrlParams(Map<String, String> urlParams) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.openlineage.client.MergeConfig
mergePropertyWith, mergePropertyWith, mergeWith, mergeWithDefaultValueMethods inherited from interface io.openlineage.client.transports.TransportConfig
compareTo, getName, setName
-
Constructor Details
-
HttpConfig
public HttpConfig() -
HttpConfig
public HttpConfig(URI url, @Nullable String endpoint, @Nullable Integer timeoutInMillis, @Nullable TokenProvider auth, @Nullable Map<String, String> urlParams, @Nullable Map<String, String> headers, @Nullable HttpConfig.Compression compression, @Nullable HttpSslContextConfig sslContextConfig)
-
-
Method Details
-
mergeWithNonNull
Description copied from interface:MergeConfigMethod to create new config class based on current instance and non-null argument value. In most cases, implementation needs to create a new instance of T, while merging all the properties.- Specified by:
mergeWithNonNullin interfaceMergeConfig<HttpConfig>- Parameters:
other- overwrite value- Returns:
- merged config entry
-
toString
-
getUrl
-
setUrl
-
getEndpoint
-
setEndpoint
-
getTimeoutInMillis
-
setTimeoutInMillis
-
getAuth
-
setAuth
-
getUrlParams
-
setUrlParams
-
getHeaders
-
setHeaders
-
getCompression
-
setCompression
-
getSslContextConfig
-
setSslContextConfig
-