Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for uri (0.11 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

      }
    
      @Test
      fun fromUri() {
        val uri = URI("http://username:password@host/path?query#fragment")
        val httpUrl = uri.toHttpUrlOrNull()
        assertThat(httpUrl.toString())
          .isEqualTo("http://username:password@host/path?query#fragment")
      }
    
      @Test
      fun fromUriUnsupportedScheme() {
        val uri = URI("mailto:******@****.***")
        assertThat(uri.toHttpUrlOrNull()).isNull()
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val level = interceptor.getLevel()
      }
    
      @Test @Disabled
      fun httpUrl() {
        val httpUrl: HttpUrl = HttpUrl.get("")
        val url: URL = httpUrl.url()
        val uri: URI = httpUrl.uri()
        val scheme: String = httpUrl.scheme()
        val encodedUsername: String = httpUrl.encodedUsername()
        val username: String = httpUrl.username()
        val encodedPassword: String = httpUrl.encodedPassword()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  3. docs/sts/web-identity.md

    MINIO_IDENTITY_OPENID_REDIRECT_URI_DYNAMIC  (on|off)    Enable 'Host' header based dynamic redirect URI (default: 'off')
    MINIO_IDENTITY_OPENID_CLAIM_PREFIX          (string)    [DEPRECATED use 'claim_name'] JWT claim namespace prefix e.g. "customer1/"
    MINIO_IDENTITY_OPENID_REDIRECT_URI          (string)    [DEPRECATED use env 'MINIO_BROWSER_REDIRECT_URL'] Configure custom redirect_uri for OpenID login flow callback
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        val client =
          OkHttpClient.Builder()
            .build()
        val proxySelector: ProxySelector =
          object : ProxySelector() {
            override fun select(uri: URI): List<Proxy> = listOf()
    
            override fun connectFailed(
              uri: URI,
              socketAddress: SocketAddress,
              e: IOException,
            ) {}
          }
    
        val trustManager = get().platformTrustManager()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CookiesTest.kt

        server.enqueue(MockResponse())
        val serverUrl = urlWithIpAddress(server, "/")
        val androidCookieHandler: CookieHandler =
          object : CookieHandler() {
            override fun get(
              uri: URI,
              map: Map<String, List<String>>,
            ) = mapOf(
              "Cookie" to
                listOf(
                  "\$Version=\"1\"; " +
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        val nullProxySelector: ProxySelector =
          object : ProxySelector() {
            override fun select(uri: URI): List<Proxy>? {
              assertThat(uri.host).isEqualTo(uriHost)
              return null
            }
    
            override fun connectFailed(
              uri: URI,
              socketAddress: SocketAddress,
              e: IOException,
            ) {
              throw AssertionError()
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  7. maven-core/plugin-manager.txt

    figure out how a dispatching to a particular plugin would occur because everything needs to be mediated through the host application. For a given action that is possible for a user to perform in the UI we need to know the URI that is to be used with its given parameters. That URI in turn must map internally to a method in a given component which belongs to a plugin. This mapping should actually be more generalized and it shouldn’t matter internally whether this maps to the core application or extension...
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jul 18 22:45:13 GMT 2022
    - 12.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      }
    
      private fun newCookieHandler(): CookieHandler {
        return object : CookieHandler() {
          override fun put(
            uri: URI?,
            responseHeaders: MutableMap<String, MutableList<String>>?,
          ) = TODO()
    
          override fun get(
            uri: URI?,
            requestHeaders: MutableMap<String, MutableList<String>>?,
          ): MutableMap<String, MutableList<String>> = TODO()
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  9. docs/changelogs/upgrading_to_okhttp_4.md

    | HttpUrl.get(String)                 | String.toHttpUrl()              |
    | HttpUrl.get(URI)                    | URI.toHttpUrlOrNull()           |
    | HttpUrl.get(URL)                    | URL.toHttpUrlOrNull()           |
    | HttpUrl.parse(String)               | String.toHttpUrlOrNull()        |
    | HttpUrl.uri()                       | HttpUrl.toUri()                 |
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  10. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

     *
     * > A DNS API client encodes a single DNS query into an HTTP request
     * > using either the HTTP GET or POST method and the other requirements
     * > of this section.  The DNS API server defines the URI used by the
     * > request through the use of a URI Template.
     *
     * [doh_spec]: https://tools.ietf.org/html/draft-ietf-doh-dns-over-https-13
     */
    class DnsOverHttps internal constructor(
      @get:JvmName("client") val client: OkHttpClient,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top