Class HttpConfig

java.lang.Object
io.openlineage.client.transports.HttpConfig
All Implemented Interfaces:
MergeConfig<HttpConfig>, TransportConfig

public final class HttpConfig extends Object implements TransportConfig, MergeConfig<HttpConfig>
  • Constructor Details

  • Method Details

    • mergeWithNonNull

      public HttpConfig mergeWithNonNull(HttpConfig other)
      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 interface MergeConfig<HttpConfig>
      Parameters:
      other - overwrite value
      Returns:
      merged config entry
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getUrl

      public URI getUrl()
    • setUrl

      public void setUrl(URI url)
    • getEndpoint

      @Nullable public String getEndpoint()
    • setEndpoint

      public void setEndpoint(@Nullable String endpoint)
    • getTimeout

      @Nullable public Double getTimeout()
    • setTimeout

      public void setTimeout(@Nullable Double timeout)
    • getTimeoutInMillis

      @Nullable public Integer getTimeoutInMillis()
    • setTimeoutInMillis

      public void setTimeoutInMillis(@Nullable Integer timeoutInMillis)
    • getAuth

      @Nullable public TokenProvider getAuth()
    • setAuth

      public void setAuth(@Nullable TokenProvider auth)
    • getUrlParams

      @Nullable public Map<String,String> getUrlParams()
    • setUrlParams

      public void setUrlParams(@Nullable Map<String,String> urlParams)
    • getHeaders

      @Nullable public Map<String,String> getHeaders()
    • setHeaders

      public void setHeaders(@Nullable Map<String,String> headers)
    • getCompression

      @Nullable public HttpConfig.Compression getCompression()
    • setCompression

      public void setCompression(@Nullable HttpConfig.Compression compression)