MistyHandler class
- Inheritance
-
- Object
- LocalServerManager
- MistyHandler
Constructors
- MistyHandler()
-
factory
Properties
-
basicCache
↔ Map<
String, dynamic> -
getter/setter pairinherited
-
builders
↔ List<
LocalServerCacheBinder> -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadStartTime ↔ int
-
getter/setter pairinherited
- localServerClientConfig ↔ LocalServerClientConfig
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceDegradationMap
↔ Map<
String, bool> -
getter/setter pairinherited
- unSupportLocalServer ↔ bool
-
getter/setter pairinherited
Methods
-
assetsDidFullyDownloaded(
) → dynamic -
所有Asset下载资源完成
inherited
-
basicsDidFullyDownloaded(
bool isSuc, List< DownloadServiceItem> basicsBucket) → dynamic -
所有basic下载资源完成
inherited
-
callJs(
dynamic params) → void -
cancelLocalServer(
) → void -
inherited
-
createServerFailure(
dynamic err) → dynamic -
server创建失败
inherited
-
createServerSuccess(
int port, String localAddress) → dynamic -
server创建成功
inherited
-
fetchRespondsSources(
String path) → dynamic -
server 获取返回资源
inherited
-
init(
) → void -
inherited
-
initSetting(
MistyStartModel params) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepareManager(
LocalServerClientConfig localServerClientConfig) → void -
inherited
-
registerBuilder(
LocalServerCacheBinder builder) → void -
inherited
-
requestServerFailure(
String path, Object error) → dynamic -
server 请求失败
inherited
-
resignBuilder(
LocalServerCacheBinder builder) → void -
inherited
-
serverDidCancel(
) → dynamic -
server关闭
inherited
-
serverWillCancel(
) → dynamic -
server将要关闭
inherited
-
setWebViewController(
WebViewController webViewController) → void -
setWebViewErrorCode(
int errorCode) → void -
inherited
-
simpleAssetDownloadsComplete(
DownloadServiceItem item) → void -
单个asset下载完成
inherited
-
simpleAssetDownloadsFailure(
DownloadServiceItem item, String errMsg) → dynamic -
单个asset下载失败
inherited
-
startLocalServer(
[String? address, int? port]) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited