diff options
Diffstat (limited to 'src/main/java/com/android/volley/toolbox/HttpStack.java')
-rw-r--r-- | src/main/java/com/android/volley/toolbox/HttpStack.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/main/java/com/android/volley/toolbox/HttpStack.java b/src/main/java/com/android/volley/toolbox/HttpStack.java index 5d34b44..85179a7 100644 --- a/src/main/java/com/android/volley/toolbox/HttpStack.java +++ b/src/main/java/com/android/volley/toolbox/HttpStack.java @@ -18,11 +18,9 @@ package com.android.volley.toolbox; import com.android.volley.AuthFailureError; import com.android.volley.Request; - -import org.apache.http.HttpResponse; - import java.io.IOException; import java.util.Map; +import org.apache.http.HttpResponse; /** * An HTTP stack abstraction. @@ -37,14 +35,13 @@ public interface HttpStack { * Performs an HTTP request with the given parameters. * * <p>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().</p> + * 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()} + * @param additionalHeaders additional headers to be sent together with {@link + * Request#getHeaders()} * @return the HTTP response */ HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) - throws IOException, AuthFailureError; - + throws IOException, AuthFailureError; } |