Open Kilda Java Documentation
org.openkilda.helper.RestClientManager Class Reference

Public Member Functions

HttpResponse invoke (final String apiUrl, final HttpMethod httpMethod, final String payload, final String contentType, final String basicAuth)
 

Static Public Member Functions

static boolean isValidResponse (final HttpResponse response)
 

Detailed Description

The Class RestClientManager.

Definition at line 44 of file RestClientManager.java.

Member Function Documentation

◆ invoke()

HttpResponse org.openkilda.helper.RestClientManager.invoke ( final String  apiUrl,
final HttpMethod  httpMethod,
final String  payload,
final String  contentType,
final String  basicAuth 
)

Invoke.

Parameters
apiUrlthe api url
httpMethodthe http method
payloadthe payload
contentTypethe content type
basicAuththe basic auth
Returns
the http response

Definition at line 65 of file RestClientManager.java.

◆ isValidResponse()

static boolean org.openkilda.helper.RestClientManager.isValidResponse ( final HttpResponse  response)
static

Checks if is valid response.

Parameters
responsethe response
Returns
true, if is valid response

Definition at line 221 of file RestClientManager.java.


The documentation for this class was generated from the following file: