public final class ParallelSimpleHttpClient extends 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() |
InputStream |
connectAndGetResponse() |
void |
connectAndProcessInBackground() |
InputStream |
getContent() |
Map<String,String> |
getHeaders() |
HttpMethodName |
getMethod() |
URI |
getUri() |
public static ParallelSimpleHttpClient.Builder builder()
public void connectAndProcessInBackground()
public InputStream connectAndGetResponse()
public 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 closeSocket()
public void close()
throws IOException
close in interface HttpClientIOExceptionCopyright © 2019. All rights reserved.