- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for redactQueryParams (0.08 sec)
-
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)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 37.6K bytes - Viewed (0) -
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)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 11.2K bytes - Viewed (0) -
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
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:31:39 UTC 2024 - 21.4K bytes - Viewed (0)