public final class KinesisVideoApacheHttpClient extends java.lang.Object implements HttpClient
| Modifier and Type | Class and Description |
|---|---|
static class |
KinesisVideoApacheHttpClient.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeaderUnsafe(java.lang.String key,
java.lang.String value)
This method is intended for testing use only.
|
static KinesisVideoApacheHttpClient.Builder |
builder() |
void |
close() |
CloseableHttpResponse |
executeRequest() |
java.io.InputStream |
getContent() |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders() |
HttpMethodName |
getMethod() |
java.net.URI |
getUri() |
public static KinesisVideoApacheHttpClient.Builder builder()
public CloseableHttpResponse executeRequest()
public void addHeaderUnsafe(java.lang.String key,
java.lang.String value)
key - header keyvalue - header valuepublic HttpMethodName getMethod()
getMethod in interface HttpClientpublic java.net.URI getUri()
getUri in interface HttpClientpublic java.util.Map<java.lang.String,java.lang.String> getHeaders()
getHeaders in interface HttpClientpublic java.io.InputStream getContent()
getContent in interface HttpClientpublic void close()
throws java.io.IOException
close in interface HttpClientjava.io.IOExceptionCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.