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
.
メソッドの概要 |
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 performadditionalHeaders
- additional headers to be sent together with
Request.getHeaders()
- 戻り値:
- the HTTP response
- 例外:
java.io.IOException
AuthFailureError