- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 230 for intercept (0.12 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java
context.addInHeader(""); Thread executeThread = Thread.currentThread(); context.terminal.handle(Terminal.Signal.INT, signal -> executeThread.interrupt()); ConsolePrompt.UiConfig config; if (context.terminal.getType().equals(Terminal.TYPE_DUMB) || context.terminal.getType().equals(Terminal.TYPE_DUMB_COLOR)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
// Capture the protocol as it is observed by the interceptor. val protocolRef = AtomicReference<Protocol?>() val interceptor = Interceptor { chain: Interceptor.Chain -> protocolRef.set(chain.connection()!!.protocol()) chain.proceed(chain.request()) } client = client.newBuilder() .addNetworkInterceptor(interceptor) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
} executed.set(true); if (logger.isDebugEnabled()) { logger.debug("Interrupting a stream thread."); } ist.interrupt(); CommonPoolUtil.execute(() -> { try { CloseableUtil.closeQuietly(p.getInputStream()); } catch (final Exception e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
throw new CommandExecutionException("Process terminated.", e); } finally { if (mt != null) { mt.setFinished(true); try { mt.interrupt(); } catch (final Exception e) { // ignore } } if (currentProcess != null) { try {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.3K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
val names = acceptedIssuers .map { it.subjectDN.name } .toSet() // It's safe to assume all platforms will have a major Internet certificate issuer. assertThat(names).matchesPredicate { strings -> strings.any { it.matches(Regex("[A-Z]+=Entrust.*")) } } } private fun startTlsServer(): InetSocketAddress {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 7.1K bytes - Viewed (0) -
README.md
// define any required OkHttp artifacts without version implementation("com.squareup.okhttp3:okhttp") implementation("com.squareup.okhttp3:logging-interceptor") } ``` MockWebServer ------------- OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 6.2K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
## Version 1.5.3 _2014-03-29_ * Fix bug where the Content-Length header was not always dropped when following a redirect from a POST to a GET. * Implement basic support for `Thread.interrupt()`. OkHttp now checks for an interruption before doing a blocking call. If it is interrupted, it throws an `InterruptedIOException`. ## Version 1.5.2 _2014-03-17_
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K bytes - Viewed (0) -
.github/DISCUSSION_TEMPLATE/questions.yml
labels: [question] body: - type: markdown attributes: value: | Thanks for your interest in FastAPI! 🚀 Please follow these instructions, fill every question, and do every step. 🙏 I'm asking this because answering questions and solving problems in GitHub is what consumes most of the time.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 03 15:59:41 UTC 2023 - 5.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallHandshakeTest.kt
) } } private fun expectedConnectionCipherSuites(client: OkHttpClient): Set<String> { return client.connectionSpecs.first().cipherSuites!!.map { it.javaName }.intersect(defaultEnabledCipherSuites.toSet()) } private fun makeClient( connectionSpec: ConnectionSpec? = null, tlsVersion: TlsVersion? = null, cipherSuites: List<CipherSuite>? = null,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallKotlinTest.kt
// Capture the connection so that we can later make it stale. var connection: RealConnection? = null client = client.newBuilder() .addNetworkInterceptor( Interceptor { chain -> connection = chain.connection() as RealConnection chain.proceed(chain.request()) }, ) .build() server.enqueue( MockResponse(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 8.4K bytes - Viewed (0)