// Path: restvolley/src/main/java/com/hujiang/restvolley/webapi/RestVolleyCallback.java
// public abstract class RestVolleyCallback<T> {
// 
//     protected Exception mException;
// 
//     public void setException(Exception e) {
//         mException = e;
//     }
// 
//     public Exception getException() {
//         return mException;
//     }
// 
//     /**
//      * start request callback.
//      * @param request {@link RestVolleyRequest}
//      */
//     public void onStart(RestVolleyRequest request) {
// 
//     }
// 
//     /**
//      * finish request callback.
//      * @param request {@link RestVolleyRequest}
//      */
//     public void onFinished(RestVolleyRequest request) {
// 
//     }
// 
//     /**
//      * request success callback.
//      * @param statusCode http status code.
//      * @param data response data.
//      * @param headers response headers.
//      * @param notModified data not modified.
//      * @param networkTimeMs request times.
//      * @param message request message.
//      */
//     public abstract void onSuccess(int statusCode, T data, Map<String, String> headers, boolean notModified, long networkTimeMs, String message);
// 
//     /**
//      * request fail callback.
//      * @param statusCode http status code.
//      * @param data response data.
//      * @param headers response headers.
//      * @param notModified data not modified.
//      * @param networkTimeMs request times.
//      * @param message request message.
//      */
//     public abstract void onFail(int statusCode, T data, Map<String, String> headers, boolean notModified, long networkTimeMs, String message);
// }
// 
// Path: restvolley/src/main/java/com/hujiang/restvolley/webapi/request/GetRequest.java
// public class GetRequest extends RestVolleyRequestWithNoBody<GetRequest> {
//     /**
//      * constructor.
//      * @param context {@link Context}
//      */
//     public GetRequest(Context context) {
//         super(context, Request.Method.GET);
//     }
// }


import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
import com.hujiang.restvolley.webapi.RestVolleyCallback;
import com.hujiang.restvolley.webapi.request.GetRequest;
import java.util.Map;
package com.hujiang.restvolley.demo;




public class HTTPSActivity extends AppCompatActivity {

    private TextView mRequestContentView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_https);

        mRequestContentView = (TextView)findViewById(R.id.txt_request_content);

        findViewById(R.id.btn_office_ca).setOnClickListener(new View.OnClickListener() {
// Path: restvolley/src/main/java/com/hujiang/restvolley/webapi/RestVolleyCallback.java
// public abstract class RestVolleyCallback<T> {
// 
//     protected Exception mException;
// 
//     public void setException(Exception e) {
//         mException = e;
//     }
// 
//     public Exception getException() {
//         return mException;
//     }
// 
//     /**
//      * start request callback.
//      * @param request {@link RestVolleyRequest}
//      */
//     public void onStart(RestVolleyRequest request) {
// 
//     }
// 
//     /**
//      * finish request callback.
//      * @param request {@link RestVolleyRequest}
//      */
//     public void onFinished(RestVolleyRequest request) {
// 
//     }
// 
//     /**
//      * request success callback.
//      * @param statusCode http status code.
//      * @param data response data.
//      * @param headers response headers.
//      * @param notModified data not modified.
//      * @param networkTimeMs request times.
//      * @param message request message.
//      */
//     public abstract void onSuccess(int statusCode, T data, Map<String, String> headers, boolean notModified, long networkTimeMs, String message);
// 
//     /**
//      * request fail callback.
//      * @param statusCode http status code.
//      * @param data response data.
//      * @param headers response headers.
//      * @param notModified data not modified.
//      * @param networkTimeMs request times.
//      * @param message request message.
//      */
//     public abstract void onFail(int statusCode, T data, Map<String, String> headers, boolean notModified, long networkTimeMs, String message);
// }
// 
// Path: restvolley/src/main/java/com/hujiang/restvolley/webapi/request/GetRequest.java
// public class GetRequest extends RestVolleyRequestWithNoBody<GetRequest> {
//     /**
//      * constructor.
//      * @param context {@link Context}
//      */
//     public GetRequest(Context context) {
//         super(context, Request.Method.GET);
//     }
// }


// Path: app/src/main/java/com/hujiang/restvolley/demo/HTTPSActivity.java
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
import com.hujiang.restvolley.webapi.RestVolleyCallback;
import com.hujiang.restvolley.webapi.request.GetRequest;
import java.util.Map;

package com.hujiang.restvolley.demo;




public class HTTPSActivity extends AppCompatActivity {

    private TextView mRequestContentView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_https);

        mRequestContentView = (TextView)findViewById(R.id.txt_request_content);

        findViewById(R.id.btn_office_ca).setOnClickListener(new View.OnClickListener() {
            @Override