Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,518 for REQUEST (0.09 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

    import kotlin.test.assertFailsWith
    import okhttp3.DelegatingServerSocketFactory
    import okhttp3.DelegatingSocketFactory
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.mockwebserver.MockResponse
    import okhttp3.mockwebserver.MockWebServer
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.BufferedSink
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

                throws RepositoryMetadataResolutionException {
            RepositoryRequest request = new DefaultRepositoryRequest();
            request.setLocalRepository(localRepository);
            request.setRemoteRepositories(remoteRepositories);
            return resolveVersion(artifact, request);
        }
    
        protected String resolveVersion(Artifact artifact, RepositoryRequest request)
                throws RepositoryMetadataResolutionException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/middleware.md

    A "middleware" is a function that works with every **request** before it is processed by any specific *path operation*. And also with every **response** before returning it.
    
    * It takes each **request** that comes to your application.
    * It can then do something to that **request** or run any needed code.
    * Then it passes the **request** to be processed by the rest of the application (by some *path operation*).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

            ModelBuildingRequest request =
                    new DefaultModelBuildingRequest().setValidationLevel(ModelBuildingRequest.VALIDATION_LEVEL_MAVEN_2_0);
    
            SimpleModelProblemCollector problems = new SimpleModelProblemCollector(result);
    
            modelValidator.validateEffectiveModel(model, request, problems);
    
            return result;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployer.java

     */
    @Experimental
    public interface ArtifactDeployer extends Service {
    
        /**
         * @param request {@link ArtifactDeployerRequest}
         * @throws ArtifactDeployerException if the deployment failed
         */
        void deploy(@Nonnull ArtifactDeployerRequest request);
    
        /**
         * @param session the repository session
         * @param repository the repository to deploy to
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            request.setUserProperties(cliRequest.userProperties);
            request.setMultiModuleProjectDirectory(cliRequest.multiModuleProjectDirectory);
            request.setRootDirectory(cliRequest.rootDirectory);
            request.setTopDirectory(cliRequest.topDirectory);
            request.setPom(determinePom(commandLine, workingDirectory, baseDirectory));
            request.setTransferListener(determineTransferListener(quiet, verbose, commandLine, request));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  7. docs/features/events.md

    ```
    
    We make a couple calls:
    
    ```java
    Request request = new Request.Builder()
        .url("https://publicobject.com/helloworld.txt")
        .build();
    
    System.out.println("REQUEST 1 (new connection)");
    try (Response response = client.newCall(request).execute()) {
      // Consume and discard the response body.
      response.body().source().readByteString();
    }
    
    System.out.println("REQUEST 2 (pooled connection)");
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  8. cmd/generic-handlers.go

    				if r.TLS != nil {
    					scheme = "https"
    				}
    				return scheme
    			}(),
    		}
    	}
    	return nil
    }
    
    // guessIsHealthCheckReq - returns true if incoming request looks
    // like healthCheck request
    func guessIsHealthCheckReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	aType := getRequestAuthType(req)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

            if ( this.smb2 && ! ( request instanceof ServerMessageBlock2 ) ) {
                throw new SmbException("Not an SMB2 request " + request.getClass().getName());
            }
            else if ( !this.smb2 && ! ( request instanceof ServerMessageBlock ) ) {
                throw new SmbException("Not an SMB1 request");
            }
    
            this.negotiated.setupRequest(request);
    
            if ( response != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  10. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

            .addQueryParameter("code", code)
            .addQueryParameter("redirect_uri", redirectUrl.toString())
            .build();
        Request request = new Request.Builder()
            .url(url)
            .build();
        Call call = httpClient.newCall(request);
        try (Response response = call.execute()) {
          JsonAdapter<OAuthSession> jsonAdapter = moshi.adapter(OAuthSession.class);
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
Back to top