Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 429 for Callback (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .build(),
          )
        val completionLatch = CountDownLatch(1)
        val callback: Callback =
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              completionLatch.countDown()
            }
    
            override fun onResponse(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

        /**
         * Validates the password and confirmation fields in the form for user creation and update.
         *
         * @param form the form containing password and confirmation fields
         * @param validationErrorLambda callback to report validation errors
         */
        protected void verifyPassword(final CreateForm form, final VaErrorHook validationErrorLambda) {
            if (form.crudMode == CrudMode.CREATE && StringUtil.isBlank(form.password)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  3. cmd/metacache-stream.go

    		case <-ctx.Done():
    			r.err = ctx.Err()
    			return ctx.Err()
    		case dst <- meta:
    		}
    	}
    }
    
    // readFn will return all remaining objects
    // and provide a callback for each entry read in order
    // as long as true is returned on the callback.
    func (r *metacacheReader) readFn(fn func(entry metaCacheEntry) bool) error {
    	r.checkInit()
    	if r.err != nil {
    		return r.err
    	}
    	if r.current.name != "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

    ## Version 3.7.0
    
    _2017-04-15_
    
     *  **OkHttp no longer recovers from TLS handshake failures by attempting a TLSv1 connection.**
        The fallback was necessary for servers that implemented version negotiation incorrectly. Now
        that 99.99% of servers do it right this fallback is obsolete.
     *  Fix: Do not honor cookies set on a public domain. Previously a malicious site could inject
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. docs/features/calls.md

     * **Synchronous:** your thread blocks until the response is readable.
     * **Asynchronous:** you enqueue the request on any thread, and get [called back](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-callback/) on another thread when the response is readable.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractEntity.java

            public RequestOptionCall<DeleteRequestBuilder> deleteOption() {
                return deleteOption;
            }
        }
    
        @FunctionalInterface
        public interface RequestOptionCall<OP> {
            void callback(OP op);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractEntity.java

            public RequestOptionCall<DeleteRequestBuilder> deleteOption() {
                return deleteOption;
            }
        }
    
        @FunctionalInterface
        public interface RequestOptionCall<OP> {
            void callback(OP op);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractEntity.java

            public RequestOptionCall<DeleteRequestBuilder> deleteOption() {
                return deleteOption;
            }
        }
    
        @FunctionalInterface
        public interface RequestOptionCall<OP> {
            void callback(OP op);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

      /** The timestamp of the last taken event, used to measure elapsed time between events. */
      private var lastTimestampNs: Long? = null
    
      /** Confirm that the thread does not hold a lock on `lock` during the callback. */
      fun forbidLock(lock: Any) {
        forbiddenLocks.add(lock)
      }
    
      /**
       * Removes recorded events up to (and including) an event is found whose class equals [eventClass]
       * and returns it.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/async-tests.md

    s/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MotorClient de MongoDB</a>), recuerda crear instances de objetos que necesiten un loop de eventos solo dentro de funciones async, por ejemplo, en un callback `'@app.on_event("startup")`.
    
    ///...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top