| Modifier and Type | Field and Description |
|---|---|
protected HttpStack |
mHttpStack
Deprecated.
Should never have been exposed in the API. This field may be removed in a future
release of Volley.
|
protected ByteArrayPool |
mPool |
| Constructor and Description |
|---|
BasicNetwork(BaseHttpStack httpStack) |
BasicNetwork(BaseHttpStack httpStack,
ByteArrayPool pool) |
BasicNetwork(HttpStack httpStack)
Deprecated.
use
BasicNetwork(BaseHttpStack) instead to avoid depending on Apache
HTTP. This method may be removed in a future release of Volley. |
BasicNetwork(HttpStack httpStack,
ByteArrayPool pool)
Deprecated.
use
BasicNetwork(BaseHttpStack, ByteArrayPool) instead to avoid
depending on Apache HTTP. This method may be removed in a future release of Volley. |
| Modifier and Type | Method and Description |
|---|---|
protected static java.util.Map<java.lang.String,java.lang.String> |
convertHeaders(Header[] headers)
Deprecated.
Should never have been exposed in the API. This method may be removed in a future
release of Volley.
|
NetworkResponse |
performRequest(Request<?> request)
Performs the specified request.
|
@Deprecated protected final HttpStack mHttpStack
protected final ByteArrayPool mPool
@Deprecated public BasicNetwork(HttpStack httpStack)
BasicNetwork(BaseHttpStack) instead to avoid depending on Apache
HTTP. This method may be removed in a future release of Volley.httpStack - HTTP stack to be used@Deprecated public BasicNetwork(HttpStack httpStack, ByteArrayPool pool)
BasicNetwork(BaseHttpStack, ByteArrayPool) instead to avoid
depending on Apache HTTP. This method may be removed in a future release of Volley.httpStack - HTTP stack to be usedpool - a buffer pool that improves GC performance in copy operationspublic BasicNetwork(BaseHttpStack httpStack)
httpStack - HTTP stack to be usedpublic BasicNetwork(BaseHttpStack httpStack, ByteArrayPool pool)
httpStack - HTTP stack to be usedpool - a buffer pool that improves GC performance in copy operationspublic NetworkResponse performRequest(Request<?> request) throws VolleyError
NetworkperformRequest in interface Networkrequest - Request to processNetworkResponse with data and caching metadata; will never be nullVolleyError - on errors@Deprecated protected static java.util.Map<java.lang.String,java.lang.String> convertHeaders(Header[] headers)