/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | DefaultRequestDirectorTest.java | 12 import org.apache.http.client.methods.HttpGet; 66 … HttpResponse response = requestDirector.execute(null, new HttpGet("http://example.com"), null); in shouldGetHttpResponseFromExecute() 77 Robolectric.addHttpResponseRule(HttpGet.METHOD_NAME, "http://some.uri", in shouldPreferPendingResponses() 80 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldPreferPendingResponses() 89 Robolectric.addHttpResponseRule(HttpGet.METHOD_NAME, "http://some.uri", in shouldReturnRequestsByRule() 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() 133 … HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams() 154 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_WithTextResponse() [all …]
|
D | AndroidHttpClientTest.java | 10 import org.apache.http.client.methods.HttpGet; 38 HttpResponse resp = client.execute(new HttpGet("/foo")); in testExecute()
|
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/ |
D | OkApacheClientTest.java | 17 import org.apache.http.client.methods.HttpGet; 49 HttpGet request = new HttpGet(server.getUrl("/").toURI()); in success() 59 HttpGet request = new HttpGet(server.getUrl("/").toURI()); in redirect() 68 HttpGet request = new HttpGet(server.getUrl("/").toURI()); in sessionExpired() 77 HttpGet request1 = new HttpGet(server.getUrl("/").toURI()); in headers() 83 HttpGet request2 = new HttpGet(server.getUrl("/").toURI()); in headers() 137 HttpGet request1 = new HttpGet(server.getUrl("/").toURI()); in contentType() 145 HttpGet request2 = new HttpGet(server.getUrl("/").toURI()); in contentType() 153 HttpGet request3 = new HttpGet(server.getUrl("/").toURI()); in contentType() 164 HttpGet request = new HttpGet(server.getUrl("/").toURI()); in contentTypeIsCaseInsensitive() [all …]
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
D | CookieIntegrationTest.java | 6 import org.apache.http.client.methods.HttpGet; 25 HttpGet httpget = new HttpGet("http://localhost:8192/"); in testNoCookies() 36 HttpGet httpget = new HttpGet("http://localhost:8192/"); in testCookieSentBackToClient() 54 HttpGet httpget = new HttpGet("http://localhost:8192/"); in testServerReceivesCookiesSentFromClient()
|
D | GetAndPostIntegrationTest.java | 8 import org.apache.http.client.methods.HttpGet; 38 HttpGet httpget = new HttpGet("http://localhost:8192/"); in testSimpleGetRequest() 49 HttpGet httpget = new HttpGet("http://localhost:8192/?age=120&gender=Male"); in testGetRequestWithParameters()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
D | FakeHttpLayerTest.java | 5 import org.apache.http.client.methods.HttpGet; 65 HttpGet match = new HttpGet("example.com"); in matches__shouldMatchHeaders() 66 HttpGet noMatch = new HttpGet("example.com"); in matches__shouldMatchHeaders() 70 assertFalse(requestMatcherBuilder.matches(new HttpGet("example.com"))); in matches__shouldMatchHeaders() 92 assertFalse(requestMatcherBuilder.matches(new HttpGet("example.com"))); in matches__shouldMatchPostBody()
|
D | ParamsParserTest.java | 4 import org.apache.http.client.methods.HttpGet; 30 HttpGet httpGet = new HttpGet("example.com"); in parseParams_shouldNotParseNonPostEntitiesIntoParams()
|
/external/apache-http/src/org/apache/http/client/methods/ |
D | HttpGet.java | 62 public class HttpGet extends HttpRequestBase { class 66 public HttpGet() { in HttpGet() method in HttpGet 70 public HttpGet(final URI uri) { in HttpGet() method in HttpGet 78 public HttpGet(final String uri) { in HttpGet() method in HttpGet
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/ |
D | HttpRedirect.java | 33 import org.apache.http.client.methods.HttpGet; 54 this.method = HttpGet.METHOD_NAME; in HttpRedirect()
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | ApacheHttpClient.java | 28 import org.apache.http.client.methods.HttpGet; 66 HttpResponse response = client.execute(new HttpGet(url.toString())); in run()
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
D | HttpClient4.java | 30 import org.apache.http.client.methods.HttpGet; 83 httpRequest = new HttpGet(url); in execute()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
D | RobolectricTest.java | 14 import org.apache.http.client.methods.HttpGet; 194 requestDirector.execute(null, new HttpGet(uri), null); in makeRequest()
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | DefaultRequestDirector.java | 70 import org.apache.http.client.methods.HttpGet; 942 HttpGet redirect = new HttpGet(uri); in handleResponse()
|