Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 104 for Link (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * component parts, this class implements relative URL resolution: what address you'd reach by
     * clicking a relative link on a specified page. For example:
     *
     * ```java
     * HttpUrl base = HttpUrl.parse("https://www.youtube.com/user/WatchTheDaily/videos");
     * HttpUrl link = base.resolve("../../watch?v=cbP2N1BQdYc");
     * System.out.println(link);
     * ```
     *
     * which prints:
     *
     * ```
     * https://www.youtube.com/watch?v=cbP2N1BQdYc
     * ```
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

            for (pin in pins) {
              append("\n    ")
              append(pin)
            }
          }
        throw SSLPeerUnverifiedException(message)
      }
    
      @Deprecated(
        "replaced with {@link #check(String, List)}.",
        ReplaceWith("check(hostname, peerCertificates.toList())"),
      )
      @Throws(SSLPeerUnverifiedException::class)
      fun check(
        hostname: String,
        vararg peerCertificates: Certificate,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  3. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

    import okhttp3.mockwebserver.RecordedRequest;
    import okio.ByteString;
    
    /**
     * Runs a MockWebServer on localhost and uses it as the backend to receive an OAuth session.
     *
     * <p>Clients should call {@link #start}, {@link #newAuthorizeUrl} and {@link #close} in that order.
     * Clients may request multiple sessions.
     */
    public final class OAuthSessionFactory extends Dispatcher implements Closeable {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 3.8K bytes
    - Viewed (0)
  4. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

          for (Element element : document.select("a[href]")) {
            String href = element.attr("href");
            HttpUrl link = response.request().url().resolve(href);
            if (link == null) continue; // URL is either invalid or its scheme isn't http/https.
            queue.add(link.newBuilder().fragment(null).build());
          }
        }
      }
    
      public static void main(String[] args) throws IOException {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  5. docs/contribute/code_of_conduct.md

       witnesses, please include them as well.
     * Your account of what occurred, and if you believe the incident is ongoing. If there is a publicly
       available record (e.g. a mailing list archive or a public IRC logger), please include a link.
     * Any additional information that may be helpful.
    
    After filing a report, a representative from the Square Code of Conduct committee will contact you
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

        for (int i = 0; i < result.length; i++) {
          result[i] = cipherSuites.get(i).javaName();
        }
        return result;
      }
    
      /**
       * An SSL socket factory that forwards all calls to a delegate. Override {@link #configureSocket}
       * to customize a created socket before it is returned.
       */
      static class DelegatingSSLSocketFactory extends SSLSocketFactory {
        protected final SSLSocketFactory delegate;
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Mar 14 21:57:42 GMT 2019
    - 6.5K bytes
    - Viewed (0)
  7. gradlew

    # Resolve links: $0 may be a link
    app_path=$0
    
    # Need this for daisy-chained symlinks.
    while
        APP_HOME=${app_path%"${app_path##*/}"}  # leaves a trailing /; empty if no leading path
        [ -h "$app_path" ]
    do
        ls=$( ls -ld "$app_path" )
        link=${ls#*' -> '}
        case $link in             #(
          /*)   app_path=$link ;; #(
          *)    app_path=$APP_HOME$link ;;
        esac
    done
    
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CallTest.kt

            override fun contentType(): MediaType? {
              return null
            }
    
            override fun writeTo(sink: BufferedSink) {
              sink.writeUtf8("abc")
              sink.flush()
              makeFailingCall()
              sink.writeUtf8("def")
              sink.flush()
            }
          }
        val call =
          client.newCall(
            Request(
              url = server.url("/"),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

            }
          }
    
          // We've reached the end of the chain. If any cert in the chain is trusted, we're done.
          if (foundTrustedCertificate) {
            return result
          }
    
          // The last link isn't trusted. Fail.
          throw SSLPeerUnverifiedException(
            "Failed to find a trusted cert that signed $toVerify",
          )
        }
    
        throw SSLPeerUnverifiedException("Certificate chain too long: $result")
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  10. gradle/wrapper/gradle-wrapper.jar

    which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof,...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
Back to top