Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 101 for PLAIN (0.13 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

          Response
            .Builder()
            .request(request)
            .protocol(Protocol.HTTP_1_1)
            .code(200)
            .message("Intercepted!")
            .body("abc".toResponseBody("text/plain; charset=utf-8".toMediaType()))
            .build()
        client =
          client
            .newBuilder()
            .addInterceptor(Interceptor { chain: Interceptor.Chain? -> interceptorResponse })
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/MediaType.java

        this.parameters = parameters;
      }
    
      /** Returns the top-level media type. For example, {@code "text"} in {@code "text/plain"}. */
      public String type() {
        return type;
      }
    
      /** Returns the media subtype. For example, {@code "plain"} in {@code "text/plain"}. */
      public String subtype() {
        return subtype;
      }
    
      /** Returns a multimap containing the parameters of this media type. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProviderTest.java

            FessActionAdjustmentProvider provider = new FessActionAdjustmentProvider(fessConfig);
            final Map<String, String> headerMap = new HashMap<>();
            provider.adjustActionResponseHeaders("text/plain", (k, v) -> headerMap.put(k, v));
    
            assertEquals(0, headerMap.size());
        }
    
        public void test_write_defaultHeadersOnly() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue May 06 09:19:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

      /**
       * Returns the high-level media type, such as "text", "image", "audio", "video", or "application".
       */
      @get:JvmName("type") val type: String,
      /**
       * Returns a specific media subtype, such as "plain" or "png", "mpeg", "mp4" or "xml".
       */
      @get:JvmName("subtype") val subtype: String,
      /** Alternating parameter names with their values, like `["charset", "utf-8"]`. */
      private val parameterNamesAndValues: Array<String>,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       *
       * (PatternFilenameFilter is of course one of those classes that shouldn't be a publicly visible
       * class to begin with but rather something returned from a static factory method whose declared
       * return type is plain FilenameFilter. If we made such a change, then the annotation we choose
       * here would have no significance to end users, who would be forced to conform to the signature
       * used in FilenameFilter.)
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/BaseApiManager.java

         */
        protected void write(final String text, final String contentType, final String encoding) {
            final StringBuilder buf = new StringBuilder(50);
            if (contentType == null) {
                buf.append("text/plain");
            } else {
                buf.append(contentType);
            }
            buf.append("; charset=");
            final String enc;
            if (encoding == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

               * non-null Entry objects (Entry objects that might contain null values but are not
               * themselves null), so we can treat it as a plain `Object[]`.
               */
              @SuppressWarnings("nullness")
              Object[] result = standardToArray();
              return result;
            }
    
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Partially.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Outer class that exists solely to let us write {@code Partially.GwtIncompatible} instead of plain
     * {@code GwtIncompatible}. This is more accurate for {@link Futures#catching}, which is available
     * under GWT but with a slightly different signature.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

            } catch (final IllegalArgumentException ex) {
                return null;
            }
        }
    
        /**
         * Converts a pattern string to a plain pattern string without delimiters.
         *
         * @param pattern
         *            The pattern string.
         * @return The plain pattern string without delimiters.
         */
        protected static String toPlainPattern(final String pattern) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Partially.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Outer class that exists solely to let us write {@code Partially.GwtIncompatible} instead of plain
     * {@code GwtIncompatible}. This is more accurate for {@link Futures#catching}, which is available
     * under GWT but with a slightly different signature.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top