com.app55.transport
Class DefaultHttpAdapter
java.lang.Object
com.app55.transport.DefaultHttpAdapter
- All Implemented Interfaces:
- HttpAdapter
public class DefaultHttpAdapter
- extends Object
- implements HttpAdapter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHttpAdapter
public DefaultHttpAdapter()
DefaultHttpAdapter
public DefaultHttpAdapter(int threads)
DefaultHttpAdapter
public DefaultHttpAdapter(ExecutorService threadPool)
onSendRequest
public HttpResponse onSendRequest(byte[] data,
String url,
String httpMethod,
String basicAuthString)
throws Exception
- Specified by:
onSendRequest in interface HttpAdapter
- Throws:
Exception
onSendRequest
public void onSendRequest(byte[] data,
String url,
String httpMethod,
String basicAuthString,
HttpListener listener)
- Specified by:
onSendRequest in interface HttpAdapter
Copyright © 2013. All Rights Reserved.