public abstract class BaseHttpClient extends Object
| Constructor and Description |
|---|
BaseHttpClient(String endpoint) |
BaseHttpClient(String endpoint,
Map<String,String> headers) |
BaseHttpClient(String endpoint,
Map<String,String> headers,
org.apache.http.impl.client.CloseableHttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
String |
getEndpoint() |
org.apache.http.Header[] |
getHeaders() |
boolean |
send(byte[] spanBytes) |
public BaseHttpClient(String endpoint)
public void close()
throws ClientException
ClientExceptionpublic void flush()
throws ClientException
ClientExceptionpublic boolean send(byte[] spanBytes)
throws ClientException
ClientExceptionpublic org.apache.http.Header[] getHeaders()
public String getEndpoint()
Copyright © 2019. All rights reserved.