Package io.openlineage.client.transports
Class HttpTransport
java.lang.Object
io.openlineage.client.transports.Transport
io.openlineage.client.transports.HttpTransport
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionHttpTransport(@NonNull HttpConfig httpConfig) HttpTransport(@NonNull org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient, @NonNull HttpConfig httpConfig) -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpTransport.Builderbuilder()voidclose()voidemit(OpenLineage.DatasetEvent datasetEvent) voidemit(OpenLineage.JobEvent jobEvent) voidemit(OpenLineage.RunEvent runEvent) toString()
-
Constructor Details
-
HttpTransport
-
HttpTransport
public HttpTransport(@NonNull @NonNull org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient, @NonNull @NonNull HttpConfig httpConfig)
-
-
Method Details
-
emit
-
emit
-
emit
-
close
- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classTransport- Throws:
IOException
-
builder
- Returns:
- an new
HttpTransport.Builderobject for buildingHttpTransports.
-
toString
-
HttpConfiginstead