File tree 5 files changed +11
-9
lines changed
src/main/java/com/tencent/sonic/sdk
5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ dependencies {
26
26
})
27
27
28
28
// compile sdk from jcenter
29
- compile ' com.tencent.sonic:sdk:2.0.0'
29
+ compile ' com.tencent.sonic:sdk:2.0.0-alpha '
30
30
31
31
// compile sonic-sdk from local path
32
32
// compile project(path: ':sdk')
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ android {
10
10
defaultConfig {
11
11
minSdkVersion 9
12
12
targetSdkVersion 25
13
- versionCode 1
14
- versionName " 2.0.0"
13
+ versionCode 2
14
+ versionName " 2.0.0-alpha "
15
15
16
16
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
17
17
@@ -36,7 +36,7 @@ dependencies {
36
36
37
37
38
38
// sdk info
39
- version = " 2.0.0" // sdk version num
39
+ version = " 2.0.0-alpha " // sdk version num
40
40
group = " com.tencent.sonic" // maven group id for the artifact
41
41
def SITE_URL = " https://github.com/Tencent/VasSonic" // web site url
42
42
def GIT_URL = " https://github.com/Tencent/VasSonic.git" // git url
Original file line number Diff line number Diff line change @@ -249,6 +249,7 @@ public void disconnect() {
249
249
* return response headers which contains response headers from server and custom response headers from
250
250
* {@code com.tencent.sonic.sdk.SonicSessionConfig}
251
251
* note: server response headers have high priority than custom headers!
252
+ * @return a Map of header fields
252
253
*/
253
254
public Map <String , List <String >> getResponseHeaderFields () {
254
255
if (null == cachedResponseHeaders ) {
Original file line number Diff line number Diff line change @@ -636,6 +636,7 @@ protected void handleFlow_Connection(String cacheHtml) {
636
636
637
637
/**
638
638
* Handle template update {@link SonicSession#SONIC_RESULT_CODE_TEMPLATE_CHANGE} logic.
639
+ * @param newHtml new Html string from web-server
639
640
*/
640
641
protected abstract void handleFlow_TemplateChange (String newHtml );
641
642
Original file line number Diff line number Diff line change @@ -119,29 +119,29 @@ public abstract class SonicSessionConnection {
119
119
public final static String HTTP_HEAD_FILED_SET_COOKIE = "Set-Cookie" ;
120
120
121
121
/**
122
- * HTTP Header : Cache-Control. <br/ >
122
+ * HTTP Header : Cache-Control. <br>
123
123
* This header represents the strategy of cache control.
124
124
*/
125
125
public final static String HTTP_HEAD_FIELD_CACHE_CONTROL = "Cache-Control" ;
126
126
127
127
/**
128
- * HTTP Header : Expires. <br/ >
128
+ * HTTP Header : Expires. <br>
129
129
*/
130
130
public final static String HTTP_HEAD_FIELD_EXPIRES = "Expires" ;
131
131
132
132
/**
133
- * HTTP 1.0 Header : Pragma. <br/ >
133
+ * HTTP 1.0 Header : Pragma. <br>
134
134
* This old header represents the old strategy of cache control.
135
135
*/
136
136
public final static String HTTP_HEAD_FIELD_PRAGMA = "Pragma" ; //1.0
137
137
138
138
/**
139
- * HTTP Header : Content-Type. </ br>
139
+ * HTTP Header : Content-Type. <br>
140
140
*/
141
141
public final static String HTTP_HEAD_FIELD_CONTENT_TYPE = "Content-Type" ;
142
142
143
143
/**
144
- * HTTP Request Header : Cookie. </ br>
144
+ * HTTP Request Header : Cookie. <br>
145
145
*/
146
146
public final static String HTTP_HEAD_FIELD_COOKIE = "Cookie" ;
147
147
You can’t perform that action at this time.
0 commit comments