跳过导航链接
A B C D E F G H I L M N O P Q R S T V W 

A

addSessionCallback(SonicSessionCallback) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
addSessionStateChangedCallback(SonicSession.Callback) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
addSubResourcePreloadTask(List<String>) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadEngine
preload the sub resource in the "sonic-link" header.

B

bindClient(SonicSessionClient) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
bindSession(SonicSession) - 类 中的方法com.tencent.sonic.sdk.SonicSessionClient
Bind a sonic session to current client
build() - 类 中的方法com.tencent.sonic.sdk.SonicConfig.Builder
 
build() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
Builder() - 类 的构造器com.tencent.sonic.sdk.SonicConfig.Builder
 
Builder() - 类 的构造器com.tencent.sonic.sdk.SonicSessionConfig.Builder
 

C

cachedResponseHeaders - 类 中的变量com.tencent.sonic.sdk.SonicServer
Cached response headers which contains response headers from server and custom response headers from com.tencent.sonic.sdk.SonicSessionConfig
cacheVerifyTime - 类 中的变量com.tencent.sonic.sdk.SonicSessionStatistics
The time that sonic begin verify local data
callback(String) - 接口 中的方法com.tencent.sonic.sdk.SonicDiffDataCallback
Called when sonic processes the local data and the server data.
canDestroy() - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
CHROME_FILE_THREAD - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Name of chrome file thread
cleanCache() - 类 中的方法com.tencent.sonic.sdk.SonicEngine
Removes all of the cache from SonicEngine.preloadSessionPool and deletes file caches from SDCard.
clearHistory() - 类 中的方法com.tencent.sonic.sdk.SonicSessionClient
We add this method to decoupling webview since some application may use x5 webview or others.
clearSessionData() - 类 中的方法com.tencent.sonic.sdk.QuickSonicSession
 
clearSessionData() - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
CLIENT_MSG_NOTIFY_RESULT - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
The message to record sonic mode.
CLIENT_MSG_ON_WEB_READY - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
The message of page ready, its means page want to get the latest session data.
clientIsReady - 类 中的变量com.tencent.sonic.sdk.SonicSession
Whether the client is ready.
clientIsReload - 类 中的变量com.tencent.sonic.sdk.SonicSession
Indicate current session is reload or not.
clientReady() - 类 中的方法com.tencent.sonic.sdk.SonicSessionClient
Notify client is ready to accept data
close() - 类 中的方法com.tencent.sonic.sdk.SonicSessionStream
Closes this input stream and releases any system resources associated with the stream and invoke the callback's onClose method
com.tencent.sonic.sdk - 程序包 com.tencent.sonic.sdk
 
com.tencent.sonic.sdk.download - 程序包 com.tencent.sonic.sdk.download
 
COMMON_MSG_BEGIN - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
 
COMMON_MSG_END - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
 
config - 类 中的变量com.tencent.sonic.sdk.SonicSession
 
connect() - 类 中的方法com.tencent.sonic.sdk.SonicServer
Opens a communications link to the resource referenced by Sonic session.
connect() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection
Opens a communications link to the resource referenced by Sonic session
connectionConnectTime - 类 中的变量com.tencent.sonic.sdk.SonicSessionStatistics
The http(s) connectURLConnection.connect() response time
connectionFlowFinishTime - 类 中的变量com.tencent.sonic.sdk.SonicSessionStatistics
Sonic flow end time
connectionFlowStartTime - 类 中的变量com.tencent.sonic.sdk.SonicSessionStatistics
The time sonic initiate the http(s) request
connectionImpl - 类 中的变量com.tencent.sonic.sdk.SonicServer
A session connection implement.
connectionImpl - 类 中的变量com.tencent.sonic.sdk.SonicSessionConnection.SessionConnectionDefaultImpl
A default http connection referred to by the com.tencent.sonic.sdk.SonicSession#currUrl.
connectionRespondTime - 类 中的变量com.tencent.sonic.sdk.SonicSessionStatistics
The http(s) getResponseCodeHttpURLConnection.getResponseCode() response time
context - 类 中的变量com.tencent.sonic.sdk.SonicRuntime
A context for this runtime, it's expected to be ApplicationContext
CREATE_TABLE_SQL - 类 中的静态变量com.tencent.sonic.sdk.SonicResourceDataHelper
The create table sql
createConnection() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection.SessionConnectionDefaultImpl
 
createConnectionIntent(SonicDataHelper.SessionData) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
createdTime - 类 中的变量com.tencent.sonic.sdk.SonicSession
The time of current session created.
createInstance(SonicRuntime, SonicConfig) - 类 中的静态方法com.tencent.sonic.sdk.SonicEngine
Create SonicEngine instance.
createSession(String, SonicSessionConfig) - 类 中的方法com.tencent.sonic.sdk.SonicEngine
 
createWebResourceResponse(String, String, InputStream, Map<String, String>) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
We add this method to decoupling webview since some application may use x5 webview or others.
CUSTOM_HEAD_FILED_ACCEPT_DIFF - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP header:accept-diff.
CUSTOM_HEAD_FILED_CACHE_OFFLINE - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP header:cache-offline.
CUSTOM_HEAD_FILED_DNS_PREFETCH - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP Header:dns-prefetch.
CUSTOM_HEAD_FILED_ETAG - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP header:eTag.
CUSTOM_HEAD_FILED_HTML_SHA1 - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP header: .
CUSTOM_HEAD_FILED_LINK - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP Response Header: Link.
CUSTOM_HEAD_FILED_SDK_VERSION - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP Header:sdk_version.
CUSTOM_HEAD_FILED_TEMPLATE_CHANGE - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP header:template_change.
CUSTOM_HEAD_FILED_TEMPLATE_TAG - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP header:template_tag.

D

DATA_UPDATE_BUNDLE_PARAMS_DIFF - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
 
dataString - 类 中的变量com.tencent.sonic.sdk.SonicServer
 
DEFAULT_CHARSET - 类 中的静态变量com.tencent.sonic.sdk.SonicUtils
the default charset is UTF-8.
destroy() - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
destroy(boolean) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
diffDataCallback - 类 中的变量com.tencent.sonic.sdk.SonicSession
 
diffDataCallbackTime - 类 中的变量com.tencent.sonic.sdk.SonicSessionStatistics
The time when website try get diff data.
disconnect() - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadClient.SonicDownloadConnection
 
disconnect() - 类 中的方法com.tencent.sonic.sdk.SonicServer
Disconnect the communications link to the resource referenced by Sonic session
disconnect() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection
Disconnect the communications link to the resource referenced by Sonic session
disconnect() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection.SessionConnectionDefaultImpl
 
DNS_PREFETCH_ADDRESS - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP header:dns-prefetch-address
This header represents the ip address of the server.
doSaveSonicCache(SonicServer, String) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
download() - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadClient
download the resource and notify download progress
download(String, String, String, SonicDownloadCallback) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadEngine
start downloading one resource.
DownloadTask() - 类 的构造器com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
 

E

equals(Object) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig
 
ERROR_CODE_BUILD_HTML_ERROR - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
Build template and data to html failed
ERROR_CODE_CONNECT_IOE - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
Http(s) connection error : IO Exception
ERROR_CODE_CONNECT_NPE - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
Http(s) connection error : nullPointer in native
ERROR_CODE_CONNECT_TOE - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
Http(s) connection error : time out
ERROR_CODE_DATA_VERIFY_FAIL - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
Verify local file failed
ERROR_CODE_MAKE_DIR_ERROR - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
Failed to create sonic directory
ERROR_CODE_MERGE_DIFF_DATA_FAIL - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
Obtain difference data between server and local data failed
ERROR_CODE_SERVER_DATA_EXCEPTION - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
Server data exception
ERROR_CODE_SPLIT_HTML_FAIL - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
Separate html to template and data failed
ERROR_CODE_SUCCESS - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
Success
ERROR_CODE_UNKNOWN - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
Unknown
ERROR_CODE_WRITE_FILE_FAIL - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
File save failed
expiredTime - 类 中的变量com.tencent.sonic.sdk.SonicResourceDataHelper.ResourceData
Indicates when local resource cache is expired.

F

FILE_THREAD_MSG_BEGIN - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
 
FILE_THREAD_SAVE_CACHE_ON_SERVER_CLOSE - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
The message of saving sonic cache while server close.
FILE_THREAD_SAVE_CACHE_ON_SESSION_FINISHED - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
The message of saving sonic cache while session finish.
fileHandler - 类 中的变量com.tencent.sonic.sdk.SonicSession
 
fileHandlerThread - 类 中的静态变量com.tencent.sonic.sdk.SonicRuntime
This handle thread use to save sonic cache.
finalMode - 类 中的变量com.tencent.sonic.sdk.SonicSessionStatistics
finalResultCode - 类 中的变量com.tencent.sonic.sdk.SonicSession
Sonic final mode.

G

getAllResourceDataColumn() - 类 中的静态方法com.tencent.sonic.sdk.SonicResourceDataHelper
 
getCacheData(SonicSession) - 类 中的方法com.tencent.sonic.sdk.SonicCacheInterceptor
 
getCacheHeaders() - 类 中的方法com.tencent.sonic.sdk.SonicSession
Get header info from local cache headers
getCharsetFromHeaders() - 类 中的方法com.tencent.sonic.sdk.SonicSession
Get the charset from the latest response http header.
getCharsetFromHeaders(Map<String, String>) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
getConfig() - 类 中的方法com.tencent.sonic.sdk.SonicEngine
 
getConnection(SonicSession, Intent) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnectionInterceptor
 
getContext() - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
 
getCookie(String) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Get cookies of the input url, this method will be called before sonic session make a session connection to request data.
getCurrentUrl() - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
getCurrentUserAccount() - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Get the current user account, this method will be called when makeSessionId's params is account related.
getDiffData(SonicDiffDataCallback) - 类 中的方法com.tencent.sonic.sdk.SonicSessionClient
The page execute a java script function to invoke a native method by javascript interface, this callback will be called when sonic has finished diff data.
getFileThreadLooper() - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Return the looper of HandleThread which use to save sonic cache.
getFilteredHeaders(Map<String, List<String>>) - 类 中的静态方法com.tencent.sonic.sdk.SonicUtils
Get filtered headers by session id, this method will return a map of header(k-v) which will not contains "Set-Cookie", "Cache-Control", "Expires".
getFinalResultCode() - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
getHeaderFromLocalCache(String) - 类 中的静态方法com.tencent.sonic.sdk.SonicFileUtils
Get headers from local cache file
getHeaders() - 类 中的方法com.tencent.sonic.sdk.SonicSession
Get header info with the original url of current session.
getHostDirectAddress(String) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Get the direct address of a url(host),format as[ip:port],the default http port is 80 and 443 for https.
getInstance() - 类 中的静态方法com.tencent.sonic.sdk.SonicDBHelper
 
getInstance() - 类 中的静态方法com.tencent.sonic.sdk.SonicEngine
Returns a SonicEngine instance Make sure SonicEngine.createInstance(SonicRuntime, SonicConfig) has been called.
getMD5(String) - 类 中的静态方法com.tencent.sonic.sdk.SonicUtils
 
getMime(String) - 类 中的静态方法com.tencent.sonic.sdk.SonicUtils
Get mime type for url simply.
getQueryParameterNames(Uri) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Returns a set of the unique names of all query parameters.
getResourceCache(String) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadCache
get the cached content according to the url
getResourceCache(String) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadCache.SonicResourceCache
 
getResourceCacheHeader(String) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadCache
get the cached response headers according to the url
getResourceCacheHeader(String) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadCache.SonicResourceCache
 
getResourceData(String) - 类 中的静态方法com.tencent.sonic.sdk.SonicResourceDataHelper
Get sonic ResourceData by unique resource id
getResponseCode() - 类 中的方法com.tencent.sonic.sdk.SonicServer
 
getResponseCode() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection
 
getResponseCode() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection.SessionConnectionDefaultImpl
 
getResponseData(boolean) - 类 中的方法com.tencent.sonic.sdk.SonicServer
Return current cached server response data.
getResponseHeaderField(String) - 类 中的方法com.tencent.sonic.sdk.SonicServer
 
getResponseHeaderField(String) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection
 
getResponseHeaderField(String) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection.SessionConnectionDefaultImpl
 
getResponseHeaderFields() - 类 中的方法com.tencent.sonic.sdk.SonicServer
return response headers which contains response headers from server and custom response headers from com.tencent.sonic.sdk.SonicSessionConfig note: server response headers have high priority than custom headers!
getResponseHeaderFields() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection
 
getResponseHeaderFields() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection.SessionConnectionDefaultImpl
 
getResponseStream(AtomicBoolean) - 类 中的方法com.tencent.sonic.sdk.SonicServer
Read all of data from SonicSessionConnection.getResponseStream() into byte array output stream outputStream until breakCondition is true when breakCondition is not null.
getResponseStream() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection
 
getRuntime() - 类 中的方法com.tencent.sonic.sdk.SonicEngine
 
getSessionClient() - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
getSHA1(byte[]) - 类 中的静态方法com.tencent.sonic.sdk.SonicUtils
 
getSonicCacheDir() - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
The sonic cache root dir which sonic cache such like .html/.template/.data will be storage.
getSonicResourceCacheDir() - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
The resource cache root dir which resource cache will be storage.
getSonicResourceHeaderPath(String) - 类 中的静态方法com.tencent.sonic.sdk.SonicFileUtils
 
getSonicResourcePath(String) - 类 中的静态方法com.tencent.sonic.sdk.SonicFileUtils
 
getSonicSessionConnection(SonicSession, Intent) - 类 中的静态方法com.tencent.sonic.sdk.SonicSessionConnectionInterceptor
 
getSonicSharedPreferences() - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
get SharedPreferences of sonic.
getSrcResultCode() - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
getSrcResultCode() - 类 中的方法com.tencent.sonic.sdk.StandardSonicSession
 
getStatistics() - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
getSubResourceCache() - 类 中的静态方法com.tencent.sonic.sdk.download.SonicDownloadCache
 
getTemplate() - 类 中的方法com.tencent.sonic.sdk.SonicServer
If the serverRsp is not empty, It will separate serverRsp into template and data file and return template as string.
getUpdatedData() - 类 中的方法com.tencent.sonic.sdk.SonicServer
If the serverRsp is not empty, It will separate serverRsp into template and data file and return data as JSONObject String.
getUserAgent() - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Get user agent of current runtime, this method will be called before sonic session make a session connection to request data.

H

handleFlow_Connection(boolean, SonicDataHelper.SessionData) - 类 中的方法com.tencent.sonic.sdk.SonicSession
Initiate a network request to obtain server data.
handleFlow_DataUpdate(String) - 类 中的方法com.tencent.sonic.sdk.QuickSonicSession
In this case sonic obtains the difference data between the server and the local data first,then sonic will build the template and server data into html, then send a CLIENT_CORE_MSG_DATA_UPDATE message.
handleFlow_DataUpdate(String) - 类 中的方法com.tencent.sonic.sdk.SonicSession
handleFlow_DataUpdate(String) - 类 中的方法com.tencent.sonic.sdk.StandardSonicSession
Sonic obtains the difference data between the server and the local data first,then sonic will build the template and server data into html.If client did not load url before, the new html will be encapsulated as an inputStreamByteArrayInputStream,When client initiates a resource interception, sonic provides the inputStream to the kernel.
handleFlow_FirstLoad() - 类 中的方法com.tencent.sonic.sdk.QuickSonicSession
In this case sonic will always read the new data from the server until the client initiates a resource interception.
handleFlow_FirstLoad() - 类 中的方法com.tencent.sonic.sdk.SonicSession
handleFlow_FirstLoad() - 类 中的方法com.tencent.sonic.sdk.StandardSonicSession
Sonic will always read the new data from the server until client initiates a resource interception If the server data is not read finished sonic will split the read and unread data into a bridgedStreamSonicSessionStream, otherwise all the read data will be encapsulated as an inputStreamByteArrayInputStream.
handleFlow_HttpError(int) - 类 中的方法com.tencent.sonic.sdk.QuickSonicSession
 
handleFlow_HttpError(int) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
handleFlow_HttpError(int) - 类 中的方法com.tencent.sonic.sdk.StandardSonicSession
 
handleFlow_LoadLocalCache(String) - 类 中的方法com.tencent.sonic.sdk.QuickSonicSession
Handle load local cache of html if exist.
handleFlow_LoadLocalCache(String) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
handleFlow_LoadLocalCache(String) - 类 中的方法com.tencent.sonic.sdk.StandardSonicSession
 
handleFlow_NotModified() - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
handleFlow_ServiceUnavailable() - 类 中的方法com.tencent.sonic.sdk.QuickSonicSession
 
handleFlow_ServiceUnavailable() - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
handleFlow_ServiceUnavailable() - 类 中的方法com.tencent.sonic.sdk.StandardSonicSession
 
handleFlow_TemplateChange(String) - 类 中的方法com.tencent.sonic.sdk.QuickSonicSession
In this case sonic will always read the new data from the server until the local page finish.
handleFlow_TemplateChange(String) - 类 中的方法com.tencent.sonic.sdk.SonicSession
handleFlow_TemplateChange(String) - 类 中的方法com.tencent.sonic.sdk.StandardSonicSession
Sonic will always read the new data from the server until the local page finish.
handleMessage(Message) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadEngine
 
handleMessage(Message) - 类 中的方法com.tencent.sonic.sdk.QuickSonicSession
 
handleMessage(Message) - 类 中的方法com.tencent.sonic.sdk.SonicSession
Subclasses must implement this to receive messages.
handleMessage(Message) - 类 中的方法com.tencent.sonic.sdk.StandardSonicSession
 
HTTP_HEAD_CSP - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP Header:Content-Security-Policy.
HTTP_HEAD_CSP_REPORT_ONLY - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP Header:Content-Security-Policy-Report-Only.
HTTP_HEAD_FIELD_CACHE_CONTROL - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP Header : Cache-Control.
HTTP_HEAD_FIELD_CONTENT_LENGTH - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP Header : Content-Length.
HTTP_HEAD_FIELD_CONTENT_TYPE - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP Header : Content-Type.
HTTP_HEAD_FIELD_COOKIE - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP Request Header : Cookie.
HTTP_HEAD_FIELD_EXPIRES - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP Header : Expires.
HTTP_HEAD_FIELD_PRAGMA - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP 1.0 Header : Pragma.
HTTP_HEAD_FILED_IF_NOT_MATCH - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
 
HTTP_HEAD_FILED_SET_COOKIE - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP Header:Set-Cookie.
HTTP_HEAD_FILED_USER_AGENT - 类 中的静态变量com.tencent.sonic.sdk.SonicSessionConnection
HTTP Request Header:User-Agent.

I

id - 类 中的变量com.tencent.sonic.sdk.SonicSession
 
initConnection(URLConnection) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection.SessionConnectionDefaultImpl
 
initSonicDB() - 类 中的方法com.tencent.sonic.sdk.SonicEngine
Init sonic DB which will upgrade to new version of database.
intent - 类 中的变量com.tencent.sonic.sdk.SonicSession
This intent saves all of the initialization param.
intent - 类 中的变量com.tencent.sonic.sdk.SonicSessionConnection
This intent saves all of the initialization param.
internalConnect() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection
 
internalConnect() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection.SessionConnectionDefaultImpl
 
internalGetResponseStream() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection
 
internalGetResponseStream() - 类 中的方法com.tencent.sonic.sdk.SonicSessionConnection.SessionConnectionDefaultImpl
 
isDestroyedOrWaitingForDestroy() - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
isDirectAddress - 类 中的变量com.tencent.sonic.sdk.SonicSessionStatistics
Is IP direct
isGetInstanceAllowed() - 类 中的静态方法com.tencent.sonic.sdk.SonicEngine
Check if SonicEngine.getInstance() is ready or not.
isMatchCurrentUrl(String) - 类 中的方法com.tencent.sonic.sdk.SonicSession
Whether the incoming url matches the current url,it will ignore url parameters
isNetworkValid() - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
This method is used to judge is network valid or not
isPreload - 类 中的变量com.tencent.sonic.sdk.SonicSession
Whether current session is preload.
isPreload() - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
isSonicAvailable() - 类 中的方法com.tencent.sonic.sdk.SonicEngine
Whether Sonic Service is available or not
isSonicUrl(String) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
This method is used to judge the input url is support sonic or not, when this method return true, it means it's allow to create a sonic session for this url.
isUpgrading() - 类 中的方法com.tencent.sonic.sdk.SonicDBHelper
Indicates whether is upgrading or not.
isWaitingForDestroy - 类 中的变量com.tencent.sonic.sdk.SonicSession
Whether the session is waiting for destroy.
isWaitingForSaveFile - 类 中的变量com.tencent.sonic.sdk.SonicSession
Whether it is waiting for the file to be saved.
isWaitingForSessionThread - 类 中的变量com.tencent.sonic.sdk.SonicSession
Whether the session is waiting for data.

L

loadDataWithBaseUrl(String, String, String, String, String) - 类 中的方法com.tencent.sonic.sdk.SonicSessionClient
We add this method to decoupling webview since some application may use x5 webview or others.
loadDataWithBaseUrlAndHeader(String, String, String, String, String, HashMap<String, String>) - 类 中的方法com.tencent.sonic.sdk.SonicSessionClient
We add this method to decoupling webview since some application may use x5 webview or others.
loadUrl(String, Bundle) - 类 中的方法com.tencent.sonic.sdk.SonicSessionClient
We add this method to decoupling webview since some application may use x5 webview or others.
log(String, int, String) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
 
log(String, int, String) - 类 中的静态方法com.tencent.sonic.sdk.SonicUtils
Logger function

M

mainHandler - 类 中的变量com.tencent.sonic.sdk.SonicSession
 
makeSessionId(String, boolean) - 类 中的静态方法com.tencent.sonic.sdk.SonicEngine
Create session ID
makeSessionId(String, boolean) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Make a unique session id for the url, it can be account related.
mCallbacks - 类 中的变量com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
list of download callback
mCookie - 类 中的变量com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
cookie to be set in the http download request
mInputStream - 类 中的变量com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
the network stream or memory stream or the bridge stream
mIpAddress - 类 中的变量com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
ip address instead of host to launch a http request
mResourceUrl - 类 中的变量com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
url of the resource to be download
mRspHeaders - 类 中的变量com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
the download request's response headers
mState - 类 中的变量com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
the task's download state
mWasInterceptInvoked - 类 中的变量com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
whether the task's responding resource was intercepted by kernel

N

next() - 类 中的方法com.tencent.sonic.sdk.SonicCacheInterceptor
 
notifyError(SonicSessionClient, String, int) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Notify error for host application to do report or statics
notifyStateChange(int, int, Bundle) - 类 中的方法com.tencent.sonic.sdk.SonicSession
When the session state changes, notify the listeners.

O

OFFLINE_MODE_FALSE - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
The value of "cache-offline" in http(s) response headers.
OFFLINE_MODE_HTTP - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
The value of "cache-offline" in http(s) response headers.
OFFLINE_MODE_STORE - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
The value of "cache-offline" in http(s) response headers.
OFFLINE_MODE_TRUE - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
The value of "cache-offline" in http(s) response headers.
onClientPageFinished(String) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
onClientReady() - 类 中的方法com.tencent.sonic.sdk.QuickSonicSession
 
onClientReady() - 类 中的方法com.tencent.sonic.sdk.SonicSession
Client informs sonic that it is ready.
onClientReady() - 类 中的方法com.tencent.sonic.sdk.StandardSonicSession
 
onClientRequestResource(String) - 类 中的方法com.tencent.sonic.sdk.SonicSession
When the webview initiates a resource interception, the client invokes the method to retrieve the data
onClose(boolean, ByteArrayOutputStream) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadClient
 
onClose(boolean, ByteArrayOutputStream) - 类 中的方法com.tencent.sonic.sdk.SonicServer
 
onClose(boolean, ByteArrayOutputStream) - 接口 中的方法com.tencent.sonic.sdk.SonicSessionStream.Callback
Close callback
onCreate(SQLiteDatabase) - 类 中的方法com.tencent.sonic.sdk.SonicDBHelper
Called when the database is created for the first time.
onError(int) - 接口 中的方法com.tencent.sonic.sdk.download.SonicDownloadCallback
notify download failed.
onError(int) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadCallback.SimpleDownloadCallback
 
onError(int) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadClient.SubResourceDownloadCallback
 
onFinish() - 接口 中的方法com.tencent.sonic.sdk.download.SonicDownloadCallback
notify download finish.
onFinish() - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadCallback.SimpleDownloadCallback
 
onProgress(int, int) - 接口 中的方法com.tencent.sonic.sdk.download.SonicDownloadCallback
notify the download progress.
onProgress(int, int) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadCallback.SimpleDownloadCallback
 
onRequestResource(String) - 类 中的方法com.tencent.sonic.sdk.QuickSonicSession
 
onRequestResource(String) - 类 中的方法com.tencent.sonic.sdk.SonicSession
When the webview initiates a main resource interception, the client invokes this method to retrieve the data
onRequestResource(String) - 类 中的方法com.tencent.sonic.sdk.StandardSonicSession
 
onRequestSubResource(String, SonicSession) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadEngine
When the webview initiates a sub resource interception, the client invokes this method to retrieve the data
onServerClosed(SonicServer, boolean) - 类 中的方法com.tencent.sonic.sdk.SonicSession
If the kernel obtain inputStream from a SonicSessionStream, the inputStream will be closed when the kernel reads the data.This method is invoked when the sonicSessionStream close.
onSessionStateChange(SonicSession, int, int, Bundle) - 接口 中的方法com.tencent.sonic.sdk.SonicSession.Callback
When the session's state changes, this method will be invoked.
onStart() - 接口 中的方法com.tencent.sonic.sdk.download.SonicDownloadCallback
notify the download start.
onStart() - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadCallback.SimpleDownloadCallback
 
onStart() - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadClient.SubResourceDownloadCallback
 
onSuccess(byte[], Map<String, List<String>>) - 接口 中的方法com.tencent.sonic.sdk.download.SonicDownloadCallback
notify download success.
onSuccess(byte[], Map<String, List<String>>) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadCallback.SimpleDownloadCallback
 
onSuccess(byte[], Map<String, List<String>>) - 类 中的方法com.tencent.sonic.sdk.download.SonicDownloadClient.SubResourceDownloadCallback
 
onUpgrade(SQLiteDatabase, int, int) - 类 中的方法com.tencent.sonic.sdk.SonicDBHelper
 
onWebReady(SonicDiffDataCallback) - 类 中的方法com.tencent.sonic.sdk.QuickSonicSession
 
onWebReady(SonicDiffDataCallback) - 类 中的方法com.tencent.sonic.sdk.SonicSession
Client will call this method to obtain the update data when the page shows the content.
onWebReady(SonicDiffDataCallback) - 类 中的方法com.tencent.sonic.sdk.StandardSonicSession
 
originalMode - 类 中的变量com.tencent.sonic.sdk.SonicSessionStatistics
Sonic original modeSonicSession.srcResultCode

P

pageFinish(String) - 类 中的方法com.tencent.sonic.sdk.SonicSessionClient
We need to tell the session when onPageFinished is called by WebViewClient since to make a better reload when current hit template-changed case.
pendingDiffData - 类 中的变量com.tencent.sonic.sdk.SonicSession
The difference data between local and server data.
pendingWebResourceStream - 类 中的变量com.tencent.sonic.sdk.SonicSession
The response for client interception.
postForceDestroyIfNeed() - 类 中的方法com.tencent.sonic.sdk.SonicSession
Destroy the session if it is waiting for destroy and it is can be destroyed.
postTaskToMainThread(Runnable, long) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Post a task in main thread
postTaskToSaveSonicCache(String) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
postTaskToSessionThread(Runnable) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Post a task to session thread(a high priority thread is better)
postTaskToThread(Runnable, long) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Post a task to the thread(a io thread is better) which used to separate template and data.
preCreateSession(String, SonicSessionConfig) - 类 中的方法com.tencent.sonic.sdk.SonicEngine
This method will preCreate sonic session .
preloadLinks - 类 中的变量com.tencent.sonic.sdk.SonicSession
 

Q

QuickSonicSession - com.tencent.sonic.sdk中的类
A subclass of SonicSession.

R

read() - 类 中的方法com.tencent.sonic.sdk.SonicSessionStream
Reads a single byte from this stream and returns it as an integer in the range from 0 to 255.
read(byte[]) - 类 中的方法com.tencent.sonic.sdk.SonicSessionStream
Reads a byte of data from this input stream Equivalent to read(buffer, 0, buffer.length).
read(byte[], int, int) - 类 中的方法com.tencent.sonic.sdk.SonicSessionStream
Reads up to byteCount bytes from this stream and stores them in the byte array buffer starting at byteOffset.
readFileToBytes(File) - 类 中的静态方法com.tencent.sonic.sdk.SonicFileUtils
 
refresh() - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
removeResourceCache(String) - 类 中的静态方法com.tencent.sonic.sdk.SonicUtils
Remove a unique resource cache.
removeSessionCache(String) - 类 中的方法com.tencent.sonic.sdk.SonicEngine
Removes the sessionId and its corresponding SonicSession from SonicEngine.preloadSessionPool.
removeSessionCallback(SonicSessionCallback) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
removeSessionStateChangedCallback(SonicSession.Callback) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 
requestIntent - 类 中的变量com.tencent.sonic.sdk.SonicServer
 
requestResource(String) - 类 中的方法com.tencent.sonic.sdk.SonicSessionClient
Webview ask the host client to intercept request, this method should be called when webview call shouldInterceptRequest.
reset() - 类 中的方法com.tencent.sonic.sdk.SonicResourceDataHelper.ResourceData
Reset data
RESOURCE_INTERCEPT_STATE_IN_FILE_THREAD - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Resource Intercept State : intercepting in file thread
RESOURCE_INTERCEPT_STATE_IN_OTHER_THREAD - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Resource Intercept State : intercepting in other thread(may be IOThread or other else)
RESOURCE_INTERCEPT_STATE_NONE - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Resource Intercept State : none
ResourceData() - 类 的构造器com.tencent.sonic.sdk.SonicResourceDataHelper.ResourceData
 
resourceDownloaderEngine - 类 中的变量com.tencent.sonic.sdk.SonicSession
Sonic sub resource downloader
resourceInterceptState - 类 中的变量com.tencent.sonic.sdk.SonicSession
Resource intercept state, include RESOURCE_INTERCEPT_STATE_NONE, RESOURCE_INTERCEPT_STATE_IN_FILE_THREAD, RESOURCE_INTERCEPT_STATE_IN_OTHER_THREAD More about it at {https://codereview.chromium.org/1350553005/#ps20001}
resourceSha1 - 类 中的变量com.tencent.sonic.sdk.SonicResourceDataHelper.ResourceData
The sha1 of resource
resourceSize - 类 中的变量com.tencent.sonic.sdk.SonicResourceDataHelper.ResourceData
The size of resource
responseCode - 类 中的变量com.tencent.sonic.sdk.SonicServer
 
responseStream - 类 中的变量com.tencent.sonic.sdk.SonicSessionConnection
The input stream that reads from this open connection.

S

saveResourceFiles(String, byte[], Map<String, List<String>>) - 类 中的静态方法com.tencent.sonic.sdk.SonicUtils
save resource files, including resource and headers.
saveSonicResourceData(String, String, long) - 类 中的静态方法com.tencent.sonic.sdk.SonicUtils
save resource data to database, such as resource sha1, resource size etc.
separateTemplateAndData() - 类 中的方法com.tencent.sonic.sdk.SonicServer
 
server - 类 中的变量com.tencent.sonic.sdk.SonicSession
Sonic server
serverRsp - 类 中的变量com.tencent.sonic.sdk.SonicServer
 
session - 类 中的变量com.tencent.sonic.sdk.SonicServer
 
session - 类 中的变量com.tencent.sonic.sdk.SonicSessionConnection
SonicSession Object used by SonicSessionConnection.
SESSION_MODE_DEFAULT - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
SonicSession mode : StandardSonicSession
SESSION_MODE_QUICK - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
SonicSession mode : QuickSonicSession
SESSION_MSG_FORCE_DESTROY - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
The message of forced to destroy the session.
sessionCallbackList - 类 中的变量com.tencent.sonic.sdk.SonicSession
 
sessionClient - 类 中的变量com.tencent.sonic.sdk.SonicSession
 
SessionConnectionDefaultImpl(SonicSession, Intent) - 类 的构造器com.tencent.sonic.sdk.SonicSessionConnection.SessionConnectionDefaultImpl
 
sessionState - 类 中的变量com.tencent.sonic.sdk.SonicSession
Session state, include STATE_NONE, STATE_RUNNING, STATE_READY and STATE_DESTROY.
setAcceptDiff(boolean) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setAutoInitDBWhenCreate(boolean) - 类 中的方法com.tencent.sonic.sdk.SonicConfig.Builder
 
setAutoStartWhenCreate(boolean) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setCacheCheckTimeInterval(long) - 类 中的方法com.tencent.sonic.sdk.SonicConfig.Builder
 
setCacheInterceptor(SonicCacheInterceptor) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setCacheMaxSize(long) - 类 中的方法com.tencent.sonic.sdk.SonicConfig.Builder
 
setCacheVerifyWithSha1(boolean) - 类 中的方法com.tencent.sonic.sdk.SonicConfig.Builder
 
setConnectionInterceptor(SonicSessionConnectionInterceptor) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setConnectTimeoutMillis(int) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setCookie(String, List<String>) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Set cookies to webview after session connection response with cookies in it's headers.
setCookiesFromHeaders(Map<String, List<String>>, boolean) - 类 中的方法com.tencent.sonic.sdk.SonicSession
Set cookies to webview from headers
setCustomRequestHeaders(Map<String, String>) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setCustomResponseHeaders(Map<String, String>) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setGetCookieWhenSessionCreate(boolean) - 类 中的方法com.tencent.sonic.sdk.SonicConfig.Builder
 
setIsAccountRelated(boolean) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setMaxNumOfDownloadingTasks(int) - 类 中的方法com.tencent.sonic.sdk.SonicConfig.Builder
 
setMaxPreloadSessionCount(int) - 类 中的方法com.tencent.sonic.sdk.SonicConfig.Builder
 
setPreloadSessionExpiredTimeMillis(long) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setReadBufferSize(int) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setReadTimeoutMillis(int) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setReloadInBadNetwork(boolean) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setResourceCacheMaxSize(long) - 类 中的方法com.tencent.sonic.sdk.SonicConfig.Builder
 
setResult(int, int, boolean) - 类 中的方法com.tencent.sonic.sdk.SonicSession
Record the sonic mode, notify the result to page if necessary.
setSessionMode(int) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setSonicCacheMaxAge(int) - 类 中的方法com.tencent.sonic.sdk.SonicConfig.Builder
 
setSupportCacheControl(boolean) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setSupportLocalServer(boolean) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
setUnavailableTime(long) - 类 中的方法com.tencent.sonic.sdk.SonicConfig.Builder
 
setUseSonicCacheInBadNetworkToastMessage(String) - 类 中的方法com.tencent.sonic.sdk.SonicSessionConfig.Builder
 
shouldLog(int) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Logger function
shouldLog(int) - 类 中的静态方法com.tencent.sonic.sdk.SonicUtils
Logger function
shouldSetCookieAsynchronous() - 类 中的方法com.tencent.sonic.sdk.SonicSession
Whether should set cookie asynchronous or not , if onClientRequestResource is calling in IOThread, it should not call set cookie synchronous which will handle in IOThread as it may cause deadlock More about it see {https://issuetracker.google.com/issues/36989494#c8} Fix VasSonic issue {https://github.com/Tencent/VasSonic/issues/90}
showToast(CharSequence, int) - 类 中的方法com.tencent.sonic.sdk.SonicRuntime
Show toast
sId - 类 中的变量com.tencent.sonic.sdk.SonicSession
The integer id of current session
SimpleDownloadCallback() - 类 的构造器com.tencent.sonic.sdk.download.SonicDownloadCallback.SimpleDownloadCallback
 
sNextSessionLogId - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Log id
SONIC_MAX_NUM_OF_DOWNLOADING_TASK - 类 中的变量com.tencent.sonic.sdk.SonicConfig
The max number of tasks which is downloading in the same time.
SONIC_PARAMETER_NAME_PREFIX - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
Sonic parameter prefix
SONIC_REMAIN_PARAMETER_NAMES - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
This parameter in url will be as part of session id,and it is separated by SONIC_REMAIN_PARAMETER_SPLIT_CHAR.
SONIC_REMAIN_PARAMETER_SPLIT_CHAR - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
 
SONIC_RESULT_CODE_DATA_UPDATE - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Sonic mode : data update.
SONIC_RESULT_CODE_FIRST_LOAD - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Sonic mode : first load.
SONIC_RESULT_CODE_HIT_CACHE - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Sonic mode : 304.
SONIC_RESULT_CODE_TEMPLATE_CHANGE - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Sonic mode : template change.
SONIC_RESULT_CODE_UNKNOWN - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Sonic mode : unknown.
SONIC_SDK_LOG_PREFIX - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
SonicSDK log prefix
SONIC_VERSION_NUM - 类 中的静态变量com.tencent.sonic.sdk.SonicConstants
SonicSDK version
SonicCacheInterceptor - com.tencent.sonic.sdk中的类
SonicCacheInterceptor provide local data.
SonicCacheInterceptor(SonicCacheInterceptor) - 类 的构造器com.tencent.sonic.sdk.SonicCacheInterceptor
 
SonicConfig - com.tencent.sonic.sdk中的类
Sonic global config
SonicConfig.Builder - com.tencent.sonic.sdk中的类
Builder for SonicConfig
SonicConstants - com.tencent.sonic.sdk中的类
Sonic constants
SonicConstants() - 类 的构造器com.tencent.sonic.sdk.SonicConstants
 
SonicDBHelper - com.tencent.sonic.sdk中的类
SonicDBHelper interacts with the database, such as managing database creation and the version management.
SonicDiffDataCallback - com.tencent.sonic.sdk中的接口
This interface is used to call the difference data between local and server data to the client.
SonicDownloadCache - com.tencent.sonic.sdk.download中的类
Sonic download cache manager
SonicDownloadCache() - 类 的构造器com.tencent.sonic.sdk.download.SonicDownloadCache
 
SonicDownloadCache.SonicResourceCache - com.tencent.sonic.sdk.download中的类
An sub resource cache implementation SonicDownloadCache
SonicDownloadCallback - com.tencent.sonic.sdk.download中的接口
download callback.
SonicDownloadCallback.SimpleDownloadCallback - com.tencent.sonic.sdk.download中的类
an empty implementation of SonicDownloadCallback
SonicDownloadClient - com.tencent.sonic.sdk.download中的类
Handles a single HTTP resource download
SonicDownloadClient(SonicDownloadClient.DownloadTask) - 类 的构造器com.tencent.sonic.sdk.download.SonicDownloadClient
 
SonicDownloadClient.DownloadTask - com.tencent.sonic.sdk.download中的类
Task which record the download info
SonicDownloadClient.SonicDownloadConnection - com.tencent.sonic.sdk.download中的类
 
SonicDownloadClient.SubResourceDownloadCallback - com.tencent.sonic.sdk.download中的类
sub resource download callback.
SonicDownloadConnection(String) - 类 的构造器com.tencent.sonic.sdk.download.SonicDownloadClient.SonicDownloadConnection
 
SonicDownloadEngine - com.tencent.sonic.sdk.download中的类
an download initiator
SonicDownloadEngine(SonicDownloadCache) - 类 的构造器com.tencent.sonic.sdk.download.SonicDownloadEngine
 
SonicEngine - com.tencent.sonic.sdk中的类
Interacts with the overall SonicSessions running in the system.
SonicFileUtils - com.tencent.sonic.sdk中的类
Interact with the overall file operations.
SonicFileUtils() - 类 的构造器com.tencent.sonic.sdk.SonicFileUtils
 
sonicFlowStartTime - 类 中的变量com.tencent.sonic.sdk.SonicSessionStatistics
SonicResourceCache() - 类 的构造器com.tencent.sonic.sdk.download.SonicDownloadCache.SonicResourceCache
 
SonicResourceDataHelper - com.tencent.sonic.sdk中的类
SonicResourceDataHelper manages the resource database.
SonicResourceDataHelper() - 类 的构造器com.tencent.sonic.sdk.SonicResourceDataHelper
 
SonicResourceDataHelper.ResourceData - com.tencent.sonic.sdk中的类
resource data structure
SonicRuntime - com.tencent.sonic.sdk中的类
SonicRuntime is a class which interacts with the overall running information in the system, including Context, UA, ID (which is the unique identification for the saved data) and other information.
SonicRuntime(Context) - 类 的构造器com.tencent.sonic.sdk.SonicRuntime
 
SonicServer - com.tencent.sonic.sdk中的类
Instances of this class can be used to read server response from SonicSessionConnection.
SonicServer(SonicSession, Intent) - 类 的构造器com.tencent.sonic.sdk.SonicServer
 
SonicSession - com.tencent.sonic.sdk中的类
In Sonic, SonicSessions are used to manage the entire process,include obtain the latest data from the server, provide local and latest data to kernel, separate html to template and data, build template and data to html and so on.
SonicSession.Callback - com.tencent.sonic.sdk中的接口
The interface is used to inform the listeners that the state of the session has changed.
SonicSessionClient - com.tencent.sonic.sdk中的类
SonicSessionClient is a thin API class that delegates its public API to a backend WebView class instance, such as loadUrl and loadDataWithBaseUrl.
SonicSessionClient() - 类 的构造器com.tencent.sonic.sdk.SonicSessionClient
 
SonicSessionConfig - com.tencent.sonic.sdk中的类
The sonicSession configurations.
SonicSessionConfig.Builder - com.tencent.sonic.sdk中的类
Builder for SonicSessionConfig
SonicSessionConnection - com.tencent.sonic.sdk中的类
The abstract class SonicSessionConnection is the superclass of all classes that represent a communications link between the application and a URL.
SonicSessionConnection(SonicSession, Intent) - 类 的构造器com.tencent.sonic.sdk.SonicSessionConnection
Constructor
SonicSessionConnection.SessionConnectionDefaultImpl - com.tencent.sonic.sdk中的类
 
SonicSessionConnectionInterceptor - com.tencent.sonic.sdk中的类
SonicSessionConnectionInterceptor provide a SonicSessionConnection.
SonicSessionConnectionInterceptor() - 类 的构造器com.tencent.sonic.sdk.SonicSessionConnectionInterceptor
 
SonicSessionStatistics - com.tencent.sonic.sdk中的类
The Statistic model specifies the data models which are required to be used to provide the performance data described by the specific attributes in a SonicSession.
SonicSessionStatistics() - 类 的构造器com.tencent.sonic.sdk.SonicSessionStatistics
 
SonicSessionStream - com.tencent.sonic.sdk中的类
A SonicSessionStream obtains input bytes from a memStream and a netStream.
SonicSessionStream(SonicSessionStream.Callback, ByteArrayOutputStream, BufferedInputStream) - 类 的构造器com.tencent.sonic.sdk.SonicSessionStream
Constructor
SonicSessionStream.Callback - com.tencent.sonic.sdk中的接口
When SonicSessionStream close the stream will invoke the Callback
sonicStartTime - 类 中的变量com.tencent.sonic.sdk.SonicSessionStatistics
Sonic start SonicSession.start() time
SonicUtils - com.tencent.sonic.sdk中的类
Sonic Utils
SonicUtils() - 类 的构造器com.tencent.sonic.sdk.SonicUtils
 
srcResultCode - 类 中的变量com.tencent.sonic.sdk.SonicSession
Sonic original mode.
srcUrl - 类 中的变量com.tencent.sonic.sdk.SonicSession
The original url
srcUrl - 类 中的变量com.tencent.sonic.sdk.SonicSessionStatistics
Original url
StandardSonicSession - com.tencent.sonic.sdk中的类
A subclass of SonicSession.
start() - 类 中的方法com.tencent.sonic.sdk.SonicSession
Start the sonic process
STATE_DESTROY - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Session state : destroyed.
STATE_DOWNLOADED - 类 中的静态变量com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
the task is in download complete state.
STATE_DOWNLOADING - 类 中的静态变量com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
the task is in downloading state.
STATE_INITIATE - 类 中的静态变量com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
download in initiate state.
STATE_LOAD_FROM_CACHE - 类 中的静态变量com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
the task is load from cache, not from network.
STATE_NONE - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Session state : original.
STATE_QUEUEING - 类 中的静态变量com.tencent.sonic.sdk.download.SonicDownloadClient.DownloadTask
download in queueing state.
STATE_READY - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Session state : ready.
STATE_RUNNING - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Session state : running.
stateChangedCallbackList - 类 中的变量com.tencent.sonic.sdk.SonicSession
 
statistics - 类 中的变量com.tencent.sonic.sdk.SonicSession
Session statics var
SubResourceDownloadCallback(String) - 类 的构造器com.tencent.sonic.sdk.download.SonicDownloadClient.SubResourceDownloadCallback
 
switchState(int, int, boolean) - 类 中的方法com.tencent.sonic.sdk.SonicSession
 

T

TAG - 类 中的静态变量com.tencent.sonic.sdk.download.SonicDownloadCache.SonicResourceCache
log filter
TAG - 类 中的静态变量com.tencent.sonic.sdk.download.SonicDownloadClient
log filter
TAG - 类 中的静态变量com.tencent.sonic.sdk.download.SonicDownloadEngine
log filter
TAG - 类 中的静态变量com.tencent.sonic.sdk.SonicCacheInterceptor
 
TAG - 类 中的静态变量com.tencent.sonic.sdk.SonicServer
 
TAG - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
Log filter
templateString - 类 中的变量com.tencent.sonic.sdk.SonicServer
 
trimSonicCache() - 类 中的方法com.tencent.sonic.sdk.SonicEngine
It will Post a task to trim sonic cache if the last time of check sonic cache exceed SonicConfig.SONIC_CACHE_CHECK_TIME_INTERVAL.

V

VERIFY_CACHE_FILE_WITH_SHA1 - 类 中的变量com.tencent.sonic.sdk.SonicConfig
Whether verify file by compare SHA1.
verifyData(byte[], String) - 类 中的静态方法com.tencent.sonic.sdk.SonicFileUtils
This method computes hash value by using specified SHA1 digest algorithm and compares hash value to the specified hash @{code targetSha1}.

W

wasInterceptInvoked - 类 中的变量com.tencent.sonic.sdk.SonicSession
Whether the client initiates a resource interception.
wasOnPageFinishInvoked - 类 中的变量com.tencent.sonic.sdk.SonicSession
Whether the local html is loaded, it is used only the template changes.
WEB_RESPONSE_CODE - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
The result keyword to page : the value is finalResultCode
WEB_RESPONSE_DATA - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
The all data keyword to page
WEB_RESPONSE_EXTRA - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
 
WEB_RESPONSE_LOCAL_REFRESH_TIME - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
 
WEB_RESPONSE_SRC_CODE - 类 中的静态变量com.tencent.sonic.sdk.SonicSession
The result keyword to page : the value is srcResultCode
A B C D E F G H I L M N O P Q R S T V W 
跳过导航链接