public class CrxRequestSender extends Object
| Constructor and Description |
|---|
CrxRequestSender() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
sendCrxRequest(org.apache.http.client.methods.HttpUriRequest request)
This method sends request to author instance
|
void |
sendCrxRequest(org.apache.http.client.methods.HttpUriRequest request,
String desiredMessage)
This method sends request to author instance
|
public com.google.gson.JsonObject sendCrxRequest(org.apache.http.client.methods.HttpUriRequest request)
throws IOException
request - request to sendIOException - if response doesn't contain desired messagepublic void sendCrxRequest(org.apache.http.client.methods.HttpUriRequest request,
String desiredMessage)
throws IOException
request - request to senddesiredMessage - expected messageIOException - if response doesn't contain desired messageCopyright © 2016–2018 Cognifide Ltd.. All rights reserved.