Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 855 for url (0.14 sec)

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

        }
    
        open fun url(url: HttpUrl): Builder =
          apply {
            this.url = url
          }
    
        /**
         * Sets the URL target of this request.
         *
         * @throws IllegalArgumentException if [url] is not a valid HTTP or HTTPS URL. Avoid this
         *     exception by calling [HttpUrl.parse]; it returns null for invalid URLs.
         */
        open fun url(url: String): Builder {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

        server.enqueue(MockResponse(body = "b"))
        val request = Request(server.url("/"))
        assertConnectionReused(request, request)
      }
    
      @Test
      fun connectionsAreReusedForPosts() {
        server.enqueue(MockResponse(body = "a"))
        server.enqueue(MockResponse(body = "b"))
        val request =
          Request(
            url = server.url("/"),
            body = "request body".toRequestBody("text/plain".toMediaType()),
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_duplicateUri_parentWins() throws Exception {
        URL url = new URL("file:/a");
        URLClassLoader parent = new URLClassLoader(new URL[] {url}, null);
        URLClassLoader child = new URLClassLoader(new URL[] {url}, parent) {};
        assertThat(ClassPath.getClassPathEntries(child)).containsExactly(new File("/a"), parent);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

            checkNotNull(url) { "url not set" },
            includeIPv6,
            post,
            resolvePrivateAddresses,
            resolvePublicAddresses,
          )
        }
    
        fun client(client: OkHttpClient) =
          apply {
            this.client = client
          }
    
        fun url(url: HttpUrl) =
          apply {
            this.url = url
          }
    
    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)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

                this.path = path;
                return this;
            }
    
            public XmlReaderRequestBuilder url(URL url) {
                this.url = url;
                return this;
            }
    
            public XmlReaderRequestBuilder inputStream(InputStream inputStream) {
                this.inputStream = inputStream;
                return this;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       */
      @get:JvmName("fragment") val fragment: String?,
      /** Canonical URL. */
      private val url: String,
    ) {
      val isHttps: Boolean
        get() = scheme == "https"
    
      /** Returns this URL as a [java.net.URL][URL]. */
      @JvmName("url")
      fun toUrl(): URL {
        try {
          return URL(url)
        } catch (e: MalformedURLException) {
          throw RuntimeException(e) // Unexpected!
        }
    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)
  7. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

        private final String url;
    
        private final boolean abort;
    
        public DataStoreCrawlingException(final String url, final String message, final Exception e) {
            this(url, message, e, false);
        }
    
        public DataStoreCrawlingException(final String url, final String message, final Exception e, final boolean abort) {
            super(message, e);
            this.url = url;
            this.abort = abort;
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheTest.kt

            .build(),
        )
        val url = server.url("/")
        assertThat(get(url).body.string()).isEqualTo("A")
        val request =
          Request.Builder()
            .url(url)
            .method("POST", requestBodyOrNull("POST"))
            .build()
        val invalidate = client.newCall(request).execute()
        assertThat(invalidate.body.string()).isEqualTo("B")
        assertThat(get(url).body.string()).isEqualTo("C")
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  9. fastapi/openapi/docs.py

        <link rel="shortcut icon" href="{swagger_favicon_url}">
        <title>{title}</title>
        </head>
        <body>
        <div id="swagger-ui">
        </div>
        <script src="{swagger_js_url}"></script>
        <!-- `SwaggerUIBundle` is now available on the page -->
        <script>
        const ui = SwaggerUIBundle({{
            url: '{openapi_url}',
        """
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  10. cmd/admin-handlers-idp-ldap.go

    		return
    	}
    
    	var par madmin.PolicyAssociationReq
    	err = json.Unmarshal(reqBytes, &par)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    
    	if err := par.IsValid(); err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), r.URL)
    		return
    	}
    
    	// Call IAM subsystem
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top