资源简介

使用httpclient和httpsurlconnection两种方法访问https网址,同时分为验证证书和不验证证书两种方法

资源截图

代码片段和文件信息

/**
 * Automatically generated file. DO NOT MODIFY
 */
package com.example.httpstest.test;

public final class BuildConfig {
  public static final boolean DEBUG = Boolean.parseBoolean(“true“);
  public static final String APPLICATION_ID = “com.example.httpstest.test“;
  public static final String BUILD_TYPE = “debug“;
  public static final String FLAVOR = ““;
  public static final int VERSION_CODE = 1;
  public static final String VERSION_NAME = “1.0“;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-01-09 16:07  HttpsTest\
     文件         105  2016-01-09 15:48  HttpsTest\.gitignore
     目录           0  2016-01-09 15:49  HttpsTest\.gradle\
     目录           0  2016-01-09 15:49  HttpsTest\.gradle\2.8\
     目录           0  2016-01-09 15:49  HttpsTest\.gradle\2.8\taskArtifacts\
     文件          31  2016-01-09 15:49  HttpsTest\.gradle\2.8\taskArtifacts\cache.properties
     文件          17  2016-01-09 17:00  HttpsTest\.gradle\2.8\taskArtifacts\cache.properties.lock
     文件       93807  2016-01-09 17:00  HttpsTest\.gradle\2.8\taskArtifacts\fileHashes.bin
     文件      756610  2016-01-09 17:00  HttpsTest\.gradle\2.8\taskArtifacts\fileSnapshots.bin
     文件       19652  2016-01-09 16:07  HttpsTest\.gradle\2.8\taskArtifacts\outputFileStates.bin
     文件       57499  2016-01-09 17:00  HttpsTest\.gradle\2.8\taskArtifacts\taskArtifacts.bin
     目录           0  2016-01-09 17:00  HttpsTest\.idea\
     文件           9  2016-01-09 15:48  HttpsTest\.idea\.name
     文件         686  2016-01-09 15:48  HttpsTest\.idea\compiler.xml
     目录           0  2016-01-09 15:48  HttpsTest\.idea\copyright\
     文件          76  2016-01-09 15:48  HttpsTest\.idea\copyright\profiles_settings.xml
     文件         159  2016-01-09 15:48  HttpsTest\.idea\encodings.xml
     文件         867  2016-01-09 15:49  HttpsTest\.idea\gradle.xml
     目录           0  2016-01-09 16:31  HttpsTest\.idea\libraries\
     文件         771  2016-01-09 16:31  HttpsTest\.idea\libraries\appcompat_v7_23_1_1.xml
     文件         290  2016-01-09 16:31  HttpsTest\.idea\libraries\org_apache_http_legacy_android_23.xml
     文件         515  2016-01-09 15:49  HttpsTest\.idea\libraries\support_annotations_23_1_1.xml
     文件         913  2016-01-09 16:31  HttpsTest\.idea\libraries\support_v4_23_1_1.xml
     文件        2226  2016-01-09 15:49  HttpsTest\.idea\misc.xml
     文件         355  2016-01-09 15:49  HttpsTest\.idea\modules.xml
     文件         564  2016-01-09 15:48  HttpsTest\.idea\runConfigurations.xml
     文件      131197  2016-01-09 17:00  HttpsTest\.idea\workspace.xml
     目录           0  2016-01-09 16:31  HttpsTest\app\
     文件           8  2016-01-09 15:48  HttpsTest\app\.gitignore
     文件        7049  2016-01-09 16:31  HttpsTest\app\app.iml
     目录           0  2016-01-09 16:07  HttpsTest\app\build\
............此处省略1332个文件信息

评论

共有 条评论