HttpEngine.Builder
public
static
class
HttpEngine.Builder
extends Object
| java.lang.Object | |
| ↳ | android.net.http.HttpEngine.Builder |
A builder for HttpEngines, which allows runtime configuration of
HttpEngine. Configuration options are set on the builder and
then build() is called to create the HttpEngine.
Summary
Constants | |
|---|---|
int |
HTTP_CACHE_DISABLED
Setting to disable HTTP cache. |
int |
HTTP_CACHE_DISK
Setting to enable on-disk cache, including HTTP data. |
int |
HTTP_CACHE_DISK_NO_HTTP
Setting to enable on-disk cache, excluding HTTP data. |
int |
HTTP_CACHE_IN_MEMORY
Setting to enable in-memory HTTP cache, including HTTP data. |
Public constructors | |
|---|---|
Builder(Context context)
Constructs a | |