sonic-android/docs/javadoc/com/tencent/sonic/sdk/SonicSessionConnection.SessionConnectionDefaultImpl.html
com.tencent.sonic.sdk
java.lang.Object
public static classSonicSessionConnection.SessionConnectionDefaultImplextends[SonicSessionConnection](../../../../com/tencent/sonic/sdk/SonicSessionConnection.html "com.tencent.sonic.sdk中的类")
-
SonicSessionConnection.SessionConnectionDefaultImpl
字段 | 限定符和类型 | 字段和说明 |
| --- | --- |
| protected java.net.URLConnection | connectionImpl
A default http connection referred to by the com.tencent.sonic.sdk.SonicSession#currUrl.
|
-
CUSTOM_HEAD_FILED_ACCEPT_DIFF, CUSTOM_HEAD_FILED_CACHE_OFFLINE, CUSTOM_HEAD_FILED_DNS_PREFETCH, CUSTOM_HEAD_FILED_ETAG, CUSTOM_HEAD_FILED_HTML_SHA1, CUSTOM_HEAD_FILED_LINK, CUSTOM_HEAD_FILED_SDK_VERSION, CUSTOM_HEAD_FILED_TEMPLATE_CHANGE, CUSTOM_HEAD_FILED_TEMPLATE_TAG, DNS_PREFETCH_ADDRESS, HTTP_HEAD_CSP, HTTP_HEAD_CSP_REPORT_ONLY, HTTP_HEAD_FIELD_CACHE_CONTROL, HTTP_HEAD_FIELD_CONTENT_LENGTH, HTTP_HEAD_FIELD_CONTENT_TYPE, HTTP_HEAD_FIELD_COOKIE, HTTP_HEAD_FIELD_EXPIRES, HTTP_HEAD_FIELD_PRAGMA, HTTP_HEAD_FILED_IF_NOT_MATCH, HTTP_HEAD_FILED_SET_COOKIE, HTTP_HEAD_FILED_USER_AGENT, intent, responseStream, session
构造器 | 构造器和说明 |
| --- |
| SessionConnectionDefaultImpl(SonicSession session, android.content.Intent intent) |
所有方法 实例方法 具体方法 | 限定符和类型 | 方法和说明 |
| --- | --- |
| protected java.net.URLConnection | createConnection() |
| void | disconnect()
Disconnect the communications link to the resource referenced by Sonic session
|
| int | getResponseCode() |
| java.lang.String | getResponseHeaderField(java.lang.String key) |
| java.util.Map<java.lang.String,java.util.List<java.lang.String>> | getResponseHeaderFields() |
| protected boolean | initConnection(java.net.URLConnection connection) |
| protected int | internalConnect() |
| protected java.io.BufferedInputStream | internalGetResponseStream() |
-
connect, getResponseStream
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
protected final java.net.URLConnection connectionImpl
A default http connection referred to by the com.tencent.sonic.sdk.SonicSession#currUrl.
-
public SessionConnectionDefaultImpl([SonicSession](../../../../com/tencent/sonic/sdk/SonicSession.html "com.tencent.sonic.sdk中的类")session,
android.content.Intent intent)
-
protected java.net.URLConnection createConnection()
-
protected boolean initConnection(java.net.URLConnection connection)
-
protected int internalConnect()
指定者:internalConnect 在类中 SonicSessionConnection
-
public void disconnect()
从类复制的说明: SonicSessionConnection
Disconnect the communications link to the resource referenced by Sonic session
指定者:disconnect 在类中 SonicSessionConnection
-
protected java.io.BufferedInputStream internalGetResponseStream()
指定者:internalGetResponseStream 在类中 SonicSessionConnection
-
public int getResponseCode()
指定者:getResponseCode 在类中 SonicSessionConnection
-
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getResponseHeaderFields()
指定者:getResponseHeaderFields 在类中 SonicSessionConnection
-
public java.lang.String getResponseHeaderField(java.lang.String key)
指定者:getResponseHeaderField 在类中 SonicSessionConnection参数:key - the name of a header field.返回:Returns the value of the named header field.