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.Returns anHttpTransport
object with the properties of thisHttpTransport.Builder
.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.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.HttpConfig
withAuth(TokenProvider auth)
Deprecated.HttpConfig
withCompression(HttpConfig.Compression compression)
Deprecated.HttpConfig
withEndpoint(java.lang.String endpoint)
Deprecated.HttpConfig
withHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
Deprecated.HttpConfig
withTimeout(java.lang.Double timeout)
Deprecated.HttpConfig
withTimeoutInMillis(java.lang.Integer timeoutInMillis)
Deprecated.HttpConfig
withUrl(java.net.URI url)
Deprecated.HttpConfig
withUrlParams(java.util.Map<java.lang.String,java.lang.String> urlParams)
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 anHttpTransport
object with the properties of thisHttpTransport.Builder
.
-
withUrl
public HttpConfig withUrl(java.net.URI url)
Deprecated.
-
withEndpoint
public HttpConfig withEndpoint(java.lang.String endpoint)
Deprecated.
-
withTimeout
public HttpConfig withTimeout(java.lang.Double timeout)
Deprecated.
-
withTimeoutInMillis
public HttpConfig withTimeoutInMillis(java.lang.Integer timeoutInMillis)
Deprecated.
-
withAuth
public HttpConfig withAuth(TokenProvider auth)
Deprecated.
-
withUrlParams
public HttpConfig withUrlParams(java.util.Map<java.lang.String,java.lang.String> urlParams)
Deprecated.
-
withHeaders
public HttpConfig withHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
Deprecated.
-
withCompression
public HttpConfig withCompression(HttpConfig.Compression compression)
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.
-
-