|
| HttpResponse | invoke (final String apiUrl, final HttpMethod httpMethod, final String payload, final String contentType, final String basicAuth) |
| |
The Class RestClientManager.
Definition at line 44 of file RestClientManager.java.
◆ invoke()
| HttpResponse org.openkilda.helper.RestClientManager.invoke |
( |
final String |
apiUrl, |
|
|
final HttpMethod |
httpMethod, |
|
|
final String |
payload, |
|
|
final String |
contentType, |
|
|
final String |
basicAuth |
|
) |
| |
Invoke.
- Parameters
-
| apiUrl | the api url |
| httpMethod | the http method |
| payload | the payload |
| contentType | the content type |
| basicAuth | the 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
-
- 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:
- /Users/kevin/Desktop/Kilda/open-kilda-develop/services/src/openkilda-gui/src/main/java/org/openkilda/helper/RestClientManager.java