Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 309 for attempted (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

      }
    
      /**
       * Invoked immediately after a TLS connection was attempted.
       *
       * This method is invoked after [secureConnectStart].
       */
      open fun secureConnectEnd(
        call: Call,
        handshake: Handshake?,
      ) {
      }
    
      /**
       * Invoked immediately after a socket connection was attempted.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

    import org.apache.maven.api.services.Request;
    import org.apache.maven.api.services.Result;
    
    /**
     * Exception thrown when a batch request operation fails. This exception contains the results
     * of all requests that were attempted, including both successful and failed operations.
     * <p>
     * The exception provides access to detailed results through {@link #getResults()}, allowing
     * callers to determine which specific requests failed and why.
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbOperationException.java

            return errorCode.isRetryable() && retryPolicy != RetryPolicy.NO_RETRY;
        }
    
        /**
         * Check if retry should be attempted
         *
         * @param attemptNumber the current attempt number
         * @return true if retry should be attempted
         */
        public boolean shouldRetry(int attemptNumber) {
            return retryPolicy.shouldRetry(this, attemptNumber);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

              return null
            }
            val priorResponse = userResponse.priorResponse
            if (priorResponse != null && priorResponse.code == HTTP_CLIENT_TIMEOUT) {
              // We attempted to retry and got another timeout. Give up.
              return null
            }
    
            if (retryAfter(userResponse, 0) > 0) {
              return null
            }
    
            return userResponse.request
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

                route: Route?,
                response: Response,
              ): Request? {
                if (response.request.header("Authorization") != null) {
                  return null // Give up, we've already attempted to authenticate.
                }
    
                println("Authenticating for response: $response")
                println("Challenges: ${response.challenges()}")
                val credential = Credentials.basic("jesse", "password1")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbUnsupportedOperationException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    /**
     * Exception thrown when an unsupported SMB operation is attempted.
     * Indicates that the requested operation is not supported by the SMB server or protocol version.
     *
     * @author mbechler
     *
     */
    public class SmbUnsupportedOperationException extends SmbException {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

    import java.util.concurrent.atomic.AtomicBoolean
    import okio.ByteString
    import okio.Source
    import okio.buffer
    
    internal abstract class BasePublicSuffixList : PublicSuffixList {
      /** True after we've attempted to read the list for the first time. */
      private val listRead = AtomicBoolean(false)
    
      /** Used for concurrent threads reading the list for the first time. */
      private val readCompleteLatch = CountDownLatch(1)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt

     * or to force a specific known IP address.
     *
     * Implementations of this interface must be safe for concurrent use.
     */
    fun interface Dns {
      /**
       * Returns the IP addresses of `hostname`, in the order they will be attempted by OkHttp. If a
       * connection to an address fails, OkHttp will retry the connection with the next address until
       * either a connection is made, the set of IP addresses is exhausted, or a limit is exceeded.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     *
     * Unfortunately, older HTTPS servers refuse to connect when such options are presented. Rather than
     * avoiding these options entirely, this class allows a connection to be attempted with modern
     * options and then retried without them should the attempt fail.
     *
     * ## Connection Reuse
     *
     * Each connection can carry a varying number of streams, depending on the underlying protocol being
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            assertTrue(ex.getMessage().contains("Server does not support kerberos authentication"));
            // No fallback attempted; config should not be queried in this path
            verify(tc, never()).getConfig();
            verifyNoInteractions(config);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top