FileDocCategorySizeDatePackage
HttpStack.javaAPI DocAndroid 5.1 API1511Thu Mar 12 22:22:56 GMT 2015com.android.volley.toolbox

HttpStack

public interface HttpStack
An HTTP stack abstraction.

Fields Summary
Constructors Summary
Methods Summary
public org.apache.http.HttpResponseperformRequest(com.android.volley.Request request, java.util.Map additionalHeaders)
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().

param
request the request to perform
param
additionalHeaders additional headers to be sent together with {@link Request#getHeaders()}
return
the HTTP response