public class BlockingRequester extends Object implements IRequester
| Constructor and Description |
|---|
BlockingRequester(AnalyticsClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.http.HttpResponse |
executeRequest(String json) |
String |
readResponseBody(org.apache.http.HttpResponse response) |
void |
send(Batch batch) |
public BlockingRequester(AnalyticsClient client)
public void send(Batch batch)
send in interface IRequesterpublic String readResponseBody(org.apache.http.HttpResponse response) throws IOException
IOExceptionpublic org.apache.http.HttpResponse executeRequest(String json) throws org.apache.http.client.ClientProtocolException, IOException
org.apache.http.client.ClientProtocolExceptionIOExceptionpublic void close()
close in interface IRequesterCopyright © 2014. All Rights Reserved.