Package com.amazonaws.kinesisvideo.http
Class ParallelSimpleHttpClient
- java.lang.Object
-
- com.amazonaws.kinesisvideo.http.ParallelSimpleHttpClient
-
- All Implemented Interfaces:
HttpClient
public final class ParallelSimpleHttpClient extends Object implements HttpClient
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParallelSimpleHttpClient.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParallelSimpleHttpClient.Builderbuilder()voidclose()voidcloseSocket()InputStreamconnectAndGetResponse()voidconnectAndProcessInBackground()InputStreamgetContent()Map<String,String>getHeaders()HttpMethodNamegetMethod()URIgetUri()
-
-
-
Method Detail
-
builder
public static ParallelSimpleHttpClient.Builder builder()
-
connectAndProcessInBackground
public void connectAndProcessInBackground()
-
connectAndGetResponse
public InputStream connectAndGetResponse()
-
getMethod
public HttpMethodName getMethod()
- Specified by:
getMethodin interfaceHttpClient
-
getUri
public URI getUri()
- Specified by:
getUriin interfaceHttpClient
-
getHeaders
public Map<String,String> getHeaders()
- Specified by:
getHeadersin interfaceHttpClient
-
getContent
public InputStream getContent()
- Specified by:
getContentin interfaceHttpClient
-
closeSocket
public void closeSocket()
-
close
public void close() throws IOException- Specified by:
closein interfaceHttpClient- Throws:
IOException
-
-