Package | Description |
---|---|
com.dtflys.forest.backend | |
com.dtflys.forest.backend.httpclient | |
com.dtflys.forest.backend.okhttp3 | |
com.dtflys.forest.config | |
com.dtflys.forest.http |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHttpBackend |
Modifier and Type | Method and Description |
---|---|
HttpBackend |
HttpBackendSelector.findHttpclientBackendInstance() |
HttpBackend |
HttpBackendSelector.findOkHttp3BackendInstance() |
HttpBackend |
HttpBackendSelector.select(ForestConfiguration configuration) |
Modifier and Type | Class and Description |
---|---|
class |
HttpclientBackend |
Modifier and Type | Class and Description |
---|---|
class |
OkHttp3Backend |
Modifier and Type | Method and Description |
---|---|
HttpBackend |
ForestConfiguration.getBackend()
获取当前HTTP后端
|
Modifier and Type | Method and Description |
---|---|
ForestConfiguration |
ForestConfiguration.setBackend(HttpBackend backend)
设置HTTP后端
|
Modifier and Type | Method and Description |
---|---|
HttpBackend |
ForestRequest.getBackend()
获取HTTP后端对象
|
Modifier and Type | Method and Description |
---|---|
Object |
ForestRequest.execute(HttpBackend backend,
LifeCycleHandler lifeCycleHandler)
执行请求发送过程
|
ForestRequest |
ForestRequest.setBackend(HttpBackend backend)
设置HTTP后端对象
|
Copyright © 2020. All rights reserved.