Package io.openlineage.client.transports
Class HttpTransport.Builder
- java.lang.Object
-
- io.openlineage.client.transports.HttpTransport.Builder
-
- Enclosing class:
- HttpTransport
@Deprecated public static final class HttpTransport.Builder extends java.lang.Object
Deprecated.UseHttpConfig
insteadBuilder forHttpTransport
instances.Usage:
HttpTransport httpTransport = HttpTransport().builder() .url("http://localhost:5000") .build()
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HttpTransport.Builder
apiKey(java.lang.String apiKey)
Deprecated.HttpTransport
build()
Deprecated.TokenProvider
getAuth()
Deprecated.HttpConfig.Compression
getCompression()
Deprecated.java.lang.String
getEndpoint()
Deprecated.java.util.Map<java.lang.String,java.lang.String>
getHeaders()
Deprecated.java.lang.Double
getTimeout()
Deprecated.java.lang.Integer
getTimeoutInMillis()
Deprecated.java.net.URI
getUrl()
Deprecated.java.util.Map<java.lang.String,java.lang.String>
getUrlParams()
Deprecated.HttpTransport.Builder
http(@NonNull org.apache.http.impl.client.CloseableHttpClient httpClient)
Deprecated.java.util.Map
mergePropertyWith(java.util.Map base, java.util.Map overwrite)
Deprecated.<T> T
mergePropertyWith(T base, T overwrite)
Deprecated.HttpConfig
mergeWith(HttpConfig t)
Deprecated.<T> T
mergeWithDefaultValue(T base, T overwrite, T def)
Deprecated.HttpConfig
mergeWithNonNull(HttpConfig other)
Deprecated.void
setAuth(TokenProvider auth)
Deprecated.void
setCompression(HttpConfig.Compression compression)
Deprecated.void
setEndpoint(java.lang.String endpoint)
Deprecated.void
setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
Deprecated.void
setTimeout(java.lang.Double timeout)
Deprecated.void
setTimeoutInMillis(java.lang.Integer timeoutInMillis)
Deprecated.void
setUrl(java.net.URI url)
Deprecated.void
setUrlParams(java.util.Map<java.lang.String,java.lang.String> urlParams)
Deprecated.HttpTransport.Builder
timeout(java.lang.Double timeout)
Deprecated.HttpTransport.Builder
tokenProvider(TokenProvider tokenProvider)
Deprecated.HttpTransport.Builder
uri(@NonNull java.lang.String urlAsString)
Deprecated.HttpTransport.Builder
uri(@NonNull java.lang.String urlAsString, @NonNull java.util.Map<java.lang.String,java.lang.String> queryParams)
Deprecated.HttpTransport.Builder
uri(@NonNull java.net.URI uri)
Deprecated.HttpTransport.Builder
uri(@NonNull java.net.URI uri, @NonNull java.util.Map<java.lang.String,java.lang.String> queryParams)
Deprecated.
-
-
-
Method Detail
-
uri
public HttpTransport.Builder uri(@NonNull @NonNull java.lang.String urlAsString)
Deprecated.
-
uri
public HttpTransport.Builder uri(@NonNull @NonNull java.lang.String urlAsString, @NonNull @NonNull java.util.Map<java.lang.String,java.lang.String> queryParams)
Deprecated.
-
uri
public HttpTransport.Builder uri(@NonNull @NonNull java.net.URI uri)
Deprecated.
-
uri
public HttpTransport.Builder uri(@NonNull @NonNull java.net.URI uri, @NonNull @NonNull java.util.Map<java.lang.String,java.lang.String> queryParams)
Deprecated.
-
timeout
public HttpTransport.Builder timeout(@Nullable java.lang.Double timeout)
Deprecated.
-
http
public HttpTransport.Builder http(@NonNull @NonNull org.apache.http.impl.client.CloseableHttpClient httpClient)
Deprecated.
-
tokenProvider
public HttpTransport.Builder tokenProvider(@Nullable TokenProvider tokenProvider)
Deprecated.
-
apiKey
public HttpTransport.Builder apiKey(@Nullable java.lang.String apiKey)
Deprecated.
-
build
public HttpTransport build()
Deprecated.- Returns:
- an
HttpTransport
object with the properties of thisHttpTransport.Builder
.
-
mergeWithNonNull
public HttpConfig mergeWithNonNull(HttpConfig other)
Deprecated.
-
getUrl
public java.net.URI getUrl()
Deprecated.
-
setUrl
public void setUrl(java.net.URI url)
Deprecated.
-
getEndpoint
public java.lang.String getEndpoint()
Deprecated.
-
setEndpoint
public void setEndpoint(java.lang.String endpoint)
Deprecated.
-
getTimeout
public java.lang.Double getTimeout()
Deprecated.
-
setTimeout
public void setTimeout(java.lang.Double timeout)
Deprecated.
-
getTimeoutInMillis
public java.lang.Integer getTimeoutInMillis()
Deprecated.
-
setTimeoutInMillis
public void setTimeoutInMillis(java.lang.Integer timeoutInMillis)
Deprecated.
-
getAuth
public TokenProvider getAuth()
Deprecated.
-
setAuth
public void setAuth(TokenProvider auth)
Deprecated.
-
getUrlParams
public java.util.Map<java.lang.String,java.lang.String> getUrlParams()
Deprecated.
-
setUrlParams
public void setUrlParams(java.util.Map<java.lang.String,java.lang.String> urlParams)
Deprecated.
-
getHeaders
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
Deprecated.
-
setHeaders
public void setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
Deprecated.
-
getCompression
public HttpConfig.Compression getCompression()
Deprecated.
-
setCompression
public void setCompression(HttpConfig.Compression compression)
Deprecated.
-
mergeWith
public HttpConfig mergeWith(HttpConfig t)
Deprecated.
-
mergePropertyWith
public java.util.Map mergePropertyWith(java.util.Map base, java.util.Map overwrite)
Deprecated.
-
mergePropertyWith
public <T> T mergePropertyWith(T base, T overwrite)
Deprecated.
-
mergeWithDefaultValue
public <T> T mergeWithDefaultValue(T base, T overwrite, T def)
Deprecated.
-
-