public class VIPService
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
HttpRequester |
getHttpRequester() |
java.lang.String |
getProductID() |
java.lang.String |
getVersion() |
static VIPService |
getVIPServiceInstance()
get the instance of the VIPService.
|
void |
initializeVIPService(java.lang.String productID,
java.lang.String version,
java.lang.String vIPServer)
Initialize vIP Service with productID, version and vIPHostName.
|
void |
setHeaderParams(java.util.Map<java.lang.String,java.lang.String> params) |
public static VIPService getVIPServiceInstance()
public void initializeVIPService(java.lang.String productID,
java.lang.String version,
java.lang.String vIPServer)
throws java.net.MalformedURLException
productID - The name of product.version - The release version of product.vIPHostName - The info of vIP Server(ip:port).java.net.MalformedURLExceptionpublic HttpRequester getHttpRequester()
public java.lang.String getProductID()
public java.lang.String getVersion()
public void setHeaderParams(java.util.Map<java.lang.String,java.lang.String> params)