Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,518 for REQUEST (0.06 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

    @ExperimentalOkHttpApi
    abstract class Dispatcher {
      /**
       * Returns a response to satisfy `request`. This method may block (for instance, to wait on
       * a CountdownLatch).
       */
      @Throws(InterruptedException::class)
      abstract fun dispatch(request: RecordedRequest): MockResponse
    
      /**
       * Returns an early guess of the next response, used for policy on how an incoming request should
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        closeWebSockets(webSocket, server)
      }
    
      private fun newWebSocket(
        request: Request =
          Request.Builder().get().url(
            webServer.url("/"),
          ).build(),
      ): RealWebSocket {
        val webSocket =
          RealWebSocket(
            TaskRunner.INSTANCE,
            request,
            clientListener,
            random,
            client.pingIntervalMillis.toLong(),
            null,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

      fun testRequest() {
        serverRule.server.enqueue(MockResponse())
    
        val call = client.newCall(Request(serverRule.server.url("/")))
    
        call.execute().use { response ->
          assertThat(response.code).isEqualTo(200)
        }
      }
    
      @Test
      fun testRequestExternal() {
        assumeNetwork()
    
        val call = client.newCall(Request("https://google.com/robots.txt".toHttpUrl()))
    
        call.execute().use { response ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                            return processCallback(request, code);
                        }
                    }
                }
    
                return new ActionResponseCredential(() -> HtmlResponse.fromRedirectPathAsIs(getAuthUrl(request)));
            }).orElse(null);
        }
    
        protected String getAuthUrl(final HttpServletRequest request) {
            final String state = UuidUtil.create();
            request.getSession().setAttribute(OIC_STATE, state);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

        if (previous != null) hostnameCount = previous;
        if (hostnameCount.incrementAndGet() > 100) return;
    
        Request request = new Request.Builder()
            .url(url)
            .build();
        try (Response response = client.newCall(request).execute()) {
          String responseSource = response.networkResponse() != null ? ("(network: "
              + response.networkResponse().code()
              + " over "
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

                    return retrieve(request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
                }
    
                @Override
                public List<ArtifactVersion> retrieveAvailableVersions(MetadataResolutionRequest request) {
                    return retrieveAvailableVersions(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. .github/stale.yml

    # Configuration for probot-stale - https://github.com/probot/stale
    
    # Number of days of inactivity before an Issue or Pull Request becomes stale
    daysUntilStale: 30
    
    # Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
    # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
    daysUntilClose: 15
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 24 04:36:59 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGeneratorFactory.java

        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, InstallRequest request) {
            return new PluginsMetadataGenerator(session, request);
        }
    
        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) {
            return new PluginsMetadataGenerator(session, request);
        }
    
        @Override
        public float getPriority() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/SnapshotMetadataGeneratorFactory.java

        public MetadataGenerator newInstance(RepositorySystemSession session, InstallRequest request) {
            return new LocalSnapshotMetadataGenerator(session, request);
        }
    
        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) {
            return new RemoteSnapshotMetadataGenerator(session, request);
        }
    
        @Override
        public float getPriority() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGeneratorFactory.java

        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, InstallRequest request) {
            return new VersionsMetadataGenerator(session, request);
        }
    
        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) {
            return new VersionsMetadataGenerator(session, request);
        }
    
        @Override
        public float getPriority() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top