- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 46 for Chalin (0.21 sec)
-
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
@Override public Response intercept(Chain chain) throws IOException { for (Certificate certificate : chain.connection().handshake().peerCertificates()) { String pin = CertificatePinner.pin(certificate); if (denylist.contains(pin)) { throw new IOException("Denylisted peer certificate: " + pin); } } return chain.proceed(chain.request()); } };
Java - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 2.1K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/certificates.go
// print the rest of the cert chain for _, ca := range secret.CertChain { n := new(big.Int) n, _ = n.SetString(ca.SerialNumber, 10) fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%x\t%v\t%v\n", secret.Identity, "Cert Chain", secret.State, certNotExpired(ca), n, valueOrNA(ca.ExpirationTime), valueOrNA(ca.ValidFrom)) } } } return w.Flush()
Go - Registered: Wed Apr 17 22:53:10 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 3.5K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
) fun getLevel(): Level = level @Throws(IOException::class) override fun intercept(chain: Interceptor.Chain): Response { val level = this.level val request = chain.request() if (level == Level.NONE) { return chain.proceed(request) } val logBody = level == Level.BODY val logHeaders = logBody || level == Level.HEADERS
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 11.2K bytes - Viewed (1) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
val chain = newChain(call) return RealRoutePlanner( taskRunner = client.taskRunner, connectionPool = client.connectionPool.delegate, readTimeoutMillis = client.readTimeoutMillis, writeTimeoutMillis = client.writeTimeoutMillis, socketConnectTimeoutMillis = chain.connectTimeoutMillis, socketReadTimeoutMillis = chain.readTimeoutMillis,
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Wed Apr 17 05:15:48 GMT 2024 - 7.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
connectionPool = connectionPool, readTimeoutMillis = client.readTimeoutMillis, writeTimeoutMillis = client.writeTimeoutMillis, socketConnectTimeoutMillis = chain.connectTimeoutMillis, socketReadTimeoutMillis = chain.readTimeoutMillis, pingIntervalMillis = client.pingIntervalMillis, retryOnConnectionFailure = client.retryOnConnectionFailure, fastFallback = client.fastFallback,
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Wed Apr 17 05:15:48 GMT 2024 - 17.8K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
} catch (ignored: IllegalArgumentException) { } } @Test fun clonedInterceptorsListsAreIndependent() { val interceptor = Interceptor { chain: Interceptor.Chain -> chain.proceed(chain.request()) } val original = clientTestRule.newClient() original.newBuilder() .addInterceptor(interceptor) .addNetworkInterceptor(interceptor) .build()
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 13.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
client = client.newBuilder() .addInterceptor( Interceptor { chain: Interceptor.Chain -> try { chain.proceed(chain.request()) throw AssertionError() } catch (expected: IOException) { chain.proceed(chain.request()) } }, ) .build()
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt
client: OkHttpClient, chain: RealInterceptorChain, ): ExchangeCodec { val socket = this.socket!! val source = this.source!! val sink = this.sink!! val http2Connection = this.http2Connection return if (http2Connection != null) { Http2ExchangeCodec(client, this, chain, http2Connection) } else { socket.soTimeout = chain.readTimeoutMillis()
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Wed Apr 17 05:15:48 GMT 2024 - 15.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
*/ class RetryAndFollowUpInterceptor(private val client: OkHttpClient) : Interceptor { @Throws(IOException::class) override fun intercept(chain: Interceptor.Chain): Response { val realChain = chain as RealInterceptorChain var request = chain.request val call = realChain.call var followUpCount = 0 var priorResponse: Response? = null var newRoutePlanner = true
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12.1K bytes - Viewed (4) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
val interceptedCount = AtomicInteger() client = client.newBuilder() .addInterceptor( Interceptor { chain: Interceptor.Chain -> assertThat(chain.request().body).isNull() val response = chain.proceed(chain.request()) assertThat(response.header("Connection")).isEqualTo("Upgrade") assertThat(response.body).isInstanceOf<UnreadableResponseBody>()
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 35.2K bytes - Viewed (1)