// Path: src/main/java/com/github/qcloudsms/httpclient/HTTPClient.java
// public interface HTTPClient {
// 
//     /**
//      * Fetch HTTP response by given HTTP request,
//      *
//      * @param request  Specify which to be fetched.
//      *
//      * @return the response to the request.
//      * @throws IOException  connection problem.
//      * @throws URISyntaxException  url syntax problem.
//      */
//     HTTPResponse fetch(HTTPRequest request)
//         throws IOException, URISyntaxException;
// 
//     /**
//      * Close http client and release resource
//      *
//      */
//     void close();
// }
// 
// Path: src/main/java/com/github/qcloudsms/httpclient/HTTPException.java
// public class HTTPException extends Exception {
// 
//     private final int statusCode;
//     private final String reason;
// 
//     public HTTPException(final int statusCode, final String reason) {
//         super("HTTP statusCode: " + statusCode + ", reasons: " + reason);
//         this.reason = reason;
//         this.statusCode = statusCode;
//     }
// 
//     public int getStatusCode() {
//         return statusCode;
//     }
// 
//     public String getReason() {
//         return reason;
//     }
// }
// 
// Path: src/main/java/com/github/qcloudsms/httpclient/HTTPResponse.java
// public class HTTPResponse {
// 
//     public HTTPRequest request;
//     public int statusCode;
//     public String reason;
//     public String body;
//     public HashMap<String, String> headers;
// 
//     public HTTPResponse() {
//         this.headers = new HashMap<String, String>();
//     }
// 
//     public HTTPResponse(final int statusCode) {
//         this();
//         this.statusCode = statusCode;
//     }
// 
//     public HTTPResponse(final int statusCode, final String body) {
//         super();
//         this.statusCode = statusCode;
//         this.body = body;
//     }
// 
//     public HTTPResponse(final int statusCode, final String body, final String reason) {
//         super();
//         this.statusCode = statusCode;
//         this.body = body;
//         this.reason = reason;
//     }
// 
//     public HTTPResponse setStatusCode(int statusCode) {
//         this.statusCode = statusCode;
//         return this;
//     }
// 
//     public HTTPResponse setBody(String body) {
//         this.body = body;
//         return this;
//     }
// 
//     public HTTPResponse setReason(String reason) {
//         this.reason = reason;
//         return this;
//     }
// 
//     public HTTPResponse addHeader(String name, String value) {
//         headers.put(name, value);
//         return this;
//     }
// 
//     public HTTPResponse setRequest(HTTPRequest request) {
//         this.request = request;
//         return this;
//     }
// }


import com.github.qcloudsms.httpclient.HTTPClient;
import com.github.qcloudsms.httpclient.HTTPException;
import com.github.qcloudsms.httpclient.HTTPResponse;
package com.github.qcloudsms;



public class SmsBase {

    protected int appid;
    protected String appkey;
// Path: src/main/java/com/github/qcloudsms/httpclient/HTTPClient.java
// public interface HTTPClient {
// 
//     /**
//      * Fetch HTTP response by given HTTP request,
//      *
//      * @param request  Specify which to be fetched.
//      *
//      * @return the response to the request.
//      * @throws IOException  connection problem.
//      * @throws URISyntaxException  url syntax problem.
//      */
//     HTTPResponse fetch(HTTPRequest request)
//         throws IOException, URISyntaxException;
// 
//     /**
//      * Close http client and release resource
//      *
//      */
//     void close();
// }
// 
// Path: src/main/java/com/github/qcloudsms/httpclient/HTTPException.java
// public class HTTPException extends Exception {
// 
//     private final int statusCode;
//     private final String reason;
// 
//     public HTTPException(final int statusCode, final String reason) {
//         super("HTTP statusCode: " + statusCode + ", reasons: " + reason);
//         this.reason = reason;
//         this.statusCode = statusCode;
//     }
// 
//     public int getStatusCode() {
//         return statusCode;
//     }
// 
//     public String getReason() {
//         return reason;
//     }
// }
// 
// Path: src/main/java/com/github/qcloudsms/httpclient/HTTPResponse.java
// public class HTTPResponse {
// 
//     public HTTPRequest request;
//     public int statusCode;
//     public String reason;
//     public String body;
//     public HashMap<String, String> headers;
// 
//     public HTTPResponse() {
//         this.headers = new HashMap<String, String>();
//     }
// 
//     public HTTPResponse(final int statusCode) {
//         this();
//         this.statusCode = statusCode;
//     }
// 
//     public HTTPResponse(final int statusCode, final String body) {
//         super();
//         this.statusCode = statusCode;
//         this.body = body;
//     }
// 
//     public HTTPResponse(final int statusCode, final String body, final String reason) {
//         super();
//         this.statusCode = statusCode;
//         this.body = body;
//         this.reason = reason;
//     }
// 
//     public HTTPResponse setStatusCode(int statusCode) {
//         this.statusCode = statusCode;
//         return this;
//     }
// 
//     public HTTPResponse setBody(String body) {
//         this.body = body;
//         return this;
//     }
// 
//     public HTTPResponse setReason(String reason) {
//         this.reason = reason;
//         return this;
//     }
// 
//     public HTTPResponse addHeader(String name, String value) {
//         headers.put(name, value);
//         return this;
//     }
// 
//     public HTTPResponse setRequest(HTTPRequest request) {
//         this.request = request;
//         return this;
//     }
// }


// Path: src/main/java/com/github/qcloudsms/SmsBase.java
import com.github.qcloudsms.httpclient.HTTPClient;
import com.github.qcloudsms.httpclient.HTTPException;
import com.github.qcloudsms.httpclient.HTTPResponse;

package com.github.qcloudsms;



public class SmsBase {

    protected int appid;
    protected String appkey;
    protected HTTPClient httpclient;