Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for encodedNames (0.1 sec)

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

    class FormBody internal constructor(
      encodedNames: List<String>,
      encodedValues: List<String>,
    ) : RequestBody() {
      private val encodedNames: List<String> = encodedNames.toImmutableList()
      private val encodedValues: List<String> = encodedValues.toImmutableList()
    
      /** The number of key-value pairs in this form-encoded body. */
      @get:JvmName("size")
      val size: Int
        get() = encodedNames.size
    
      @JvmName("-deprecated_size")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/FormBodyTest.kt

            .add("space, the", "final frontier")
            .add("%25", "%25")
            .build()
        assertThat(body.size).isEqualTo(3)
        assertThat(body.encodedName(0)).isEqualTo("a%2B%3D%26+b")
        assertThat(body.encodedName(1)).isEqualTo("space%2C+the")
        assertThat(body.encodedName(2)).isEqualTo("%2525")
        assertThat(body.name(0)).isEqualTo("a+=& b")
        assertThat(body.name(1)).isEqualTo("space, the")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          removeAllQueryParameters(name)
          addQueryParameter(name, value)
        }
    
        fun setEncodedQueryParameter(
          encodedName: String,
          encodedValue: String?,
        ) = apply {
          removeAllEncodedQueryParameters(encodedName)
          addEncodedQueryParameter(encodedName, encodedValue)
        }
    
        fun removeAllQueryParameters(name: String) =
          apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            final String name = pi.getName();
            final String encodedName = URLEncoder.encode(name, Constants.UTF_8_CHARSET).replace("+", "%20");
            response.header("Content-Disposition", "attachment; filename=\"" + name + "\"; filename*=utf-8''" + encodedName);
            response.header("Pragma", "no-cache");
            response.header("Cache-Control", "no-cache");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                } else {
                    contentDispositionType = "attachment";
                }
    
                final String encodedName = URLEncoder.encode(name, Constants.UTF_8).replace("+", "%20");
                final String contentDispositionValue;
                if (name.equals(encodedName)) {
                    contentDispositionValue = contentDispositionType + "; filename=\"" + name + "\"";
                } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun formBody() {
        val formBody: FormBody = FormBody.Builder().build()
        val size: Int = formBody.size
        val encodedName: String = formBody.encodedName(0)
        val name: String = formBody.name(0)
        val encodedValue: String = formBody.encodedValue(0)
        val value: String = formBody.value(0)
        val contentType: MediaType = formBody.contentType()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  7. okhttp/api/okhttp.api

    	public static final field Companion Lokhttp3/FormBody$Companion;
    	public final fun -deprecated_size ()I
    	public fun contentLength ()J
    	public fun contentType ()Lokhttp3/MediaType;
    	public final fun encodedName (I)Ljava/lang/String;
    	public final fun encodedValue (I)Ljava/lang/String;
    	public final fun name (I)Ljava/lang/String;
    	public final fun size ()I
    	public final fun value (I)Ljava/lang/String;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top