public class

IPAURLConnections

extends Object
java.lang.Object
   ↳ com.microstrategy.web.ipa.IPAURLConnections

Class Overview

the class is reponsible for talking with remote web servers

Summary

Constants
String BLK_TASK_RESPONSE
String BLK_TASK_RESPONSES
String HTTP
String HTTPS
String PRO_TASK_HTTPURLCONN_ERROR
String PRO_TASK_RESPONSES_LIST
String TASK_EXECUTION_SUCCESS
String TASK_RESPONSE
String TASK_RESPONSE_ERROR_CODE
String TASK_RESPONSE_ERROR_MSG
String TASK_RESPONSE_STATUS_CODE
String TASK_TASK_RESPONSE_CONTENTS
String URL_TASK_ENV_AND_CONTENT_TYPE
Public Constructors
IPAURLConnections()
Public Methods
static Document callNonAdminTask(String taskBaseURL, String taskID, Map<String, String> parameters)
@return
static Document callNonAdminTask(IPAServer webServer, String taskID, Map<String, String> parameters)
Call Tasks using the taskProc link on remote web servers.@return
static Document callTask(IPAServer webServer, String webUserName, String webPassword, String taskID, Map<String, String> parameters)
call tasks running in the remove web servers@return
static String encode(String value)
encode the parameters@return
static void validateWebServer(IPAServer webServer)
valiate remove web server
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String BLK_TASK_RESPONSE

Constant Value: "IPATaskResponse"

public static final String BLK_TASK_RESPONSES

Constant Value: "IPATaskResponses"

public static final String HTTP

Constant Value: "http://"

public static final String HTTPS

Constant Value: "https://"

public static final String PRO_TASK_HTTPURLCONN_ERROR

Constant Value: "HttpURLConnError"

public static final String PRO_TASK_RESPONSES_LIST

Constant Value: "responses"

public static final String TASK_EXECUTION_SUCCESS

Constant Value: "200"

public static final String TASK_RESPONSE

Constant Value: "taskResponse"

public static final String TASK_RESPONSE_ERROR_CODE

Constant Value: "taskErrorCode"

public static final String TASK_RESPONSE_ERROR_MSG

Constant Value: "errorMsg"

public static final String TASK_RESPONSE_STATUS_CODE

Constant Value: "statusCode"

public static final String TASK_TASK_RESPONSE_CONTENTS

Constant Value: "contents"

public static final String URL_TASK_ENV_AND_CONTENT_TYPE

Constant Value: "&taskEnv=xml&taskContentType=xml&"

Public Constructors

public IPAURLConnections ()

Public Methods

public static Document callNonAdminTask (String taskBaseURL, String taskID, Map<String, String> parameters)

@return

public static Document callNonAdminTask (IPAServer webServer, String taskID, Map<String, String> parameters)

Call Tasks using the taskProc link on remote web servers.@return

Throws
WebException

public static Document callTask (IPAServer webServer, String webUserName, String webPassword, String taskID, Map<String, String> parameters)

call tasks running in the remove web servers@return

Throws
WebException

public static String encode (String value)

encode the parameters@return

Throws
UnsupportedEncodingException

public static void validateWebServer (IPAServer webServer)

valiate remove web server

Throws
WebException