public class WLanDiskPreloader extends Object
Requires Permission: android.permission.ACCESS_NETWORK_STATE
| Constructor and Description |
|---|
WLanDiskPreloader() |
| Modifier and Type | Method and Description |
|---|---|
static void |
preloadGet(android.content.Context c,
HttpKit httpKit,
Collection<String> urls)
Executes for each url in urls a new Http GET Request
|
static void |
preloadGet(android.content.Context c,
HttpKit httpKit,
HttpRequest r) |
static void |
preloadGet(android.content.Context c,
HttpKit httpKit,
String url)
Executes an Http GET Request and stores the value to the disk cache, but only if WLAN is connected
|
public static void preloadGet(android.content.Context c,
HttpKit httpKit,
String url)
c - httpKit - url - public static void preloadGet(android.content.Context c,
HttpKit httpKit,
HttpRequest r)
public static void preloadGet(android.content.Context c,
HttpKit httpKit,
Collection<String> urls)
httpKit - urls - Copyright © 2015 Hannes Dorfmann. All rights reserved.