public final class KinesisVideoApacheHttpClient extends Object implements HttpClient
| Modifier and Type | Class and Description |
|---|---|
static class |
KinesisVideoApacheHttpClient.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeaderUnsafe(String key,
String value)
This method is intended for testing use only.
|
static KinesisVideoApacheHttpClient.Builder |
builder() |
void |
close() |
org.apache.http.client.methods.CloseableHttpResponse |
executeRequest() |
InputStream |
getContent() |
Map<String,String> |
getHeaders() |
HttpMethodName |
getMethod() |
URI |
getUri() |
public static KinesisVideoApacheHttpClient.Builder builder()
public org.apache.http.client.methods.CloseableHttpResponse executeRequest()
public void addHeaderUnsafe(String key, String value)
key - header keyvalue - header valuepublic HttpMethodName getMethod()
getMethod in interface HttpClientpublic URI getUri()
getUri in interface HttpClientpublic Map<String,String> getHeaders()
getHeaders in interface HttpClientpublic InputStream getContent()
getContent in interface HttpClientpublic void close()
throws IOException
close in interface HttpClientIOExceptionCopyright © 2019. All rights reserved.