com.android.volley.toolbox
クラス HttpClientStack

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

public class HttpClientStack
extends java.lang.Object
implements HttpStack

An HttpStack that performs request over an HttpClient.


コンストラクタの概要
HttpClientStack(HttpClient client)
           
 
メソッドの概要
 HttpResponse performRequest(Request<?> request, java.util.Map<java.lang.String,java.lang.String> additionalHeaders)
          Performs an HTTP request with the given parameters.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

HttpClientStack

public HttpClientStack(HttpClient client)
メソッドの詳細

performRequest

public HttpResponse performRequest(Request<?> request,
                                   java.util.Map<java.lang.String,java.lang.String> additionalHeaders)
                            throws java.io.IOException,
                                   AuthFailureError
インタフェース HttpStack の記述:
Performs an HTTP request with the given parameters.

A GET request is sent if request.getPostBody() == null. A POST request is sent otherwise, and the Content-Type header is set to request.getPostBodyContentType().

定義:
インタフェース HttpStack 内の performRequest
パラメータ:
request - the request to perform
additionalHeaders - additional headers to be sent together with Request.getHeaders()
戻り値:
the HTTP response
例外:
java.io.IOException
AuthFailureError