Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for Uri (0.04 sec)

  1. 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.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

        }
    
        /**
         * Preprocesses the URI before processing the request.
         *
         * @param uri the URI to preprocess
         * @return the preprocessed URI
         * @throws CrawlerSystemException if the URI is empty
         */
        protected String preprocessUri(final String uri) {
            if (StringUtil.isEmpty(uri)) {
                throw new CrawlerSystemException("SMB1 URI is empty. Please provide a valid SMB1 URI (smb1://...).");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. 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()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/net/HostSpecifier.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A syntactically valid host specifier, suitable for use in a URI. This may be either a numeric IP
     * address in IPv4 or IPv6 notation, or a domain name.
     *
     * <p>Because this class is intended to represent host specifiers which can reasonably be used in a
     * URI, the domain name case is further restricted to include only those domain names which end in a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java

            // Test that accessTimeoutTask null check prevents NPE
            S3Client client = new S3Client() {
                @Override
                protected ResponseData processRequest(final String uri, final boolean includeContent) {
                    // Skip init() and directly test timeout handling
                    org.codelibs.fess.crawler.client.AccessTimeoutTarget accessTimeoutTarget = null;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. 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
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/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()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/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\"; " +
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. 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.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

          if (proxy != null) return listOf(proxy)
    
          // If the URI lacks a host (as in "http://</"), don't call the ProxySelector.
          val uri = url.toUri()
          if (uri.host == null) return immutableListOf(Proxy.NO_PROXY)
    
          // Try each of the ProxySelector choices until one connection succeeds.
          val proxiesOrNull = address.proxySelector.select(uri)
          if (proxiesOrNull.isNullOrEmpty()) return immutableListOf(Proxy.NO_PROXY)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 7.3K bytes
    - Viewed (2)
Back to top