Package io.openlineage.client.transports
Class HttpTransport.Builder
java.lang.Object
io.openlineage.client.transports.HttpTransport.Builder
- Enclosing class:
- HttpTransport
Deprecated.
Builder for
HttpTransport
instances.
Usage:
HttpTransport httpTransport = HttpTransport().builder()
.url("http://localhost:5000")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.build()
Deprecated.int
Deprecated.getAuth()
Deprecated.Deprecated.Deprecated.Deprecated.getName()
Deprecated.Deprecated.Deprecated.getUrl()
Deprecated.Deprecated.http
(@NonNull org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient) Deprecated.mergePropertyWith
(Map base, Map overwrite) Deprecated.<T> T
mergePropertyWith
(T base, T overwrite) Deprecated.Deprecated.<T> T
mergeWithDefaultValue
(T base, T overwrite, T def) Deprecated.mergeWithNonNull
(HttpConfig other) Deprecated.void
setAuth
(TokenProvider auth) Deprecated.void
setCompression
(HttpConfig.Compression compression) Deprecated.void
setEndpoint
(String endpoint) Deprecated.void
setHeaders
(Map<String, String> headers) Deprecated.void
Deprecated.void
setTimeout
(Double timeout) Deprecated.void
setTimeoutInMillis
(Integer timeoutInMillis) Deprecated.void
Deprecated.void
setUrlParams
(Map<String, String> urlParams) Deprecated.Deprecated.tokenProvider
(TokenProvider tokenProvider) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.
-
Method Details
-
uri
Deprecated. -
uri
public HttpTransport.Builder uri(@NonNull @NonNull String urlAsString, @NonNull @NonNull Map<String, String> queryParams) Deprecated. -
uri
Deprecated. -
uri
public HttpTransport.Builder uri(@NonNull @NonNull URI uri, @NonNull @NonNull Map<String, String> queryParams) Deprecated. -
timeout
Deprecated. -
http
public HttpTransport.Builder http(@NonNull @NonNull org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient) Deprecated. -
tokenProvider
Deprecated. -
apiKey
Deprecated. -
build
Deprecated.- Returns:
- an
HttpTransport
object with the properties of thisHttpTransport.Builder
.
-
mergeWithNonNull
Deprecated. -
getUrl
Deprecated. -
setUrl
Deprecated. -
getEndpoint
Deprecated. -
setEndpoint
Deprecated. -
getTimeout
Deprecated. -
setTimeout
Deprecated. -
getTimeoutInMillis
Deprecated. -
setTimeoutInMillis
Deprecated. -
getAuth
Deprecated. -
setAuth
Deprecated. -
getUrlParams
Deprecated. -
setUrlParams
Deprecated. -
getHeaders
Deprecated. -
setHeaders
Deprecated. -
getCompression
Deprecated. -
setCompression
Deprecated. -
getName
Deprecated. -
setName
Deprecated. -
compareTo
Deprecated. -
mergeWith
Deprecated. -
mergePropertyWith
Deprecated. -
mergePropertyWith
public <T> T mergePropertyWith(T base, T overwrite) Deprecated. -
mergeWithDefaultValue
public <T> T mergeWithDefaultValue(T base, T overwrite, T def) Deprecated.
-
HttpConfig
instead