Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 1,426 for Curl (0.41 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class PerCallSettings {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
            .build()
    
        // Copy to customize OkHttp for this request.
        val client1 =
          client
            .newBuilder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/site/apt/index.apt

      <<<false>>> for each url:
      <<<project/@child.project.url.inherit.append.path>>>,
      <<<project/distributionManagement/site/@child.site.url.inherit.append.path>>>,
      <<<project/scm/@child.scm.connection.inherit.append.path>>>,
      <<<project/scm/@child.scm.developerConnection.inherit.append.path>>> and
      <<<project/scm/@child.scm.url.inherit.append.path>>>.
    
      []
    
    * Model Interpolation
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 03 08:42:52 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            return getHelpUrl(url);
        }
    
        /**
         * Gets the help URL for a given base URL.
         *
         * @param url The base URL.
         * @return The localized help URL.
         */
        protected String getHelpUrl(final String url) {
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale != null) {
                final String lang = locale.getLanguage();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  4. docs/features/connections.md

    Connections
    ===========
    
    Although you provide only the URL, OkHttp plans its connection to your webserver using three types: URL, Address, and Route.
    
    ### [URLs](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-http-url/)
    
    URLs (like `https://github.com/square/okhttp`) are fundamental to HTTP and the Internet. In addition to being a universal, decentralized naming scheme for everything on the web, they also specify how to access web resources.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  5. native-image-tests/src/test/kotlin/okhttp3/nativeimage/PublicSuffixDatabaseTest.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import org.junit.jupiter.api.Test
    
    class PublicSuffixDatabaseTest {
      @Test
      fun testResourcesLoaded() {
        val url = "https://api.twitter.com".toHttpUrl()
    
        assertThat(url.topPrivateDomain()).isEqualTo("twitter.com")
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 04 08:15:11 GMT 2025
    - 964 bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

            .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager())
            .build();
    
        Call call = client.newCall(new Request.Builder()
            .url(server.url("/"))
            .build());
        Response response = call.execute();
        System.out.println(response.handshake().tlsVersion());
      }
    
      public static void main(String... args) throws Exception {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 02 14:04:37 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  7. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

        logWithTime("dispatcherQueueEnd: $call queuedCallsCount=${dispatcher.queuedCallsCount()}")
      }
    
      override fun proxySelectStart(
        call: Call,
        url: HttpUrl,
      ) {
        logWithTime("proxySelectStart: $url")
      }
    
      override fun proxySelectEnd(
        call: Call,
        url: HttpUrl,
        proxies: List<Proxy>,
      ) {
        logWithTime("proxySelectEnd: $proxies")
      }
    
      override fun dnsStart(
        call: Call,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 13:40:20 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/ITBase.java

        }
    
        public static String getFessUrl() {
            return System.getProperty("test.fess.url", DEFAULT_FESS_URL);
        }
    
        public static String getEsUrl() {
            return System.getProperty("test.search_engine.url", DEFAULT_SEARCH_ENGINE_URL);
        }
    
        protected static RequestSpecification checkMethodBase(final Map<String, Object> body) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

          }
          throw failures.first()
        }
      }
    
      private fun testToAscii(
        input: String,
        output: String?,
        comment: String?,
      ) {
        val url = "https://$input/".toHttpUrlOrNull()
        assertThat(url?.host, name = comment ?: input).isEqualTo(output)
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/chat/ChatClient.java

                final String url = s.getUrl();
                if (title != null && !title.isEmpty() && url != null && !url.isEmpty()) {
                    return title + " (" + url + ")";
                } else if (title != null && !title.isEmpty()) {
                    return title;
                } else if (url != null && !url.isEmpty()) {
                    return url;
                }
                return null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
Back to Top