/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
D | FakeHttpLayer.java | 25 HttpResponse defaultHttpResponse; 26 private HttpResponse defaultResponse; 41 public void addPendingHttpResponse(final HttpResponse httpResponse) { in addPendingHttpResponse() 44 public HttpResponse getResponse(HttpRequest request) { in addPendingHttpResponse() 54 public void addHttpResponseRule(String method, String uri, HttpResponse response) { in addHttpResponseRule() 58 public void addHttpResponseRule(String uri, HttpResponse response) { in addHttpResponseRule() 66 public void addHttpResponseRule(RequestMatcher requestMatcher, HttpResponse response) { in addHttpResponseRule() 76 …public void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> respon… in addHttpResponseRule() 84 public void setDefaultHttpResponse(HttpResponse defaultHttpResponse) { in setDefaultHttpResponse() 92 private HttpResponse findResponse(HttpRequest httpRequest) throws HttpException, IOException { in findResponse() [all …]
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | DefaultRequestDirectorTest.java | 11 import org.apache.http.HttpResponse; 51 … @Override public long getKeepAliveDuration(HttpResponse httpResponse, HttpContext httpContext) { in setUp_EnsureStaticStateIsReset() 66 … HttpResponse response = requestDirector.execute(null, new HttpGet("http://example.com"), null); in shouldGetHttpResponseFromExecute() 80 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldPreferPendingResponses() 92 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule() 105 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_MatchingMethod() 115 … HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod() 120 … HttpResponse postResponse = requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod() 133 … HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams() 138 … HttpResponse postResponse = requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams() [all …]
|
/external/apache-http/src/org/apache/http/protocol/ |
D | HttpRequestExecutor.java | 41 import org.apache.http.HttpResponse; 85 final HttpResponse response) { in canResponseHaveBody() 108 public HttpResponse execute( in execute() 124 HttpResponse response = doSendRequest(request, conn, context); in execute() 188 protected HttpResponse doSendRequest( in doSendRequest() 203 HttpResponse response = null; in doSendRequest() 264 protected HttpResponse doReceiveResponse( in doReceiveResponse() 279 HttpResponse response = null; in doReceiveResponse() 311 final HttpResponse response, in postProcess()
|
D | HttpExpectationVerifier.java | 36 import org.apache.http.HttpResponse; 75 void verify(HttpRequest request, HttpResponse response, HttpContext context) in verify()
|
D | HttpRequestHandler.java | 38 import org.apache.http.HttpResponse; 55 void handle(HttpRequest request, HttpResponse response, HttpContext context) in handle()
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
D | GZipIntegrationTest.java | 48 import org.apache.http.HttpResponse; 87 HttpResponse response = httpclient.execute(request); in contentEncodingShouldBeAddedToFixedLengthResponses() 99 HttpResponse response = httpclient.execute(request); in contentEncodingShouldBeAddedToChunkedResponses() 110 HttpResponse response = httpclient.execute(request); in shouldFindCorrectAcceptEncodingAmongMany() 121 HttpResponse response = httpclient.execute(request); in contentLengthShouldBeRemovedFromZippedResponses() 131 HttpResponse response = new DecompressingHttpClient(httpclient).execute(request); in fixedLengthContentIsEncodedProperly() 141 HttpResponse response = new DecompressingHttpClient(httpclient).execute(request); in chunkedContentIsEncodedProperly() 149 HttpResponse response = httpclient.execute(request); in noGzipWithoutAcceptEncoding() 161 HttpResponse response = httpclient.execute(request); in contentShouldNotBeGzippedIfContentLengthIsAddedManually()
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | TunnelRefusedException.java | 35 import org.apache.http.HttpResponse; 47 private final HttpResponse response; 49 public TunnelRefusedException(final String message, final HttpResponse response) { in TunnelRefusedException() 54 public HttpResponse getResponse() { in getResponse()
|
D | DefaultTargetAuthenticationHandler.java | 37 import org.apache.http.HttpResponse; 58 final HttpResponse response, in isAuthenticationRequested() 68 final HttpResponse response, in getChallenges()
|
D | DefaultProxyAuthenticationHandler.java | 37 import org.apache.http.HttpResponse; 58 final HttpResponse response, in isAuthenticationRequested() 68 final HttpResponse response, in getChallenges()
|
/external/apache-http/src/org/apache/http/client/ |
D | HttpClient.java | 38 import org.apache.http.HttpResponse; 101 HttpResponse execute(HttpUriRequest request) in execute() 122 HttpResponse execute(HttpUriRequest request, HttpContext context) in execute() 144 HttpResponse execute(HttpHost target, HttpRequest request) in execute() 167 HttpResponse execute(HttpHost target, HttpRequest request, in execute()
|
D | AuthenticationHandler.java | 37 import org.apache.http.HttpResponse; 54 HttpResponse response, in isAuthenticationRequested() 58 HttpResponse response, in getChallenges() 63 HttpResponse response, in selectScheme()
|
D | RedirectHandler.java | 36 import org.apache.http.HttpResponse; 69 boolean isRedirectRequested(HttpResponse response, HttpContext context); in isRedirectRequested() 81 URI getLocationURI(HttpResponse response, HttpContext context) in getLocationURI()
|
D | ResponseHandler.java | 35 import org.apache.http.HttpResponse; 62 T handleResponse(HttpResponse response) throws ClientProtocolException, IOException; in handleResponse()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
D | TestHttpResponseTest.java | 5 import org.apache.http.HttpResponse; 19 HttpResponse resp = in shouldSupportGetFirstHeader() 33 HttpResponse resp = in shouldSupportGetLastHeader() 47 HttpResponse resp = in shouldSupportContainsHeader() 57 HttpResponse resp = in shouldSupportHeaderIterator() 72 HttpResponse resp = in shouldSupportHeaderIteratorWithArg() 90 HttpResponse resp = in shouldSupportGetHeadersWithArg()
|
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/ |
D | OkApacheClientTest.java | 16 import org.apache.http.HttpResponse; 51 HttpResponse response = client.execute(request); in success() 61 HttpResponse response = client.execute(request); in redirect() 70 HttpResponse response = client.execute(request); in sessionExpired() 79 HttpResponse response1 = client.execute(request1); in headers() 85 HttpResponse response2 = client.execute(request2); in headers() 157 HttpResponse response1 = client.execute(request1); in contentType() 165 HttpResponse response2 = client.execute(request2); in contentType() 173 HttpResponse response3 = client.execute(request3); in contentType() 184 HttpResponse response = client.execute(request); in contentTypeIsCaseInsensitive() [all …]
|
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/ |
D | OkApacheClient.java | 18 import org.apache.http.HttpResponse; 79 private static HttpResponse transformResponse(Response response) throws IOException { in transformResponse() 156 @Override public HttpResponse execute(HttpUriRequest request) throws IOException { in execute() 160 @Override public HttpResponse execute(HttpUriRequest request, HttpContext context) in execute() 165 @Override public HttpResponse execute(HttpHost host, HttpRequest request) throws IOException { in execute() 169 @Override public HttpResponse execute(HttpHost host, HttpRequest request, HttpContext context) in execute() 193 HttpResponse response = execute(host, request, context); in execute() 201 private static void consumeContentQuietly(HttpResponse response) { in consumeContentQuietly()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAndroidHttpClient.java | 9 import org.apache.http.HttpResponse; 51 …public HttpResponse execute(HttpUriRequest httpUriRequest) throws IOException, ClientProtocolExcep… in execute() 56 …public HttpResponse execute(HttpUriRequest httpUriRequest, HttpContext httpContext) throws IOExcep… in execute() 61 …public HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest) throws IOException, Client… in execute() 66 …public HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext) t… in execute()
|
D | HttpResponseGenerator.java | 4 import org.apache.http.HttpResponse; 7 public HttpResponse getResponse(HttpRequest request); in getResponse()
|
/external/apache-http/src/org/apache/http/impl/ |
D | AbstractHttpClientConnection.java | 42 import org.apache.http.HttpResponse; 182 public HttpResponse receiveResponseHeader() in receiveResponseHeader() 185 HttpResponse response = (HttpResponse) this.responseParser.parse(); in receiveResponseHeader() 192 public void receiveResponseEntity(final HttpResponse response) in receiveResponseEntity()
|
D | DefaultHttpResponseFactory.java | 36 import org.apache.http.HttpResponse; 90 public HttpResponse newHttpResponse(final ProtocolVersion ver, in newHttpResponse() 104 public HttpResponse newHttpResponse(final StatusLine statusline, in newHttpResponse()
|
D | NoConnectionReuseStrategy.java | 35 import org.apache.http.HttpResponse; 59 public boolean keepAlive(final HttpResponse response, final HttpContext context) { in keepAlive()
|
/external/autotest/frontend/ |
D | views_common.py | 1 from django.http import HttpResponse 9 return HttpResponse(doc)
|
/external/apache-http/src/org/apache/http/ |
D | HttpResponseFactory.java | 64 HttpResponse newHttpResponse(ProtocolVersion ver, int status, in newHttpResponse() 78 HttpResponse newHttpResponse(StatusLine statusline, in newHttpResponse()
|
D | HttpServerConnection.java | 82 void sendResponseHeader(HttpResponse response) in sendResponseHeader() 91 void sendResponseEntity(HttpResponse response) in sendResponseEntity()
|
/external/apache-http/src/org/apache/http/conn/ |
D | ConnectionKeepAliveStrategy.java | 34 import org.apache.http.HttpResponse; 74 long getKeepAliveDuration(HttpResponse response, HttpContext context); in getKeepAliveDuration()
|