- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 383 for chain (0.1 sec)
-
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
TestAuthenticationChain chain2 = new TestAuthenticationChain(); TestAuthenticationChain chain3 = new TestAuthenticationChain(); chain1.loadResult = user1; chain2.loadResult = user2; chain3.loadResult = user3; authenticationManager.addChain(chain1); authenticationManager.addChain(chain2);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
val interceptor1 = Interceptor { chainA: Interceptor.Chain -> assertThat(chainA.connectTimeoutMillis()).isEqualTo(5000) val chainB = chainA.withConnectTimeout(100, TimeUnit.MILLISECONDS) assertThat(chainB.connectTimeoutMillis()).isEqualTo(100) chainB.proceed(chainA.request()) } val interceptor2 = Interceptor { chain: Interceptor.Chain ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 28.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt
/** * Returns a cleaned chain for [chain]. * * This method throws if the complete chain to a trusted CA certificate cannot be constructed. * This is unexpected unless the trust root index in this class has a different trust manager than * what was used to establish [chain]. */ @Throws(SSLPeerUnverifiedException::class) override fun clean( chain: List<Certificate>, hostname: String,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
docs/features/interceptors.md
class LoggingInterceptor implements Interceptor { @Override public Response intercept(Interceptor.Chain chain) throws IOException { Request request = chain.request(); long t1 = System.nanoTime(); 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();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/AuthenticationManager.java
User u = user; for (final AuthenticationChain chain : chains) { u = chain.load(u); } return u; } /** * Adds an authentication chain to the manager. * @param chain The authentication chain to add. */ public void addChain(final AuthenticationChain chain) { chains = ArrayUtils.addAll(chains, chain); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryProcessor.java
FilterChain chain = createDefaultFilterChain(); for (final Filter element : filterList) { chain = appendFilterChain(element, chain); } filterChain = chain; } /** * Appends a filter to an existing filter chain. * * @param filter the filter to append * @param chain the existing filter chain to append to
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.1K bytes - Viewed (0) -
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()); } };
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/parser/QueryParser.java
FilterChain chain = createDefaultFilterChain(); for (final Filter element : filterList) { chain = appendFilterChain(element, chain); } filterChain = chain; } /** * Appends a filter to the existing filter chain. * * @param filter the filter to append * @param chain the existing filter chain
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
User user3 = createTestUser("user3", "User Three"); chain.update(user1); chain.update(user2); chain.update(user3); assertEquals(3, chain.updateCalls.size()); assertEquals(user1, chain.updateCalls.get(0)); assertEquals(user2, chain.updateCalls.get(1)); assertEquals(user3, chain.updateCalls.get(2)); } // Test update with exception handling
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14.6K bytes - Viewed (0)