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 HttpClient
public java.net.URI getUri()
getUri
in interface HttpClient
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
getHeaders
in interface HttpClient
public java.io.InputStream getContent()
getContent
in interface HttpClient
public void close() throws java.io.IOException
close
in interface HttpClient
java.io.IOException
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.