All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.openlineage.client.transports.HttpConfig Maven / Gradle / Ivy

There is a newer version: 1.26.0
Show newest version
/*
/* Copyright 2018-2024 contributors to the OpenLineage project
/* SPDX-License-Identifier: Apache-2.0
*/

package io.openlineage.client.transports;

import java.net.URI;
import java.util.Map;
import javax.annotation.Nullable;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.With;

@NoArgsConstructor
@AllArgsConstructor
@ToString
@With
public final class HttpConfig implements TransportConfig {
  @Getter @Setter private URI url;
  @Getter @Setter private @Nullable String endpoint;

  @Getter @Setter
  private @Nullable Double
      timeout; // deprecated, will be removed in 1.13, assumes timeout is in seconds

  @Getter @Setter private @Nullable Integer timeoutInMillis;
  @Getter @Setter private @Nullable TokenProvider auth;
  @Getter @Setter private @Nullable Map urlParams;
  @Getter @Setter private @Nullable Map headers;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy