public class BzmHttpWrapper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BzmHttpWrapper.Method |
| Constructor and Description |
|---|
BzmHttpWrapper(hudson.ProxyConfiguration proxy) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.impl.client.CloseableHttpClient |
getHttpClient() |
org.eclipse.jetty.util.log.StdErrLog |
getLogger() |
<V> org.apache.http.HttpResponse |
httpResponse(String url,
V data,
BzmHttpWrapper.Method method) |
<T,V> T |
response(String url,
V data,
BzmHttpWrapper.Method method,
Class<T> returnType,
Class<V> dataType) |
void |
setHttpClient(org.apache.http.impl.client.CloseableHttpClient httpClient) |
void |
setLogger(org.eclipse.jetty.util.log.StdErrLog logger) |
public <V> org.apache.http.HttpResponse httpResponse(String url, V data, BzmHttpWrapper.Method method) throws IOException
IOExceptionpublic <T,V> T response(String url, V data, BzmHttpWrapper.Method method, Class<T> returnType, Class<V> dataType)
public org.apache.http.impl.client.CloseableHttpClient getHttpClient()
public void setHttpClient(org.apache.http.impl.client.CloseableHttpClient httpClient)
public org.eclipse.jetty.util.log.StdErrLog getLogger()
public void setLogger(org.eclipse.jetty.util.log.StdErrLog logger)
Copyright © July 2012-2016 BlazeMeterInc. All Rights Reserved.