Jagger
 All Classes Namespaces Files Functions Variables Groups Pages
String com.griddynamics.jagger.invoker.http.HttpVisitorInvoker.invoke ( Nothing  query,
String  endpoint 
) throws InvocationException

Create GET http request to endpoint.

Author
Mairbek Khadikov
Parameters
query- query of type Nothing
endpoint- target url
Returns
text of http response
Exceptions
InvocationExceptionwhen invocation failed
56  {
57  try {
58  return doHttpGet(endpoint);
59  } catch (Exception e) {
60  throw new InvocationException(e.getMessage(), e);
61  }
62  }