public final class ParallelSimpleHttpClient extends java.lang.Object implements HttpClient
Modifier and Type | Class and Description |
---|---|
static class |
ParallelSimpleHttpClient.Builder |
Modifier and Type | Method and Description |
---|---|
static ParallelSimpleHttpClient.Builder |
builder() |
void |
close() |
void |
closeSocket() |
java.io.InputStream |
connectAndGetResponse() |
void |
connectAndProcessInBackground() |
java.io.InputStream |
getContent() |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders() |
HttpMethodName |
getMethod() |
java.net.URI |
getUri() |
public static ParallelSimpleHttpClient.Builder builder()
public void connectAndProcessInBackground()
public java.io.InputStream connectAndGetResponse()
public 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 closeSocket()
public void close() throws java.io.IOException
close
in interface HttpClient
java.io.IOException
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.