Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for redactQueryParams (0.31 sec)

  1. okhttp-logging-interceptor/api/logging-interceptor.api

    	public fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
    	public final fun level (Lokhttp3/logging/HttpLoggingInterceptor$Level;)V
    	public final fun redactHeader (Ljava/lang/String;)V
    	public final fun redactQueryParams ([Ljava/lang/String;)V
    	public final fun setLevel (Lokhttp3/logging/HttpLoggingInterceptor$Level;)Lokhttp3/logging/HttpLoggingInterceptor;
    }
    
    public final class okhttp3/logging/HttpLoggingInterceptor$Companion {
    }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 4.5K bytes
    - Viewed (1)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          HttpLoggingInterceptor(networkLogs).setLevel(
            Level.BASIC,
          )
        networkInterceptor.redactQueryParams("user", "passWord")
    
        val applicationInterceptor =
          HttpLoggingInterceptor(applicationLogs).setLevel(
            Level.BASIC,
          )
        applicationInterceptor.redactQueryParams("user", "PassworD")
    
        client =
          OkHttpClient.Builder()
            .addNetworkInterceptor(networkInterceptor)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          val newHeadersToRedact = TreeSet(String.CASE_INSENSITIVE_ORDER)
          newHeadersToRedact += headersToRedact
          newHeadersToRedact += name
          headersToRedact = newHeadersToRedact
        }
    
        fun redactQueryParams(vararg name: String) {
          val newQueryParamsNameToRedact = TreeSet(String.CASE_INSENSITIVE_ORDER)
          newQueryParamsNameToRedact += queryParamsNameToRedact
          newQueryParamsNameToRedact.addAll(name)
    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. CHANGELOG.md

        data to the override URL. For example, you could add a `request-body-sha256` query parameter so
        requests with the same POST data get the same cache entry.
    
     *  New: `HttpLoggingInterceptor.redactQueryParams()` configures the query parameters to redact
        in logs. For best security, don't put sensitive information in query parameters.
    
     *  New: `ConnectionPool.setPolicy()` configures a minimum connection pool size for a target
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
Back to top