Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getvalue (0.23 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

          Gist gist = gistJsonAdapter.fromJson(response.body().source());
    
          for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
            System.out.println(entry.getKey());
            System.out.println(entry.getValue().content);
          }
        }
      }
    
      static class Gist {
        Map<String, GistFile> files;
      }
    
      static class GistFile {
        String content;
      }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.8K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

        delegate!!.invalidate()
      }
    
      override fun isValid(): Boolean {
        return delegate!!.isValid
      }
    
      override fun putValue(
        s: String,
        o: Any,
      ) {
        delegate!!.putValue(s, o)
      }
    
      override fun getValue(s: String): Any {
        return delegate!!.getValue(s)
      }
    
      override fun removeValue(s: String) {
        delegate!!.removeValue(s)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

            for (i in 0 until url.querySize) {
              val parameterName = url.queryParameterName(i)
              val newValue = if (parameterName in queryParamsNameToRedact) "██" else url.queryParameterValue(i)
    
              addEncodedQueryParameter(parameterName, newValue)
            }
          }.toString()
        }
    
        private fun logHeader(
          headers: Headers,
          i: Int,
        ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  4. docs/recipes.md

              for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
                System.out.println(entry.getKey());
                System.out.println(entry.getValue().content);
              }
            }
          }
    
          static class Gist {
            Map<String, GistFile> files;
          }
    
          static class GistFile {
            String content;
          }
        ```
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

        throw UnsupportedOperationException()
      }
    
      override fun putValue(
        s: String,
        obj: Any,
      ) {
        throw UnsupportedOperationException()
      }
    
      override fun removeValue(s: String) {
        throw UnsupportedOperationException()
      }
    
      override fun getValue(s: String): Any {
        throw UnsupportedOperationException()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. okhttp-android/src/main/baseline-prof.txt

    HSPLandroidx/arch/core/internal/SafeIterableMap$Entry;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
    HSPLandroidx/arch/core/internal/SafeIterableMap$Entry;->getKey()Ljava/lang/Object;
    HSPLandroidx/arch/core/internal/SafeIterableMap$Entry;->getValue()Ljava/lang/Object;
    HSPLandroidx/arch/core/internal/SafeIterableMap$IteratorWithAdditions;-><init>(Landroidx/arch/core/internal/SafeIterableMap;)V
    HSPLandroidx/arch/core/internal/SafeIterableMap$IteratorWithAdditions;->hasNext()Z
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

    import okhttp3.internal.http2.Http2
    import okhttp3.internal.platform.android.AndroidLog.androidLog
    
    private val LogRecord.androidLevel: Int
      get() =
        when {
          level.intValue() > Level.INFO.intValue() -> Log.WARN
          level.intValue() == Level.INFO.intValue() -> Log.INFO
          else -> Log.DEBUG
        }
    
    object AndroidLogHandler : Handler() {
      override fun publish(record: LogRecord) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top