Package io.openlineage.client.transports
Class HttpConfig
java.lang.Object
io.openlineage.client.transports.HttpConfig
- All Implemented Interfaces:
MergeConfig<HttpConfig>
,TransportConfig
-
Nested Class Summary
-
Field Summary
Fields inherited from interface io.openlineage.client.transports.TransportConfig
nameRegistry
-
Constructor Summary
ConstructorDescriptionHttpConfig
(URI url, String endpoint, Double timeout, Integer timeoutInMillis, TokenProvider auth, Map<String, String> urlParams, Map<String, String> headers, HttpConfig.Compression compression) -
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
setTimeout
(Double timeout) 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
getName, setName
-
Constructor Details
-
HttpConfig
public HttpConfig() -
HttpConfig
-
-
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
-
getTimeout
-
setTimeout
-
getTimeoutInMillis
-
setTimeoutInMillis
-
getAuth
-
setAuth
-
getUrlParams
-
setUrlParams
-
getHeaders
-
setHeaders
-
getCompression
-
setCompression
-