com.android.volley.toolbox
クラス BasicNetwork

java.lang.Object
  上位を拡張 com.android.volley.toolbox.BasicNetwork
すべての実装されたインタフェース:
Network

public class BasicNetwork
extends java.lang.Object
implements Network

A network performing Volley requests over an HttpStack.


コンストラクタの概要
BasicNetwork(HttpStack httpStack)
           
BasicNetwork(HttpStack httpStack, ByteArrayPool pool)
           
 
メソッドの概要
 NetworkResponse performRequest(Request<?> request)
          Performs the specified request.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BasicNetwork

public BasicNetwork(HttpStack httpStack)
パラメータ:
httpStack - HTTP stack to be used

BasicNetwork

public BasicNetwork(HttpStack httpStack,
                    ByteArrayPool pool)
パラメータ:
httpStack - HTTP stack to be used
pool - a buffer pool that improves GC performance in copy operations
メソッドの詳細

performRequest

public NetworkResponse performRequest(Request<?> request)
                               throws VolleyError
インタフェース Network の記述:
Performs the specified request.

定義:
インタフェース Network 内の performRequest
パラメータ:
request - Request to process
戻り値:
A NetworkResponse with data and caching metadata; will never be null
例外:
VolleyError - on errors