- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 38 for getBody (0.13 seconds)
-
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
return new MockResponse() .setResponseCode(404) .setBody("unexpected request"); } try { OAuthSession session = slackApi.exchangeCode(code, redirectUrl()); listener.sessionGranted(session); } catch (IOException e) { return new MockResponse() .setResponseCode(400) .setBody("code exchange failed: " + e.getMessage()); } synchronized (this) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 3.8K bytes - Click Count (1) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
} Artifact resolvedArtifact = event.getArtifact(); Artifact nodeArtifact = collectStepTrace.getNode().getArtifact(); if (isInScope(resolvedArtifact, nodeArtifact) || "pom".equals(resolvedArtifact.getExtension())) { Dependency node = collectStepTrace.getNode(); trackingData.add(resolvedArtifact.toString()); indent.append(" ");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 10.1K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionArchiveSetupPluginFuncTest.groovy
while (currentEntry != null) { if (currentEntry.isDirectory()) { assertDefaultDirPermissions(currentEntry.getMode()) } else { assertDefaultFilePermissions(currentEntry.getMode()) } currentEntry = tarInput.getNextTarEntry() } return true } finally {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 8.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
* to call getCopy and removeAllNodes only with a true K, then we could check containsKey first. * But that check wouldn't eliminate the warnings.) */ @SuppressWarnings({"unchecked", "nullness"}) K castKey = (K) key; List<V> oldValues = getCopy(castKey); removeAllNodes(castKey); return oldValues; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
* to call getCopy and removeAllNodes only with a true K, then we could check containsKey first. * But that check wouldn't eliminate the warnings.) */ @SuppressWarnings({"unchecked", "nullness"}) K castKey = (K) key; List<V> oldValues = getCopy(castKey); removeAllNodes(castKey); return oldValues; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 26.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
call.execute() } } @Test fun interruptReadingResponseBody() { val responseBodySize = 8 * 1024 * 1024 // 8 MiB. server.enqueue( MockResponse() .setBody(Buffer().write(ByteArray(responseBodySize))) .throttleBody((64 * 1024).toLong(), 125, TimeUnit.MILLISECONDS), ) // 500 Kbps server.start() val call = client.newCall( Request
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 6.4K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java
} httpRequest = new HttpGet(buf.toString()); } executor.accept(httpRequest, (response, entity) -> { final int httpStatusCode = response.getCode(); if (httpStatusCode < 400 || httpStatusCode == 401) { parseTokenPage(tokenPattern, responseParams, entity); } else { String content;Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 13:09:59 GMT 2026 - 15.1K bytes - Click Count (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java
server.setServerSocketFactory(new UnixDomainServerSocketFactory(socketFile)); server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE)); server.enqueue(new MockResponse().setBody("hello")); server.start(); OkHttpClient client = new OkHttpClient.Builder() .socketFactory(new UnixDomainSocketFactory(socketFile)) .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Dec 24 03:46:30 GMT 2018 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/dfs/Referral.java
*/ public final String getRpath() { return this.rpath; } /** * Gets the node name for this referral. * * @return the node */ public final String getNode() { return this.node; } /** * Gets the special name for this referral. * * @return the specialName */ public final String getSpecialName() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0)