Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 72 for Uri (0.02 seconds)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/PreparePatchRelease.kt

        }
    
        private
        fun fetchVersionFromGradleServices(major: Int, targetVersion: String): ReleasedVersion {
            val uri = "https://services.gradle.org/versions/$major"
            val request = HttpRequest.newBuilder().uri(URI(uri)).build()
            val response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString())
            if (response.statusCode() > 399) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

          object : CookieHandler() {
            override fun get(
              uri: URI,
              map: Map<String, List<String>>,
            ) = mapOf(
              "Cookie" to
                listOf(
                  "a=\"android \"",
                ),
            )
    
            override fun put(
              uri: URI,
              map: Map<String, List<String>>,
            ) {
            }
          }
        client =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

        }
    
        /**
         * SAX event handler called when an XML start element is encountered.
         * Processes collection definitions and tracks the element hierarchy.
         *
         * @param uri the namespace URI, or empty string if none
         * @param localName the local name without prefix, or empty string if namespace processing is not performed
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt

            val encodedMilestone = milestone.get().replace(" ", "+")
            val uri = "https://api.github.com/search/issues?q=is:issue+is:closed+repo:gradle/gradle+milestone:$encodedMilestone&per_page=$PAGE_SIZE&page=$pageNumber"
            val requestBuilder = HttpRequest.newBuilder().uri(URI(uri))
            if (githubToken.isPresent) {
                requestBuilder.header("Authorization", "token ${githubToken.get()}")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:49:33 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

    import jakarta.validation.ConstraintDefinitionException;
    import jakarta.validation.ConstraintValidator;
    import jakarta.validation.ConstraintValidatorContext;
    
    /**
     * Validator implementation for URI type constraints.
     * This validator checks URI strings against specified protocol types.
     */
    public class UriTypeValidator implements ConstraintValidator<UriType, String> {
    
        /**
         * Default constructor for UriTypeValidator.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt

        val uri = httpUrl.toUri()
        val toAndFromUri = uri.toHttpUrlOrNull()
        val uriStripped = uriStrippedCodePoints.indexOf(codePointString) != -1
        if (uriStripped) {
          if (uri.toString() != component.urlString("")) {
            fail("Encoding $component $codePoint using $encoding")
          }
          return
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

       * These differences may have a significant consequence when the URI is interpreted by a
       * web server. For this reason the [URI class][URI] and this method should be avoided.
       */
      @JvmName("uri")
      fun toUri(): URI {
        val uri = newBuilder().reencodeForUri().toString()
        return try {
          URI(uri)
        } catch (e: URISyntaxException) {
          // Unlikely edge case: the URI has a forbidden character in the fragment. Strip it & retry.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

          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()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 13.4K bytes
    - Click Count (1)
  9. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

          override val nonDefaultValue: ProxySelector =
            object : ProxySelector() {
              override fun select(uri: URI?): MutableList<Proxy> = mutableListOf(java.net.Proxy.NO_PROXY)
    
              override fun connectFailed(
                uri: URI?,
                sa: SocketAddress?,
                ioe: java.io.IOException?,
              ) {
              }
            }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertThat(simplifyPath("./.././../")).isEqualTo("../..");
      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
        assertThat(simplifyPath("/a/b/c/g")).isEqualTo("/a/b/c/g");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
Back to Top