Searched refs:getUrl (Results 1 – 25 of 63) sorted by relevance
123
198 URL url = server.getUrl("/"); in assertCached()239 HttpURLConnection urlConnection = openConnection(server.getUrl("/")); in testResponseCaching()247 urlConnection = openConnection(server.getUrl("/")); // cached! in testResponseCaching()265 HttpsURLConnection c1 = (HttpsURLConnection) openConnection(server.getUrl("/")); in secureResponseCaching()277 HttpsURLConnection c2 = (HttpsURLConnection) openConnection(server.getUrl("/")); // cached! in secureResponseCaching()302 HttpURLConnection connection = openConnection(server.getUrl("/")); in responseCachingAndRedirects()305 connection = openConnection(server.getUrl("/")); // cached! in responseCachingAndRedirects()319 assertEquals("ABC", readAscii(openConnection(server.getUrl("/foo")))); in redirectToCachedResult()324 assertEquals("ABC", readAscii(openConnection(server.getUrl("/bar")))); in redirectToCachedResult()330 assertEquals("DEF", readAscii(openConnection(server.getUrl("/baz")))); in redirectToCachedResult()[all …]
255 return server.getUrl("/"); in configureServer()262 return server.getUrl("/"); in configureHttpsServer()
181 URL url = server.getUrl("/"); in assertCached()223 HttpURLConnection urlConnection = client.open(server.getUrl("/")); in testResponseCaching()233 urlConnection = client.open(server.getUrl("/")); // cached! in testResponseCaching()254 HttpsURLConnection c1 = (HttpsURLConnection) client.open(server.getUrl("/")); in secureResponseCaching()266 HttpsURLConnection c2 = (HttpsURLConnection) client.open(server.getUrl("/")); // cached! in secureResponseCaching()292 HttpURLConnection connection = client.open(server.getUrl("/")); in responseCachingAndRedirects()295 connection = client.open(server.getUrl("/")); // cached! in responseCachingAndRedirects()309 assertEquals("ABC", readAscii(client.open(server.getUrl("/foo")))); in redirectToCachedResult()314 assertEquals("ABC", readAscii(client.open(server.getUrl("/bar")))); in redirectToCachedResult()320 assertEquals("DEF", readAscii(client.open(server.getUrl("/baz")))); in redirectToCachedResult()[all …]
57 HttpURLConnection conn = factory.open(server.getUrl("/")); in originServerSends407()68 HttpURLConnection connection = factory.open(server.getUrl("/")); in networkResponseSourceHeader()76 HttpURLConnection connection = factory.open(server.getUrl("/")); in networkFailureResponseSourceHeader()88 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in conditionalCacheHitResponseSourceHeaders()92 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in conditionalCacheHitResponseSourceHeaders()104 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in conditionalCacheMissResponseSourceHeaders()108 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in conditionalCacheMissResponseSourceHeaders()118 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in cacheResponseSourceHeaders()122 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in cacheResponseSourceHeaders()130 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in noneResponseSourceHeaders()[all …]
135 connection = client.open(server.getUrl("/")); in requestHeaders()194 connection = client.open(server.getUrl("/")); in getRequestPropertyReturnsLastValue()207 connection = client.open(server.getUrl("/")); in responseHeaders()237 connection = client.open(server.getUrl("/")); in serverSendsInvalidResponseHeaders()248 connection = client.open(server.getUrl("/")); in serverSendsInvalidCodeTooLarge()259 connection = client.open(server.getUrl("/")); in serverSendsInvalidCodeNotANumber()270 connection = client.open(server.getUrl("/")); in serverSendsUnnecessaryWhitespace()279 URL url = server.getUrl("/foo"); in connectRetriesUntilConnectedOrFailed()311 connection = client.open(server.getUrl("/def")); in testRequestBodySurvivesRetries()322 connection = client.open(server.getUrl("/")); in getErrorStreamOnSuccessfulRequest()[all …]
100 connection = client.open(server.getUrl("/foo")); in get()114 connection = client.open(server.getUrl("/foo")); in emptyResponse()123 connection = client.open(server.getUrl("/foo")); in noDefaultContentLengthOnStreamingPost()138 connection = client.open(server.getUrl("/foo")); in userSuppliedContentLengthHeader()153 connection = client.open(server.getUrl("/foo")); in closeAfterFlush()170 connection = client.open(server.getUrl("/foo")); in setFixedLengthStreamingModeSetsContentLength()186 HttpURLConnection connection1 = client.open(server.getUrl("/r1")); in spdyConnectionReuse()187 HttpURLConnection connection2 = client.open(server.getUrl("/r2")); in spdyConnectionReuse()212 assertContent("ABCABCABC", client.open(server.getUrl("/r1")), Integer.MAX_VALUE); in gzippedResponseBody()222 connection = client.open(server.getUrl("/")); in authenticate()[all …]
44 connection = client.open(server.getUrl("/foo")); in serverSendsPushPromise_GET()68 connection = client.open(server.getUrl("/foo")); in serverSendsPushPromise_HEAD()93 HttpURLConnection settingsConnection = client.open(server.getUrl("/")); in settingsLimitsMaxConcurrentStreams()100 HttpURLConnection connection1 = client.open(server.getUrl("/")); in settingsLimitsMaxConcurrentStreams()102 HttpURLConnection connection2 = client.open(server.getUrl("/")); in settingsLimitsMaxConcurrentStreams()104 HttpURLConnection connection3 = client.open(server.getUrl("/")); in settingsLimitsMaxConcurrentStreams()
50 HttpGet request = new HttpGet(server.getUrl("/").toURI()); in success()60 HttpGet request = new HttpGet(server.getUrl("/").toURI()); in redirect()69 HttpGet request = new HttpGet(server.getUrl("/").toURI()); in sessionExpired()78 HttpGet request1 = new HttpGet(server.getUrl("/").toURI()); in headers()84 HttpGet request2 = new HttpGet(server.getUrl("/").toURI()); in headers()95 final HttpPost post = new HttpPost(server.getUrl("/").toURI()); in postByteEntity()108 final HttpPost post = new HttpPost(server.getUrl("/").toURI()); in postInputStreamEntity()119 final HttpPost post = new HttpPost(server.getUrl("/").toURI()); in postEmptyEntity()128 final HttpPut put = new HttpPut(server.getUrl("/").toURI()); in putEmptyEntity()140 httpPost.setURI(server.getUrl("/").toURI()); in postOverrideContentType()[all …]
86 URL url = server.getUrl("/"); in regularResponse()102 .addHeader("Location: " + server.getUrl("/new-path")) in redirect()106 URLConnection connection = server.getUrl("/").openConnection(); in redirect()132 URLConnection connection = server.getUrl("/").openConnection(); in dispatchBlocksWaitingForEnqueue()144 URLConnection connection = server.getUrl("/").openConnection(); in nonHexadecimalChunkSize()160 URLConnection urlConnection = server.getUrl("/").openConnection(); in responseTimeout()172 URLConnection urlConnection2 = server.getUrl("/").openConnection(); in responseTimeout()188 server.getUrl("/a").openConnection().getInputStream(); in disconnectAtStart()191 server.getUrl("/b").openConnection().getInputStream(); // Should succeed. in disconnectAtStart()203 URLConnection connection = server.getUrl("/").openConnection(); in throttleRequest()[all …]
49 final URL url = mockWebServer.getUrl("/"); in simpleDispatch()89 final URL url = mockWebServer.getUrl(path); in buildRequestThread()
108 HttpPost postRequest = new HttpPost(request.getUrl()); in createHttpRequest()116 return new HttpGet(request.getUrl()); in createHttpRequest()120 return new HttpGet(request.getUrl()); in createHttpRequest()122 return new HttpDelete(request.getUrl()); in createHttpRequest()125 HttpPost postRequest = new HttpPost(request.getUrl()); in createHttpRequest()132 HttpPut putRequest = new HttpPut(request.getUrl()); in createHttpRequest()138 return new HttpHead(request.getUrl()); in createHttpRequest()140 return new HttpOptions(request.getUrl()); in createHttpRequest()142 return new HttpTrace(request.getUrl()); in createHttpRequest()145 HttpPatch patchRequest = new HttpPatch(request.getUrl()); in createHttpRequest()
175 throw new RuntimeException("Bad URL " + request.getUrl(), e); in performRequest()183 VolleyLog.e("Unexpected response code %d for %s", statusCode, request.getUrl()); in performRequest()
110 URL url = server.getUrl("/"); in testRegularResponse()127 .addHeader("Location: " + server.getUrl("/new-path")) in testRedirect()131 URLConnection connection = server.getUrl("/").openConnection(); in testRedirect()159 URLConnection connection = server.getUrl("/").openConnection(); in testDispatchBlocksWaitingForEnqueue()172 URLConnection connection = server.getUrl("/").openConnection(); in testNonHexadecimalChunkSize()190 URLConnection urlConnection = server.getUrl("/").openConnection(); in testResponseTimeout()202 URLConnection urlConnection2 = server.getUrl("/").openConnection(); in testResponseTimeout()219 server.getUrl("/a").openConnection().getInputStream(); in testDisconnectAtStart()223 server.getUrl("/b").openConnection().getInputStream(); // Should succeed. in testDisconnectAtStart()231 InputStream in = server.getUrl("/").openConnection().getInputStream(); in testStreamingResponseBody()
49 final URL url = mockWebServer.getUrl("/"); in testSimpleDispatch()89 final URL url = mockWebServer.getUrl(path); in buildRequestThread()
204 public void getUrl() throws Exception { in getUrl() method in ShadowWebViewTest206 assertThat(webView.getUrl()).isNull(); in getUrl()208 assertThat(webView.getUrl()).isEqualTo("fake.url"); in getUrl()260 assertThat(newWebView.getUrl()).isEqualTo("foo2.bar"); in shouldSaveAndRestoreHistoryList()263 assertThat(historyList.getCurrentItem().getUrl()).isEqualTo("foo2.bar"); in shouldSaveAndRestoreHistoryList()275 assertThat(historyList.getCurrentItem().getUrl()).isEqualTo("foo2.bar"); in shouldReturnHistoryFromSaveState()303 assertThat(historyList.getCurrentItem().getUrl()).isEqualTo("foo2.bar"); in shouldCopyBackForwardListWhenPopulated()
49 String stringURL = getUrl(model, width, height); in getResourceFetcher()72 protected abstract String getUrl(T model, int width, int height); in getUrl() method in BaseGlideUrlLoader
81 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptWritingRequestBody()108 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptReadingResponseBody()
85 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptWritingRequestBody()112 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptReadingResponseBody()
290 public String getUrl() { in getUrl() method in Request296 String url = getUrl(); in getCacheKey()686 + getUrl() in toString()
19 - (IBAction)getUrl:(id)sender;
49 public String getUrl() { in getUrl() method in JDBCDataSource
65 mLastUrl = request.getUrl(); in executeRequest()
META-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...