Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for from (0.12 sec)

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

      // sufficient to connect to most HTTPS sites including https://godaddy.com and https://visa.com.
      // Typically developers will need to get a PEM file from their organization's TLS administrator.
      final X509Certificate comodoRsaCertificationAuthority = Certificates.decodeCertificatePem(""
          + "-----BEGIN CERTIFICATE-----\n"
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 9.3K bytes
    - Viewed (2)
  2. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    import org.jsoup.Jsoup;
    import org.jsoup.nodes.Document;
    import org.jsoup.nodes.Element;
    
    /**
     * Fetches HTML from a requested URL, follows the links, and repeats.
     */
    public final class Crawler {
      private final OkHttpClient client;
      private final Set<HttpUrl> fetchedUrls = Collections.synchronizedSet(new LinkedHashSet<>());
    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)
Back to top