public class ParasutHttpClient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ParasutHttpClient.ClientBuilder
Builder pattern applied here to make easy to populate Client object.
|
| Constructor and Description |
|---|
ParasutHttpClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
after(org.apache.http.client.methods.HttpRequestBase requestBase) |
static ParasutHttpClient.ClientBuilder |
builder() |
static void |
closeResponse(org.apache.http.client.methods.CloseableHttpResponse response) |
<T> T |
get(Class<T> responseType) |
<T> T |
post(Class<T> responseType) |
public <T> T get(Class<T> responseType)
public <T> T post(Class<T> responseType)
public final void after(org.apache.http.client.methods.HttpRequestBase requestBase)
throws IllegalStateException,
IOException
IllegalStateExceptionIOExceptionpublic static void closeResponse(org.apache.http.client.methods.CloseableHttpResponse response)
throws IOException
IOExceptionpublic static ParasutHttpClient.ClientBuilder builder()
Copyright © 2018. All rights reserved.