public class

Volley

extends Object
java.lang.Object
   ↳ com.android.volley.toolbox.Volley

Summary

Public Constructors
Volley()
Public Methods
static RequestQueue newRequestQueue(Context context)
Creates a default instance of the worker pool and calls start() on it.
static RequestQueue newRequestQueue(Context context, HttpStack stack)
Creates a default instance of the worker pool and calls start() on it.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Volley ()

Public Methods

public static RequestQueue newRequestQueue (Context context)

Creates a default instance of the worker pool and calls start() on it.

Parameters
context A Context to use for creating the cache dir.
Returns

public static RequestQueue newRequestQueue (Context context, HttpStack stack)

Creates a default instance of the worker pool and calls start() on it.

Parameters
context A Context to use for creating the cache dir.
stack An HttpStack to use for the network, or null for default.
Returns