- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for networkInterceptors (0.23 sec)
-
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
) fun interceptors(): List<Interceptor> = interceptors @JvmName("-deprecated_networkInterceptors") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "networkInterceptors"), level = DeprecationLevel.ERROR, ) fun networkInterceptors(): List<Interceptor> = networkInterceptors @JvmName("-deprecated_eventListenerFactory") @Deprecated( message = "moved to val",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
original.newBuilder() .addInterceptor(interceptor) .addNetworkInterceptor(interceptor) .build() assertThat(original.interceptors.size).isEqualTo(0) assertThat(original.networkInterceptors.size).isEqualTo(0) } /** * When copying the client, stateful things like the connection pool are shared across all * clients. */ @Test fun cloneSharesStatefulInstances() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 13.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
val protocols: List<Protocol> = client.protocols() val connectionSpecs: List<ConnectionSpec> = client.connectionSpecs() val interceptors: List<Interceptor> = client.interceptors() val networkInterceptors: List<Interceptor> = client.networkInterceptors() val eventListenerFactory: EventListener.Factory = client.eventListenerFactory() val proxySelector: ProxySelector = client.proxySelector() val cookieJar: CookieJar = client.cookieJar()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
val protocols: List<Protocol> = client.protocols val connectionSpecs: List<ConnectionSpec> = client.connectionSpecs val interceptors: List<Interceptor> = client.interceptors val networkInterceptors: List<Interceptor> = client.networkInterceptors val eventListenerFactory: EventListener.Factory = client.eventListenerFactory val proxySelector: ProxySelector = client.proxySelector val cookieJar: CookieJar = client.cookieJar
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 46.5K bytes - Viewed (4) -
docs/changelogs/upgrading_to_okhttp_4.md
connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns, eventListenerFactory, followRedirects, followSslRedirects, hostnameVerifier, interceptors, networkInterceptors, pingIntervalMillis, protocols, proxy, proxyAuthenticator, proxySelector, readTimeoutMillis, retryOnConnectionFailure, socketFactory, sslSocketFactory, writeTimeoutMillis * **PushPromise**: headers, method, path, response
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
import okio.Buffer import okio.GzipSource /** * An OkHttp interceptor which logs request and response information. Can be applied as an * [application interceptor][OkHttpClient.interceptors] or as a [OkHttpClient.networkInterceptors]. * * The format of the logs created by this class should not be considered stable and may * change slightly between releases. If you need a stable logging format, use your own interceptor. */
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) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
interceptors += BridgeInterceptor(client.cookieJar) interceptors += CacheInterceptor(client.cache) interceptors += ConnectInterceptor if (!forWebSocket) { interceptors += client.networkInterceptors } interceptors += CallServerInterceptor(forWebSocket) val chain = RealInterceptorChain( call = this, interceptors = interceptors, index = 0,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 17.9K bytes - Viewed (2) -
okhttp/api/okhttp.api
public final fun -deprecated_hostnameVerifier ()Ljavax/net/ssl/HostnameVerifier; public final fun -deprecated_interceptors ()Ljava/util/List; public final fun -deprecated_networkInterceptors ()Ljava/util/List; public final fun -deprecated_pingIntervalMillis ()I public final fun -deprecated_protocols ()Ljava/util/List; public final fun -deprecated_proxy ()Ljava/net/Proxy;
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 70.2K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
Configure basic logging like this: ```java HttpLoggingInterceptor loggingInterceptor = new HttpLoggingInterceptor(); loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BASIC); client.networkInterceptors().add(loggingInterceptor); ``` **Warning:** Avoid `Level.HEADERS` and `Level.BODY` in production because they could leak passwords and other authentication credentials to insecure logs.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
private val networkLogs = LogRecorder() private val networkInterceptor = HttpLoggingInterceptor(networkLogs) private val applicationLogs = LogRecorder() private val applicationInterceptor = HttpLoggingInterceptor(applicationLogs) private var extraNetworkInterceptor: Interceptor? = null private fun setLevel(level: Level) { networkInterceptor.setLevel(level) applicationInterceptor.setLevel(level) }
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)