public final class HttpTransport extends Transport implements java.io.Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpTransport.Builder
Builder for
HttpTransport instances. |
| Constructor and Description |
|---|
HttpTransport(@NonNull org.apache.http.impl.client.CloseableHttpClient httpClient,
@NonNull HttpConfig httpConfig) |
HttpTransport(@NonNull HttpConfig httpConfig) |
| Modifier and Type | Method and Description |
|---|---|
static HttpTransport.Builder |
builder()
Returns an new
HttpTransport.Builder object for building HttpTransports. |
void |
close() |
void |
emit(OpenLineage.RunEvent runEvent) |
public HttpTransport(@NonNull
@NonNull HttpConfig httpConfig)
public HttpTransport(@NonNull
@NonNull org.apache.http.impl.client.CloseableHttpClient httpClient,
@NonNull
@NonNull HttpConfig httpConfig)
public void emit(@NonNull
OpenLineage.RunEvent runEvent)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic static HttpTransport.Builder builder()
HttpTransport.Builder object for building HttpTransports.