Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for withParameter (0.12 seconds)

  1. guava-tests/test/com/google/common/net/MediaTypeTest.java

            .addEqualityGroup(
                MediaType.create("text", "plain").withParameter("a", "value"),
                MediaType.create("text", "plain").withParameter("A", "value"))
            .addEqualityGroup(
                MediaType.create("text", "plain").withParameter("a", "VALUE"),
                MediaType.create("text", "plain").withParameter("A", "VALUE"))
            .addEqualityGroup(
                MediaType.create("text", "plain")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/MediaType.java

       * #withParameters(String, Iterable)}. Prefer {@link #withCharset} for setting the {@code charset}
       * parameter when using a {@link Charset} object.
       *
       * @throws IllegalArgumentException if either {@code attribute} or {@code value} is invalid
       */
      public MediaType withParameter(String attribute, String value) {
        return withParameters(attribute, ImmutableSet.of(value));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
Back to Top