RequestQueueBuilder

public final class RequestQueueBuilder

Helper class for creating com.android.volley.RequestQueue instances.

The default dependencies are taken from the Volley.newRequestQueue() implementation.

If no dependency instances were set the builder simply returns Volley.newRequestQueue()'s result.

Constructors

RequestQueueBuilder
Link copied to clipboard
void RequestQueueBuilder(Context context)

Functions

build
Link copied to clipboard
RequestQueue build()
setCache
Link copied to clipboard
RequestQueueBuilder setCache(Cache cache)
setHostnames
Link copied to clipboard
RequestQueueBuilder setHostnames(List<String> hostnames)
setNetworkSecurityConfigResId
Link copied to clipboard
RequestQueueBuilder setNetworkSecurityConfigResId(int networkSecurityConfigResId)