Back to Vassonic

SonicSessionConnection.SessionConnectionDefaultImpl (sdk 3.0.0 API)

sonic-android/docs/javadoc/com/tencent/sonic/sdk/SonicSessionConnection.SessionConnectionDefaultImpl.html

3.1.17.2 KB
Original Source

跳过导航链接

com.tencent.sonic.sdk

类 SonicSessionConnection.SessionConnectionDefaultImpl


public static classSonicSessionConnection.SessionConnectionDefaultImplextends[SonicSessionConnection](../../../../com/tencent/sonic/sdk/SonicSessionConnection.html "com.tencent.sonic.sdk中的类")

嵌套类概要

- 

从类继承的嵌套类/接口 com.tencent.sonic.sdk.SonicSessionConnection

SonicSessionConnection.SessionConnectionDefaultImpl

字段概要

字段 | 限定符和类型 | 字段和说明 | | --- | --- | | protected java.net.URLConnection | connectionImpl A default http connection referred to by the com.tencent.sonic.sdk.SonicSession#currUrl. |

- 

从类继承的字段 com.tencent.sonic.sdk.SonicSessionConnection

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() |

- 

从类继承的方法 com.tencent.sonic.sdk.SonicSessionConnection

connect, getResponseStream

- 

从类继承的方法 java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

字段详细资料

- 

connectionImpl

protected final java.net.URLConnection connectionImpl

A default http connection referred to by the com.tencent.sonic.sdk.SonicSession#currUrl.

构造器详细资料

- 

SessionConnectionDefaultImpl

public SessionConnectionDefaultImpl([SonicSession](../../../../com/tencent/sonic/sdk/SonicSession.html "com.tencent.sonic.sdk中的类")session,
                                    android.content.Intent intent)

方法详细资料

- 

createConnection

protected java.net.URLConnection createConnection()
- 

initConnection

protected boolean initConnection(java.net.URLConnection connection)
- 

internalConnect

protected int internalConnect()

指定者:internalConnect 在类中 SonicSessionConnection

- 

disconnect

public void disconnect()

从类复制的说明: SonicSessionConnection

Disconnect the communications link to the resource referenced by Sonic session 指定者:disconnect 在类中 SonicSessionConnection

- 

internalGetResponseStream

protected java.io.BufferedInputStream internalGetResponseStream()

指定者:internalGetResponseStream 在类中 SonicSessionConnection

- 

getResponseCode

public int getResponseCode()

指定者:getResponseCode 在类中 SonicSessionConnection

- 

getResponseHeaderFields

public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getResponseHeaderFields()

指定者:getResponseHeaderFields 在类中 SonicSessionConnection

- 

getResponseHeaderField

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.

跳过导航链接