- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 498 for chain (0.02 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
@Override public Response intercept(Chain chain) throws IOException { long t1 = System.nanoTime(); Request request = chain.request(); logger.info(String.format("Sending request %s on %s%n%s", request.url(), chain.connection(), request.headers())); Response response = chain.proceed(request); long t2 = System.nanoTime();
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jan 01 15:55:32 GMT 2016 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/auth/chain/AuthenticationChain.java
*/ package org.codelibs.fess.auth.chain; import org.codelibs.fess.opensearch.user.exentity.User; /** * Interface for authentication chain operations. * Provides methods for user management and authentication operations. */ public interface AuthenticationChain { /** * Updates an existing user in the authentication chain. * @param user The user to update. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
* server's hostname. The server must also have is a (possibly-empty) chain of intermediate * certificates to establish trust from a root certificate to the server's certificate. The root * certificate is not included in this chain. * * The client's handshake certificates must include a set of trusted root certificates. They will * be used to authenticate the server's certificate chain. Typically this is a set of well-known
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java
@Override public Response intercept(Chain chain) throws IOException { Request request = chain.request(); Headers newHeaders = request.headers() .newBuilder() .add("Date", new Date()) .build(); Request newRequest = request.newBuilder() .headers(newHeaders) .build(); return chain.proceed(newRequest); } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 31 15:32:50 GMT 2018 - 1.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
import okhttp3.internal.connection.RealCall import okhttp3.internal.tls.CertificateChainCleaner /** * A concrete interceptor chain that carries the entire interceptor chain: all application * interceptors, the OkHttp core, all network interceptors, and finally the network caller. * * If the chain is for an application interceptor then [exchange] must be null. Otherwise it is for * a network interceptor and [exchange] must be non-null. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 12.8K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Nov 05 07:46:46 GMT 2018 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java
import java.util.List; import java.util.Set; /** * A chain of {@link ReadingConverter} implementations that applies each converter in sequence to generate possible reading variations of a given text. * It maintains a list of ReadingConverter instances and iterates through them, applying each converter to the input text and accumulating the results. * The chain stops processing when the maximum number of readings is reached. */Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Wed Dec 31 05:38:07 GMT 2025 - 3.8K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java
} /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#chain(jcifs.internal.smb2.ServerMessageBlock2) */ @Override public boolean chain(final ServerMessageBlock2 n) { n.setTreeId(Smb2Constants.UNSPECIFIED_TREEID); return super.chain(n); } /** * {@inheritDoc} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
val connection = AtomicReference<Connection?>() client = client .newBuilder() .addNetworkInterceptor( Interceptor { chain: Interceptor.Chain? -> connection.set(chain!!.connection()) chain.proceed(chain.request()) }, ).build() dns["san.com"] = Dns.SYSTEM.lookup(server.hostName).subList(0, 1) assert200Http2Response(execute(url), server.hostName)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jun 19 11:44:16 GMT 2025 - 19.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt
), isDefault: Boolean, ) { fun <T> Override<T>.testApplicationInterceptor(chain: Interceptor.Chain): Response { val defaultValue = chain.value() assertThat(isDefaultValue(chain.value())).isTrue() val withOverride = chain.withOverride(nonDefaultValue) assertThat(chain).isNotSameInstanceAs(withOverride) assertThat(isDefaultValue(withOverride.value())).isFalse()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 28.8K bytes - Click Count (0)