public class DefaultHttpAdapter extends Object implements HttpAdapter
| Constructor and Description |
|---|
DefaultHttpAdapter() |
DefaultHttpAdapter(ExecutorService threadPool) |
DefaultHttpAdapter(int threads) |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
onSendRequest(byte[] data,
String url,
String httpMethod,
String basicAuthString) |
void |
onSendRequest(byte[] data,
String url,
String httpMethod,
String basicAuthString,
HttpListener listener) |
HttpResponse |
onSendRequest(byte[] data,
String url,
String httpMethod,
String basicAuthString,
Map<String,String> headers) |
public DefaultHttpAdapter()
public DefaultHttpAdapter(int threads)
public DefaultHttpAdapter(ExecutorService threadPool)
public HttpResponse onSendRequest(byte[] data, String url, String httpMethod, String basicAuthString) throws Exception
onSendRequest in interface HttpAdapterExceptionpublic HttpResponse onSendRequest(byte[] data, String url, String httpMethod, String basicAuthString, Map<String,String> headers) throws Exception
onSendRequest in interface HttpAdapterExceptionpublic void onSendRequest(byte[] data,
String url,
String httpMethod,
String basicAuthString,
HttpListener listener)
onSendRequest in interface HttpAdapterCopyright © 2014. All Rights Reserved.