public class SmsBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
appid |
protected String |
appkey |
protected HTTPClient |
httpclient |
| Constructor and Description |
|---|
SmsBase(int appid,
String appkey,
HTTPClient httpclient)
SmsBase constructor
|
| Modifier and Type | Method and Description |
|---|---|
HTTPResponse |
handleError(HTTPResponse response)
Handle http status error
|
protected int appid
protected String appkey
protected HTTPClient httpclient
public SmsBase(int appid,
String appkey,
HTTPClient httpclient)
appid - sdk appidappkey - sdk appkeyhttpclient - http clientpublic HTTPResponse handleError(HTTPResponse response) throws HTTPException
response - raw http responseHTTPException - http status exceptionCopyright © 2018. All rights reserved.