io.openlineage.client.transports.HttpTransportBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openlineage-java Show documentation
Show all versions of openlineage-java Show documentation
Java library for OpenLineage
/*
/* Copyright 2018-2023 contributors to the OpenLineage project
/* SPDX-License-Identifier: Apache-2.0
*/
package io.openlineage.client.transports;
public class HttpTransportBuilder implements TransportBuilder {
@Override
public TransportConfig getConfig() {
return new HttpConfig();
}
@Override
public Transport build(TransportConfig config) {
return new HttpTransport((HttpConfig) config);
}
@Override
public String getType() {
return "http";
}
}