修改了网络库名称

This commit is contained in:
董宏宇
2021-01-28 16:48:40 +08:00
parent 2376689b3c
commit 352220d78b
47 changed files with 92 additions and 105 deletions

2
.idea/gradle.xml generated
View File

@@ -13,8 +13,8 @@
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
<option value="$PROJECT_DIR$/foudations" />
<option value="$PROJECT_DIR$/foudations/mogo-commons" />
<option value="$PROJECT_DIR$/foudations/mogo-httpdns" />
<option value="$PROJECT_DIR$/foudations/mogo-network" />
<option value="$PROJECT_DIR$/foudations/mogo-passport" />
<option value="$PROJECT_DIR$/foudations/mogo-socket" />
<option value="$PROJECT_DIR$/modules" />

View File

@@ -6,7 +6,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>NetConstants.Companion</title>
<meta name="date" content="2021-01-21">
<meta name="keywords" content="com.mogo.cloud.commons.network.NetConstants.Companion class">
<meta name="keywords" content="com.mogo.cloud.network.NetConstants.Companion class">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
@@ -92,7 +92,7 @@
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>com.mogo.cloud.commons.network.NetConstants.Companion</li>
<li>com.mogo.cloud.network.NetConstants.Companion</li>
</ul>
<div class="description">
<ul class="blockList">

View File

@@ -6,7 +6,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>NetConstants</title>
<meta name="date" content="2021-01-21">
<meta name="keywords" content="com.mogo.cloud.commons.network.NetConstants class">
<meta name="keywords" content="com.mogo.cloud.network.NetConstants class">
<meta name="keywords" content="NO_DATA">
<meta name="keywords" content="OK">
<meta name="keywords" content="READ_TIMEOUT">
@@ -101,7 +101,7 @@
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>com.mogo.cloud.commons.network.NetConstants</li>
<li>com.mogo.cloud.network.NetConstants</li>
</ul>
<div class="description">
<ul class="blockList">
@@ -133,7 +133,7 @@ describe:</p></p></div>
<div class="block"><p><p>无数据</p></p></div>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.commons.network.NetConstants.NO_DATA">常量字段值</a></dd>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.network.NetConstants.NO_DATA">常量字段值</a></dd>
</dl>
</li>
</ul>
@@ -147,7 +147,7 @@ describe:</p></p></div>
<div class="block"><p><p>数据返回正常</p></p></div>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.commons.network.NetConstants.OK">常量字段值</a></dd>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.network.NetConstants.OK">常量字段值</a></dd>
</dl>
</li>
</ul>
@@ -160,7 +160,7 @@ describe:</p></p></div>
<pre>public static&nbsp;long READ_TIMEOUT</pre>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.commons.network.NetConstants.READ_TIMEOUT">常量字段值</a></dd>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.network.NetConstants.READ_TIMEOUT">常量字段值</a></dd>
</dl>
</li>
</ul>
@@ -173,7 +173,7 @@ describe:</p></p></div>
<pre>public static&nbsp;long WRITE_TIMEOUT</pre>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.commons.network.NetConstants.WRITE_TIMEOUT">常量字段值</a></dd>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.network.NetConstants.WRITE_TIMEOUT">常量字段值</a></dd>
</dl>
</li>
</ul>
@@ -186,7 +186,7 @@ describe:</p></p></div>
<pre>public static&nbsp;long CONNECT_TIMEOUT</pre>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.commons.network.NetConstants.CONNECT_TIMEOUT">常量字段值</a></dd>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.network.NetConstants.CONNECT_TIMEOUT">常量字段值</a></dd>
</dl>
</li>
</ul>
@@ -199,7 +199,7 @@ describe:</p></p></div>
<pre>public static&nbsp;int HTTP_DNS_ADDRESS_TYPE_HTTP</pre>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.commons.network.NetConstants.HTTP_DNS_ADDRESS_TYPE_HTTP">常量字段值</a></dd>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.network.NetConstants.HTTP_DNS_ADDRESS_TYPE_HTTP">常量字段值</a></dd>
</dl>
</li>
</ul>
@@ -212,7 +212,7 @@ describe:</p></p></div>
<pre>public static&nbsp;int HTTP_DNS_ADDRESS_TYPE_WS</pre>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.commons.network.NetConstants.HTTP_DNS_ADDRESS_TYPE_WS">常量字段值</a></dd>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.network.NetConstants.HTTP_DNS_ADDRESS_TYPE_WS">常量字段值</a></dd>
</dl>
</li>
</ul>
@@ -225,7 +225,7 @@ describe:</p></p></div>
<pre>public static&nbsp;int HTTP_DNS_ADDRESS_TYPE_IM</pre>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.commons.network.NetConstants.HTTP_DNS_ADDRESS_TYPE_IM">常量字段值</a></dd>
<dd><a href="../../../../../constant-values.html#com.mogo.cloud.network.NetConstants.HTTP_DNS_ADDRESS_TYPE_IM">常量字段值</a></dd>
</dl>
</li>
</ul>
@@ -235,7 +235,7 @@ describe:</p></p></div>
<ul class="blockListLast">
<li class="blockList">
<h4>Companion</h4>
<pre>public static&nbsp;com.mogo.cloud.commons.network.NetConstants.Companion Companion</pre>
<pre>public static&nbsp;com.mogo.cloud.network.NetConstants.Companion Companion</pre>
</li>
</ul>
</li>

View File

@@ -6,7 +6,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>OkHttpFactory.Companion</title>
<meta name="date" content="2021-01-21">
<meta name="keywords" content="com.mogo.cloud.commons.network.OkHttpFactory.Companion class">
<meta name="keywords" content="com.mogo.cloud.network.OkHttpFactory.Companion class">
<meta name="keywords" content="getOkHttpClient()">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
@@ -93,7 +93,7 @@
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>com.mogo.cloud.commons.network.OkHttpFactory.Companion</li>
<li>com.mogo.cloud.network.OkHttpFactory.Companion</li>
</ul>
<div class="description">
<ul class="blockList">

View File

@@ -6,7 +6,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>OkHttpFactory</title>
<meta name="date" content="2021-01-21">
<meta name="keywords" content="com.mogo.cloud.commons.network.OkHttpFactory class">
<meta name="keywords" content="com.mogo.cloud.network.OkHttpFactory class">
<meta name="keywords" content="Companion">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
@@ -93,7 +93,7 @@
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>com.mogo.cloud.commons.network.OkHttpFactory</li>
<li>com.mogo.cloud.network.OkHttpFactory</li>
</ul>
<div class="description">
<ul class="blockList">
@@ -119,7 +119,7 @@
<ul class="blockListLast">
<li class="blockList">
<h4>Companion</h4>
<pre>public static&nbsp;com.mogo.cloud.commons.network.OkHttpFactory.Companion Companion</pre>
<pre>public static&nbsp;com.mogo.cloud.network.OkHttpFactory.Companion Companion</pre>
</li>
</ul>
</li>

View File

@@ -6,7 +6,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RetrofitFactory</title>
<meta name="date" content="2021-01-21">
<meta name="keywords" content="com.mogo.cloud.commons.network.RetrofitFactory class">
<meta name="keywords" content="com.mogo.cloud.network.RetrofitFactory class">
<meta name="keywords" content="INSTANCE">
<meta name="keywords" content="getInstance()">
<meta name="keywords" content="getInstanceNoCallAdapter()">
@@ -95,7 +95,7 @@
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>com.mogo.cloud.commons.network.RetrofitFactory</li>
<li>com.mogo.cloud.network.RetrofitFactory</li>
</ul>
<div class="description">
<ul class="blockList">

View File

@@ -6,7 +6,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>HeaderNetworkInterceptor</title>
<meta name="date" content="2021-01-21">
<meta name="keywords" content="com.mogo.cloud.commons.network.interceptor.HeaderNetworkInterceptor class">
<meta name="keywords" content="com.mogo.cloud.network.interceptor.HeaderNetworkInterceptor class">
<meta name="keywords" content="intercept()">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
@@ -88,12 +88,12 @@
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.mogo.cloud.commons.network.interceptor</div>
<div class="subTitle">com.mogo.cloud.network.interceptor</div>
<h2 title="类 HeaderNetworkInterceptor" class="title">类 HeaderNetworkInterceptor</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>com.mogo.cloud.commons.network.interceptor.HeaderNetworkInterceptor</li>
<li>com.mogo.cloud.network.interceptor.HeaderNetworkInterceptor</li>
</ul>
<div class="description">
<ul class="blockList">

View File

@@ -4,14 +4,14 @@
<head>
<!-- Generated by javadoc (1.8.0_242-release) on Thu Jan 21 15:56:54 CST 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>com.mogo.cloud.commons.network.interceptor</title>
<title>com.mogo.cloud.network.interceptor</title>
<meta name="date" content="2021-01-21">
<meta name="keywords" content="com.mogo.cloud.commons.network.interceptor package">
<meta name="keywords" content="com.mogo.cloud.network.interceptor package">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<h1 class="bar"><a href="../../../../../../com/mogo/cloud/commons/network/interceptor/package-summary.html" target="classFrame">com.mogo.cloud.commons.network.interceptor</a></h1>
<h1 class="bar"><a href="../../../../../../com/mogo/cloud/commons/network/interceptor/package-summary.html" target="classFrame">com.mogo.cloud.network.interceptor</a></h1>
<div class="indexContainer">
<h2 title="类"></h2>
<ul title="类">

View File

@@ -4,9 +4,9 @@
<head>
<!-- Generated by javadoc (1.8.0_242-release) on Thu Jan 21 15:56:54 CST 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>com.mogo.cloud.commons.network.interceptor</title>
<title>com.mogo.cloud.network.interceptor</title>
<meta name="date" content="2021-01-21">
<meta name="keywords" content="com.mogo.cloud.commons.network.interceptor package">
<meta name="keywords" content="com.mogo.cloud.network.interceptor package">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
@@ -14,7 +14,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.mogo.cloud.commons.network.interceptor";
parent.document.title="com.mogo.cloud.network.interceptor";
}
}
catch(err) {
@@ -71,7 +71,7 @@
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="程序包" class="title">程序包&nbsp;com.mogo.cloud.commons.network.interceptor</h1>
<h1 title="程序包" class="title">程序包&nbsp;com.mogo.cloud.network.interceptor</h1>
</div>
<div class="contentContainer">
<ul class="blockList">

View File

@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc (1.8.0_242-release) on Thu Jan 21 15:56:54 CST 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>com.mogo.cloud.commons.network.interceptor 类分层结构</title>
<title>com.mogo.cloud.network.interceptor 类分层结构</title>
<meta name="date" content="2021-01-21">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
@@ -13,7 +13,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.mogo.cloud.commons.network.interceptor \u7C7B\u5206\u5C42\u7ED3\u6784";
parent.document.title="com.mogo.cloud.network.interceptor \u7C7B\u5206\u5C42\u7ED3\u6784";
}
}
catch(err) {
@@ -79,7 +79,7 @@
<div class="contentContainer">
<h2 title="类分层结构">类分层结构</h2>
<ul>
<li type="circle">com.mogo.cloud.commons.network.interceptor.<a href="../../../../../../com/mogo/cloud/commons/network/interceptor/HeaderNetworkInterceptor.html" title="com.mogo.cloud.commons.network.interceptor中的类"><span class="typeNameLink">HeaderNetworkInterceptor</span></a></li>
<li type="circle">com.mogo.cloud.network.interceptor.<a href="../../../../../../com/mogo/cloud/commons/network/interceptor/HeaderNetworkInterceptor.html" title="com.mogo.cloud.commons.network.interceptor中的类"><span class="typeNameLink">HeaderNetworkInterceptor</span></a></li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->

View File

@@ -91,56 +91,56 @@
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a name="com.mogo.cloud.commons.network.NetConstants.CONNECT_TIMEOUT">
<td class="colFirst"><a name="com.mogo.cloud.network.NetConstants.CONNECT_TIMEOUT">
<!-- -->
</a><code>public&nbsp;static&nbsp;long</code></td>
<td><code><a href="com/mogo/cloud/commons/network/NetConstants.html#CONNECT_TIMEOUT">CONNECT_TIMEOUT</a></code></td>
<td class="colLast"><code>15000</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a name="com.mogo.cloud.commons.network.NetConstants.HTTP_DNS_ADDRESS_TYPE_HTTP">
<td class="colFirst"><a name="com.mogo.cloud.network.NetConstants.HTTP_DNS_ADDRESS_TYPE_HTTP">
<!-- -->
</a><code>public&nbsp;static&nbsp;int</code></td>
<td><code><a href="com/mogo/cloud/commons/network/NetConstants.html#HTTP_DNS_ADDRESS_TYPE_HTTP">HTTP_DNS_ADDRESS_TYPE_HTTP</a></code></td>
<td class="colLast"><code>0</code></td>
</tr>
<tr class="altColor">
<td class="colFirst"><a name="com.mogo.cloud.commons.network.NetConstants.HTTP_DNS_ADDRESS_TYPE_IM">
<td class="colFirst"><a name="com.mogo.cloud.network.NetConstants.HTTP_DNS_ADDRESS_TYPE_IM">
<!-- -->
</a><code>public&nbsp;static&nbsp;int</code></td>
<td><code><a href="com/mogo/cloud/commons/network/NetConstants.html#HTTP_DNS_ADDRESS_TYPE_IM">HTTP_DNS_ADDRESS_TYPE_IM</a></code></td>
<td class="colLast"><code>2</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a name="com.mogo.cloud.commons.network.NetConstants.HTTP_DNS_ADDRESS_TYPE_WS">
<td class="colFirst"><a name="com.mogo.cloud.network.NetConstants.HTTP_DNS_ADDRESS_TYPE_WS">
<!-- -->
</a><code>public&nbsp;static&nbsp;int</code></td>
<td><code><a href="com/mogo/cloud/commons/network/NetConstants.html#HTTP_DNS_ADDRESS_TYPE_WS">HTTP_DNS_ADDRESS_TYPE_WS</a></code></td>
<td class="colLast"><code>1</code></td>
</tr>
<tr class="altColor">
<td class="colFirst"><a name="com.mogo.cloud.commons.network.NetConstants.NO_DATA">
<td class="colFirst"><a name="com.mogo.cloud.network.NetConstants.NO_DATA">
<!-- -->
</a><code>public&nbsp;static&nbsp;int</code></td>
<td><code><a href="com/mogo/cloud/commons/network/NetConstants.html#NO_DATA">NO_DATA</a></code></td>
<td class="colLast"><code>-800</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a name="com.mogo.cloud.commons.network.NetConstants.OK">
<td class="colFirst"><a name="com.mogo.cloud.network.NetConstants.OK">
<!-- -->
</a><code>public&nbsp;static&nbsp;int</code></td>
<td><code><a href="com/mogo/cloud/commons/network/NetConstants.html#OK">OK</a></code></td>
<td class="colLast"><code>0</code></td>
</tr>
<tr class="altColor">
<td class="colFirst"><a name="com.mogo.cloud.commons.network.NetConstants.READ_TIMEOUT">
<td class="colFirst"><a name="com.mogo.cloud.network.NetConstants.READ_TIMEOUT">
<!-- -->
</a><code>public&nbsp;static&nbsp;long</code></td>
<td><code><a href="com/mogo/cloud/commons/network/NetConstants.html#READ_TIMEOUT">READ_TIMEOUT</a></code></td>
<td class="colLast"><code>20000</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a name="com.mogo.cloud.commons.network.NetConstants.WRITE_TIMEOUT">
<td class="colFirst"><a name="com.mogo.cloud.network.NetConstants.WRITE_TIMEOUT">
<!-- -->
</a><code>public&nbsp;static&nbsp;long</code></td>
<td><code><a href="com/mogo/cloud/commons/network/NetConstants.html#WRITE_TIMEOUT">WRITE_TIMEOUT</a></code></td>

View File

@@ -80,7 +80,7 @@
<dd>&nbsp;</dd>
<dt><a href="com/mogo/cloud/commons/network/package-summary.html">com.mogo.cloud.commons.network</a> - 程序包 com.mogo.cloud.commons.network</dt>
<dd>&nbsp;</dd>
<dt><a href="com/mogo/cloud/commons/network/interceptor/package-summary.html">com.mogo.cloud.commons.network.interceptor</a> - 程序包 com.mogo.cloud.commons.network.interceptor</dt>
<dt><a href="com/mogo/cloud/commons/network/interceptor/package-summary.html">com.mogo.cloud.network.interceptor</a> - 程序包 com.mogo.cloud.network.interceptor</dt>
<dd>&nbsp;</dd>
<dt><a href="com/mogo/cloud/commons/utils/package-summary.html">com.mogo.cloud.commons.utils</a> - 程序包 com.mogo.cloud.commons.utils</dt>
<dd>&nbsp;</dd>
@@ -112,7 +112,7 @@
</a>
<h2 class="title">H</h2>
<dl>
<dt><a href="com/mogo/cloud/commons/network/interceptor/HeaderNetworkInterceptor.html" title="com.mogo.cloud.commons.network.interceptor中的类"><span class="typeNameLink">HeaderNetworkInterceptor</span></a> - <a href="com/mogo/cloud/commons/network/interceptor/package-summary.html">com.mogo.cloud.commons.network.interceptor</a>中的类</dt>
<dt><a href="com/mogo/cloud/commons/network/interceptor/HeaderNetworkInterceptor.html" title="com.mogo.cloud.commons.network.interceptor中的类"><span class="typeNameLink">HeaderNetworkInterceptor</span></a> - <a href="com/mogo/cloud/commons/network/interceptor/package-summary.html">com.mogo.cloud.network.interceptor</a>中的类</dt>
<dd>
<div class="block">created by wujifei on 2021/1/20 15:18
describe:</div>

View File

@@ -17,7 +17,7 @@
<ul title="程序包">
<li><a href="com/mogo/cloud/commons/package-frame.html" target="packageFrame">com.mogo.cloud.commons</a></li>
<li><a href="com/mogo/cloud/commons/network/package-frame.html" target="packageFrame">com.mogo.cloud.commons.network</a></li>
<li><a href="com/mogo/cloud/commons/network/interceptor/package-frame.html" target="packageFrame">com.mogo.cloud.commons.network.interceptor</a></li>
<li><a href="com/mogo/cloud/commons/network/interceptor/package-frame.html" target="packageFrame">com.mogo.cloud.network.interceptor</a></li>
<li><a href="com/mogo/cloud/commons/utils/package-frame.html" target="packageFrame">com.mogo.cloud.commons.utils</a></li>
</ul>
</div>

View File

@@ -87,7 +87,7 @@
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="com/mogo/cloud/commons/network/interceptor/package-summary.html">com.mogo.cloud.commons.network.interceptor</a></td>
<td class="colFirst"><a href="com/mogo/cloud/commons/network/interceptor/package-summary.html">com.mogo.cloud.network.interceptor</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">

View File

@@ -75,7 +75,7 @@
<ul class="horizontal">
<li><a href="com/mogo/cloud/commons/package-tree.html">com.mogo.cloud.commons</a>, </li>
<li><a href="com/mogo/cloud/commons/network/package-tree.html">com.mogo.cloud.commons.network</a>, </li>
<li><a href="com/mogo/cloud/commons/network/interceptor/package-tree.html">com.mogo.cloud.commons.network.interceptor</a>, </li>
<li><a href="com/mogo/cloud/commons/network/interceptor/package-tree.html">com.mogo.cloud.network.interceptor</a>, </li>
<li><a href="com/mogo/cloud/commons/utils/package-tree.html">com.mogo.cloud.commons.utils</a></li>
</ul>
</div>
@@ -88,7 +88,7 @@
<li type="circle">com.mogo.cloud.commons.utils.<a href="com/mogo/cloud/commons/utils/NetworkUtilsKt.html" title="com.mogo.cloud.commons.utils中的类"><span class="typeNameLink">NetworkUtilsKt</span></a></li>
<li type="circle">com.mogo.cloud.commons.network.<a href="com/mogo/cloud/commons/network/RetrofitFactory.html" title="com.mogo.cloud.commons.network中的类"><span class="typeNameLink">RetrofitFactory</span></a></li>
<li type="circle">com.mogo.cloud.commons.utils.<a href="com/mogo/cloud/commons/utils/CoordinateUtils.html" title="com.mogo.cloud.commons.utils中的类"><span class="typeNameLink">CoordinateUtils</span></a></li>
<li type="circle">com.mogo.cloud.commons.network.interceptor.<a href="com/mogo/cloud/commons/network/interceptor/HeaderNetworkInterceptor.html" title="com.mogo.cloud.commons.network.interceptor中的类"><span class="typeNameLink">HeaderNetworkInterceptor</span></a></li>
<li type="circle">com.mogo.cloud.network.interceptor.<a href="com/mogo/cloud/commons/network/interceptor/HeaderNetworkInterceptor.html" title="com.mogo.cloud.commons.network.interceptor中的类"><span class="typeNameLink">HeaderNetworkInterceptor</span></a></li>
<li type="circle">com.mogo.cloud.commons.<a href="com/mogo/cloud/commons/Sample.html" title="com.mogo.cloud.commons中的类"><span class="typeNameLink">Sample</span></a></li>
<li type="circle">com.mogo.cloud.commons.network.<a href="com/mogo/cloud/commons/network/OkHttpFactory.html" title="com.mogo.cloud.commons.network中的类"><span class="typeNameLink">OkHttpFactory</span></a></li>
</ul>

View File

@@ -1,4 +1,4 @@
com.mogo.cloud.commons
com.mogo.cloud.commons.network
com.mogo.cloud.commons.network.interceptor
com.mogo.cloud.network.interceptor
com.mogo.cloud.commons.utils

View File

@@ -38,12 +38,12 @@ dependencies {
implementation rootProject.ext.dependencies.androidxconstraintlayout
if (Boolean.valueOf(RELEASE)) {
implementation "com.mogo.cloud:commons:${MOGO_COMMONS_VERSION}"
implementation "com.mogo.cloud:network:${MOGO_NETWORK_VERSION}"
implementation "com.mogo.cloud:socket:${MOGO_SOCKET_VERSION}"
implementation "com.mogo.cloud:tanlu:${MOGO_TANLU_VERSION}"
} else {
implementation project(":foudations:mogo-socket")
implementation project(":foudations:mogo-commons")
implementation project(":foudations:mogo-network")
implementation project(path: ':modules:mogo-tanlu')
}

View File

@@ -1,7 +1,5 @@
package com.mogo.cloud.network;
import com.mogo.cloud.commons.network.BaseData;
import java.util.Map;
import io.reactivex.Observable;

View File

@@ -10,8 +10,6 @@ import androidx.appcompat.app.AppCompatActivity;
import com.google.gson.Gson;
import com.mogo.cloud.R;
import com.mogo.cloud.commons.network.BaseData;
import com.mogo.cloud.commons.network.RetrofitFactory;
import com.mogo.cloud.tanlu.MogoRoadSearchManager;
import com.mogo.cloud.tanlu.MogoUploadManager;
import com.mogo.cloud.tanlu.api.IRoadInfoSearchCallback;
@@ -28,8 +26,7 @@ import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.disposables.Disposable;
import io.reactivex.schedulers.Schedulers;
import static com.mogo.cloud.commons.network.NetConstants.GEOFENCE_HOST;
import static com.mogo.cloud.commons.network.NetConstants.REALTIME_LOCATION_HOST;
import static com.mogo.cloud.network.NetConstants.GEOFENCE_HOST;
/**
* created by wujifei on 2021/1/21 12:26

View File

@@ -1,8 +1,6 @@
package com.mogo.cloud.network;
import com.mogo.cloud.commons.network.BaseData;
import java.util.List;
/**

View File

@@ -1,9 +1,5 @@
package com.mogo.cloud.network;
import com.mogo.cloud.commons.network.BaseData;
import java.io.Serializable;
/**
* author : donghongyu
* e-mail : 1358506549@qq.com

View File

@@ -1,4 +1,4 @@
GROUP=com.mogo.cloud
POM_ARTIFACT_ID=commons
POM_ARTIFACT_ID=network
VERSION_CODE=1
VERSION_NAME=1.0.2-SNAPSHOT

View File

@@ -1,4 +1,4 @@
package com.mogo.cloud.commons.network
package com.mogo.cloud.network
import java.io.Serializable

View File

@@ -1,4 +1,4 @@
package com.mogo.cloud.commons.network
package com.mogo.cloud.network
/**
* created by wujifei on 2021/1/20 10:46

View File

@@ -1,13 +1,13 @@
package com.mogo.cloud.commons.network
package com.mogo.cloud.network
import com.mogo.cloud.commons.network.NetConstants.Companion.CONNECT_TIMEOUT
import com.mogo.cloud.commons.network.NetConstants.Companion.READ_TIMEOUT
import com.mogo.cloud.commons.network.NetConstants.Companion.WRITE_TIMEOUT
import com.mogo.cloud.commons.network.SSLSocketFactoryUtils.createSSLSocketFactory
import com.mogo.cloud.commons.network.SSLSocketFactoryUtils.createTrustAllManager
import com.mogo.cloud.commons.network.interceptor.HttpHeaderInterceptor
import com.mogo.cloud.commons.network.interceptor.HttpDnsInterceptor
import com.mogo.cloud.commons.network.interceptor.HttpLoggingInterceptor
import com.mogo.cloud.network.NetConstants.Companion.CONNECT_TIMEOUT
import com.mogo.cloud.network.NetConstants.Companion.READ_TIMEOUT
import com.mogo.cloud.network.NetConstants.Companion.WRITE_TIMEOUT
import com.mogo.cloud.network.SSLSocketFactoryUtils.createSSLSocketFactory
import com.mogo.cloud.network.SSLSocketFactoryUtils.createTrustAllManager
import com.mogo.cloud.network.interceptor.HttpHeaderInterceptor
import com.mogo.cloud.network.interceptor.HttpDnsInterceptor
import com.mogo.cloud.network.interceptor.HttpLoggingInterceptor
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit

View File

@@ -1,4 +1,4 @@
package com.mogo.cloud.commons.network
package com.mogo.cloud.network
import androidx.collection.ArrayMap
import retrofit2.Retrofit

View File

@@ -1,4 +1,4 @@
package com.mogo.cloud.commons.network
package com.mogo.cloud.network
import java.security.SecureRandom
import java.security.cert.CertificateException

View File

@@ -1,4 +1,4 @@
package com.mogo.cloud.commons.network.interceptor
package com.mogo.cloud.network.interceptor
import com.mogo.cloud.httpdns.MogoHttpDnsClient
import com.mogo.utils.logger.Logger

View File

@@ -1,4 +1,4 @@
package com.mogo.cloud.commons.network.interceptor
package com.mogo.cloud.network.interceptor
import com.mogo.cloud.passport.MoGoAiCloudClient
import okhttp3.Interceptor

View File

@@ -1,6 +1,6 @@
package com.mogo.cloud.commons.network.interceptor
package com.mogo.cloud.network.interceptor
import com.mogo.cloud.commons.network.NetConstants.Companion.TAG
import com.mogo.cloud.network.NetConstants.Companion.TAG
import com.mogo.utils.logger.Logger
import okhttp3.*
import okio.Buffer

View File

@@ -25,9 +25,9 @@ PASSWORD=xintai2018
# 编译模式: false - 依赖本地版本, true - 依赖 maven 版本
RELEASE=false
# AI CLOUD 云平台
MOGO_COMMONS_VERSION=1.0.6-SNAPSHOT
MOGO_HTTPDNS_VERSION=1.0.6-SNAPSHOT
MOGO_PASSPORT_VERSION=1.0.6-SNAPSHOT
MOGO_SOCKET_VERSION=1.0.6-SNAPSHOT
MOGO_REALTIME_VERSION=1.0.6-SNAPSHOT
MOGO_TANLU_VERSION=1.0.6-SNAPSHOT
MOGO_NETWORK_VERSION=1.0.7-SNAPSHOT
MOGO_HTTPDNS_VERSION=1.0.7-SNAPSHOT
MOGO_PASSPORT_VERSION=1.0.7-SNAPSHOT
MOGO_SOCKET_VERSION=1.0.7-SNAPSHOT
MOGO_REALTIME_VERSION=1.0.7-SNAPSHOT
MOGO_TANLU_VERSION=1.0.7-SNAPSHOT

View File

@@ -1,6 +1,6 @@
:foudations:mogo-httpdns
:foudations:mogo-passport
:foudations:mogo-commons
:foudations:mogo-network
:foudations:mogo-socket
:modules:mogo-realtime
:modules:mogo-tanlu

View File

@@ -32,11 +32,11 @@ dependencies {
api rootProject.ext.dependencies.spi
if (Boolean.valueOf(RELEASE)) {
implementation "com.mogo.cloud:commons:${MOGO_COMMONS_VERSION}"
implementation "com.mogo.cloud:network:${MOGO_NETWORK_VERSION}"
implementation "com.mogo.cloud:socket:${MOGO_SOCKET_VERSION}"
} else {
implementation project(":foudations:mogo-socket")
implementation project(":foudations:mogo-commons")
implementation project(":foudations:mogo-network")
}
}

View File

@@ -39,9 +39,9 @@ dependencies {
implementation rootProject.ext.dependencies.videoprocessor
if (Boolean.valueOf(RELEASE)) {
implementation "com.mogo.cloud:commons:${MOGO_COMMONS_VERSION}"
implementation "com.mogo.cloud:network:${MOGO_NETWORK_VERSION}"
} else {
implementation project(path: ':foudations:mogo-commons')
implementation project(path: ':foudations:mogo-network')
}
}

View File

@@ -6,7 +6,7 @@ import android.util.Log;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.mogo.cloud.commons.network.BaseData;
import com.mogo.cloud.network.BaseData;
import com.mogo.cloud.tanlu.api.ITanluUploadCallback;
import com.mogo.cloud.tanlu.bean.InformationBody;
import com.mogo.cloud.tanlu.bean.UploadInfo;

View File

@@ -3,19 +3,17 @@ package com.mogo.cloud.tanlu;
import android.content.Context;
import android.util.Log;
import com.mogo.cloud.commons.network.BaseData;
import com.mogo.cloud.commons.network.NetConstants;
import com.mogo.cloud.commons.network.RetrofitFactory;
import com.mogo.cloud.network.BaseData;
import com.mogo.cloud.network.NetConstants;
import com.mogo.cloud.network.RetrofitFactory;
import com.mogo.cloud.passport.MoGoAiCloudClient;
import com.mogo.cloud.tanlu.api.IRoadInfoSearchCallback;
import com.mogo.cloud.tanlu.bean.RoadInfoRequest;
import com.mogo.cloud.tanlu.bean.RoadInfos;
import com.mogo.cloud.tanlu.bean.location.Location;
import com.mogo.cloud.tanlu.constant.HttpConstant;
import com.mogo.cloud.tanlu.net.TanluApiService;
import com.mogo.utils.network.utils.GsonUtil;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

View File

@@ -4,9 +4,9 @@ import android.content.Context;
import android.util.Log;
import com.google.gson.Gson;
import com.mogo.cloud.commons.network.BaseData;
import com.mogo.cloud.commons.network.NetConstants;
import com.mogo.cloud.commons.network.RetrofitFactory;
import com.mogo.cloud.network.BaseData;
import com.mogo.cloud.network.NetConstants;
import com.mogo.cloud.network.RetrofitFactory;
import com.mogo.cloud.passport.MoGoAiCloudClient;
import com.mogo.cloud.tanlu.api.ITanluUploadCallback;
import com.mogo.cloud.tanlu.bean.InformationBody;

View File

@@ -1,6 +1,6 @@
package com.mogo.cloud.tanlu.api;
import com.mogo.cloud.commons.network.BaseData;
import com.mogo.cloud.network.BaseData;
import com.mogo.cloud.tanlu.bean.RoadInfos;
/**

View File

@@ -1,6 +1,6 @@
package com.mogo.cloud.tanlu.api;
import com.mogo.cloud.commons.network.BaseData;
import com.mogo.cloud.network.BaseData;
import com.mogo.cloud.tanlu.bean.UploadResult;
/**

View File

@@ -1,6 +1,6 @@
package com.mogo.cloud.tanlu.net;
import com.mogo.cloud.commons.network.BaseData;
import com.mogo.cloud.network.BaseData;
import com.mogo.cloud.tanlu.bean.RoadInfos;
import com.mogo.cloud.tanlu.bean.UploadResult;

View File

@@ -1,7 +1,7 @@
include ':foudations:mogo-socket'
include ':modules:mogo-realtime'
include ':modules:mogo-tanlu'
include ':foudations:mogo-commons'
include ':foudations:mogo-network'
include ':foudations:mogo-httpdns'
include ':foudations:mogo-passport'
include ':app'