public class JCLService extends Object
| Constructor and Description |
|---|
JCLService(boolean debug) |
| Modifier and Type | Method and Description |
|---|---|
ResponseObject |
doRequest(String url,
String method,
String requestBody,
Properties headers,
TaskListener listener)
Setup the secure connection and do the request.
|
void |
login(String host,
String port,
String user,
String pw,
TaskListener listener)
Call a random z/OSMF REST API that requires credentials (in this case -
z/OSMF information retrieval service) for validating the connection, and
obtaining authentication token on user login.
|
public void login(String host, String port, String user, String pw, TaskListener listener) throws AbortException
host - port - user - pw - listener - AbortExceptionpublic ResponseObject doRequest(String url, String method, String requestBody, Properties headers, TaskListener listener)
url - method - requestBody - headers - Copyright © 2016–2021. All rights reserved.