public class OkHttpStack
extends com.android.volley.toolbox.HurlStack
HttpStack
implementation which uses OkHttp as its transport.Constructor and Description |
---|
OkHttpStack() |
OkHttpStack(com.squareup.okhttp.OkHttpClient client) |
Modifier and Type | Method and Description |
---|---|
protected java.net.HttpURLConnection |
createConnection(java.net.URL url)
Create an
HttpURLConnection for the specified url . |
public OkHttpStack()
public OkHttpStack(com.squareup.okhttp.OkHttpClient client)
protected java.net.HttpURLConnection createConnection(java.net.URL url) throws java.io.IOException
com.android.volley.toolbox.HurlStack
HttpURLConnection
for the specified url
.createConnection
in class com.android.volley.toolbox.HurlStack
java.io.IOException