Home
last modified time | relevance | path

Searched refs:HttpGet (Results 1 – 13 of 13) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DDefaultRequestDirectorTest.java12 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 …]
DAndroidHttpClientTest.java10 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/
DOkApacheClientTest.java17 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/
DCookieIntegrationTest.java6 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()
DGetAndPostIntegrationTest.java8 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/
DFakeHttpLayerTest.java5 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()
DParamsParserTest.java4 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/
DHttpGet.java62 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/
DHttpRedirect.java33 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/
DApacheHttpClient.java28 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/
DHttpClient4.java30 import org.apache.http.client.methods.HttpGet;
83 httpRequest = new HttpGet(url); in execute()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/
DRobolectricTest.java14 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/
DDefaultRequestDirector.java70 import org.apache.http.client.methods.HttpGet;
942 HttpGet redirect = new HttpGet(uri); in handleResponse()