Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 1,772 for request (0.08 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java

                  .build())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/robots.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 08 21:30:01 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java

         *
         * @param request {@link ProjectBuilderRequest}
         * @return the {@link ProjectBuilderResult} containing the built project and possible errors
         * @throws ProjectBuilderException if the project cannot be created
         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         */
        @Nonnull
        ProjectBuilderResult build(ProjectBuilderRequest request);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jan 30 23:39:19 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. cmd/object-api-options.go

    func copyDstOpts(ctx context.Context, r *http.Request, bucket, object string, metadata map[string]string) (opts ObjectOptions, err error) {
    	return putOptsFromReq(ctx, r, bucket, object, metadata)
    }
    
    // get ObjectOptions for Copy calls with encryption headers provided on the source side
    func copySrcOpts(ctx context.Context, r *http.Request, bucket, object string) (ObjectOptions, error) {
    	var opts ObjectOptions
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. docs/vi/docs/index.md

    * Kiểm tra xem có một `item_id` trong đường dẫn với các request `GET` và `PUT` không?
    * Kiểm tra xem `item_id` có phải là kiểu `int` trong các request `GET` và `PUT` không?
        * Nếu không, client sẽ thấy một lỗi rõ ràng và hữu ích.
    * Kiểm tra xem nếu có một tham số `q` trong query string (ví dụ như `http://127.0.0.1:8000/items/foo?q=somequery`) cho request `GET`.
        * Tham số `q` được định nghĩa `= None`, nó là tùy chọn.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

      }
    
      private fun newChain(call: RealCall): RealInterceptorChain {
        return RealInterceptorChain(
          call = call,
          interceptors = listOf(),
          index = 0,
          exchange = null,
          request = call.request(),
          connectTimeoutMillis = 10_000,
          readTimeoutMillis = 10_000,
          writeTimeoutMillis = 10_000,
        )
      }
    
      companion object {
        private const val PROXY_A_PORT = 1001
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java

     */
    package okhttp3.recipes;
    
    import java.io.IOException;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class AccessHeaders {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  7. cmd/utils.go

    	var lastReq *http.Request
    	checkRedirect := func(req *http.Request, via []*http.Request) error {
    		// fmt.Printf("CheckRedirect:\n")
    		// fmt.Printf("Upcoming: %s %s\n", req.Method, req.URL.String())
    		// for i, c := range via {
    		// 	fmt.Printf("Sofar %d: %s %s\n", i, c.Method, c.URL.String())
    		// }
    		// Save the last request in a redirect chain.
    		lastReq = req
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

                try {
                    boostDocumentRuleService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
                }
                return entity;
            }).orElseGet(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

      }
    
      fun run() {
        showUrl("https://squareup.com/robots.txt")
        showUrl("https://publicobject.com/helloworld.txt")
      }
    
      private fun showUrl(url: String) {
        val request = Builder().url(url).build()
        client.newCall(request)
          .execute()
          .use { response ->
            if (!response.isSuccessful) {
              val responseHeaders = response.headers
              for (i in 0 until responseHeaders.size) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. cmd/sftp-server-driver.go

    type sftpDriver struct {
    	permissions *ssh.Permissions
    	endpoint    string
    }
    
    //msgp:ignore sftpMetrics
    type sftpMetrics struct{}
    
    var globalSftpMetrics sftpMetrics
    
    func sftpTrace(s *sftp.Request, startTime time.Time, source string, user string, err error, sz int64) madmin.TraceInfo {
    	var errStr string
    	if err != nil {
    		errStr = err.Error()
    	}
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceFTP,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top