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.void
setAuth
(TokenProvider auth) void
setCompression
(HttpConfig.Compression compression) void
setEndpoint
(String endpoint) void
setHeaders
(Map<String, String> headers) void
setSslContextConfig
(HttpSslContextConfig sslContextConfig) void
setTimeoutInMillis
(Integer timeoutInMillis) void
void
setUrlParams
(Map<String, String> urlParams) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.openlineage.client.MergeConfig
mergePropertyWith, mergePropertyWith, mergeWith, mergeWithDefaultValue
Methods 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:MergeConfig
Method 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:
mergeWithNonNull
in 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
-