类 BasicNetwork
java.lang.Object
com.android.volley.toolbox.BasicNetwork
- 所有已实现的接口:
Network
A network performing Volley requests over an
HttpStack.-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明convertHeaders(org.apache.http.Header[] headers) Converts Headers[] to Map<String, String>.protected voidperformRequest(Request<?> request) Performs the specified request.
-
字段详细资料
-
DEBUG
protected static final boolean DEBUG -
mHttpStack
-
mPool
-
-
构造器详细资料
-
BasicNetwork
- 参数:
httpStack- HTTP stack to be used
-
BasicNetwork
- 参数:
httpStack- HTTP stack to be usedpool- a buffer pool that improves GC performance in copy operations
-
-
方法详细资料
-
performRequest
从接口复制的说明:NetworkPerforms the specified request.- 指定者:
performRequest在接口中Network- 参数:
request- Request to process- 返回:
- A
NetworkResponsewith data and caching metadata; will never be null - 抛出:
VolleyError- on errors
-
logError
-
convertHeaders
Converts Headers[] to Map<String, String>.
-