Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,772 for request (0.1 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

            process?.destroyForcibly()
          }
        }
      }
    
      private fun sendTestRequest(request: Request) {
        try {
          if (this.launch != CommandLine) {
            println(request.url)
          }
    
          client.newCall(request)
            .execute()
            .use {
              val firstLine =
                it.body.string()
                  .lines()
                  .first()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            Set<Artifact> artifacts = request.getArtifactDependencies();
            Map<String, Artifact> managedVersions = request.getManagedVersionMap();
            List<ResolutionListener> listeners = request.getListeners();
            ArtifactFilter collectionFilter = request.getCollectionFilter();
            ArtifactFilter resolutionFilter = request.getResolutionFilter();
            RepositorySystemSession session = getSession(request.getLocalRepository());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

            ),
          )
          .assertNoMoreLogs()
      }
    
      @Test
      fun testCacheEvents() {
        val request = Request.Builder().url(url).build()
        val call = client.newCall(request)
        val response =
          Response.Builder().request(request).code(200).message("").protocol(Protocol.HTTP_2)
            .build()
        val listener = loggingEventListenerFactory.create(call)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/EventListenerTest.kt

          MockResponse.Builder()
            .socketPolicy(DisconnectDuringRequestBody)
            .build(),
        )
        val request = NonCompletingRequestBody()
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .post(request)
              .build(),
          )
        assertFailsWith<IOException> {
          call.execute()
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            MetadataResolutionRequest request = new DefaultMetadataResolutionRequest();
            injectSession(request);
            request.setArtifact(artifact);
            request.setLocalRepository(localRepository);
            request.setRemoteRepositories(remoteRepositories);
            request.setResolveManagedVersions(resolveManagedVersions);
            return retrieve(request);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            request.setNoSnapshotUpdates(options.suppressSnapshotUpdates().orElse(false));
            request.setGoals(options.goals().orElse(List.of()));
            request.setReactorFailureBehavior(determineReactorFailureBehaviour(context));
            request.setRecursive(!options.nonRecursive().orElse(!request.isRecursive()));
            request.setOffline(options.offline().orElse(request.isOffline()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeConnection.java

                }
    
                if ( request != null ) {
                    log.debug("Restting request");
                    request.reset();
                }
                if ( rpath != null ) {
                    // resolveDfs() and tree.send() modify the request packet.
                    // I want to restore it before retrying. request.reset()
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbSession.java

                }
            }
    
            request.uid = uid;
            request.auth = auth;
            try {
                transport.send( request, response );
            } catch (SmbException se) {
                if (request instanceof SmbComTreeConnectAndX) {
                    logoff(true);
                }
                request.digest = null;
                throw se;
            }
    }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  9. cmd/auth-handler_test.go

    	}
    
    	globalActiveCred = creds
    	testCases := []struct {
    		Request *http.Request
    		ErrCode APIErrorCode
    	}{
    		{Request: mustNewRequest(http.MethodGet, "http://127.0.0.1:9000", 0, nil, t), ErrCode: ErrAccessDenied},
    		{Request: mustNewSignedRequest(http.MethodGet, "http://127.0.0.1:9000", 0, nil, t), ErrCode: ErrNone},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            SettingsBuildingRequest request = new DefaultSettingsBuildingRequest();
            request.setUserSettingsFile(userSettingsFile);
            request.setGlobalSettingsFile(globalSettingsFile);
            request.setSystemProperties(SystemProperties.getSystemProperties());
            return build(request);
        }
    
        public Settings buildSettings(File userSettingsFile, boolean useCachedSettings)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top