Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Prefixes (0.18 sec)

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

     *
     *  * **Full domain name**: you may pin an exact domain name like `www.publicobject.com`. It won't
     *    match additional prefixes (`us-west.www.publicobject.com`) or suffixes (`publicobject.com`).
     *
     *  * **Any number of subdomains**: Use two asterisks to like `**.publicobject.com` to match any
     *    number of prefixes (`us-west.www.publicobject.com`, `www.publicobject.com`) including no
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  2. docs/changelogs/changelog_3x.md

        that this class is not strictly immutable as it has stateful members like
        the connection pool and cache.
    
     *  **Get and Set prefixes are now avoided.** With ubiquitous builders
        throughout OkHttp these accessor prefixes aren't necessary. Previously
        OkHttp used _get_ and _set_ prefixes sporadically which make the API
        inconsistent and awkward to explore.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          derWriter.writeOctetString("Jones".encodeUtf8())
        }
    
        assertThat(buffer.readByteString()).isEqualTo("1A054A6F6E6573".decodeHex())
      }
    
      @Test fun `decode implicit prefixed type`() {
        // Type1 ::= VisibleString
        // Type2 ::= [APPLICATION 3] IMPLICIT Type1
        val buffer =
          Buffer()
            .write("43054A6F6E6573".decodeHex())
    
        val derReader = DerReader(buffer)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

          if (jdkWithJettyBoot != null) {
            return jdkWithJettyBoot
          }
    
          return Platform()
        }
    
        /**
         * Returns the concatenation of 8-bit, length prefixed protocol names.
         * http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04#page-4
         */
        fun concatLengthPrefixed(protocols: List<Protocol>): ByteArray {
          val result = Buffer()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

    /**
     * Reads a double-quoted string, unescaping quoted pairs like `\"` to the 2nd character in each
     * sequence. Returns the unescaped string, or null if the buffer isn't prefixed with a
     * double-quoted string.
     */
    @Throws(EOFException::class)
    private fun Buffer.readQuotedString(): String? {
      require(readByte() == '\"'.code.toByte())
      val result = Buffer()
      while (true) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * redundancy for such URLs.
     *
     * Because they don't attempt canonical form, these classes are surprisingly difficult to use
     * securely. Suppose you're building a webservice that checks that incoming paths are prefixed
     * "/static/images/" before serving the corresponding assets from the filesystem.
     *
     * ```java
     * String attack = "http://example.com/static/images/../../../../../etc/passwd";
    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. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

      /**
       * Returns the Java name of this cipher suite. For some older cipher suites the Java name has the
       * prefix `SSL_`, causing the Java name to be different from the instance name which is always
       * prefixed `TLS_`. For example, `TLS_RSA_EXPORT_WITH_RC4_40_MD5.javaName()` is
       * `"SSL_RSA_EXPORT_WITH_RC4_40_MD5"`.
       */
      @get:JvmName("javaName") val javaName: String,
    ) {
      @JvmName("-deprecated_javaName")
      @Deprecated(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/Cookie.kt

       * this cookie; otherwise it matches this domain and all subdomains.
       */
      @get:JvmName("domain") val domain: String,
      /**
       * Returns this cookie's path. This cookie matches URLs prefixed with path segments that match
       * this path's segments. For example, if this path is `/foo` this cookie matches requests to
       * `/foo` and `/foo/bar`, but not `/` or `/football`.
       */
      @get:JvmName("path") val path: String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

              lengths[i] = strings[i].toLong()
            }
          } catch (_: NumberFormatException) {
            invalidLengths(strings)
          }
        }
    
        /** Append space-prefixed lengths to [writer]. */
        @Throws(IOException::class)
        internal fun writeLengths(writer: BufferedSink) {
          for (length in lengths) {
            writer.writeByte(' '.code).writeDecimalLong(length)
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
Back to top