- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,348 for clinit (0.09 sec)
-
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdTestMain.kt
import okhttp3.Request fun main() { val client = OkHttpClient .Builder() .addInterceptor(CompressionInterceptor(Zstd)) .build() sendRequest("https://developers.facebook.com/docs/", client) sendRequest("https://www.facebook.com/robots.txt", client) sendRequest("https://www.instagram.com/robots.txt", client) } private fun sendRequest( url: String, client: OkHttpClient, ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 20:01:04 UTC 2025 - 1.3K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt
import javax.net.ssl.SSLSocketFactory import okhttp3.ConnectionSpec import okhttp3.OkHttp import okhttp3.survey.types.Client import okhttp3.survey.types.SuiteId import okio.FileSystem import okio.Path.Companion.toPath import org.conscrypt.Conscrypt fun currentOkHttp(ianaSuites: IanaSuites): Client = Client( userAgent = "OkHttp", version = OkHttp.VERSION, enabled =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
return responseData; } /** * Disconnects the internal FTP client and logs any errors. * This method is used to clean up failed connections. * * @param client The FTP client to disconnect */ protected void disconnectInternalClient(final FTPClient client) { try { client.disconnect(); } catch (final IOException e) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 39.5K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
if (true) { client.requestOauthSession(scopes, null); } else { OAuthSession session = new OAuthSession(true, "xoxp-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", scopes, "UXXXXXXXX", "My Slack Group", "TXXXXXXXX"); client.initOauthSession(session); } client.awaitAccessToken(Timeout.NONE); client.startRtm(); }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.4K bytes - Viewed (0) -
okhttp-tls/README.md
.addTrustedCertificate(rootCertificate.certificate()) .build(); OkHttpClient client = new OkHttpClient.Builder() .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager()) .build(); ``` Client Authentication --------------------- The above scenario is representative of most TLS set ups: the client uses certificates to validate
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
/** * Retrieves the appropriate crawler client for the given URL based on configured rules. * This method uses client rules to determine which specific client implementation * should be used for crawling the URL, falling back to the default client if no * specific rule matches. * * @param url the URL to get a client for * @return the crawler client instance to use for the URL */ @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt
server.enqueue(MockResponse.Builder().body("def").build()) val client = clientTestRule .newClientBuilder() .proxy(socksProxy.proxy()) .build() val request1 = Request.Builder().url(server.url("/")).build() val response1 = client.newCall(request1).execute() assertThat(response1.body.string()).isEqualTo("abc")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val proxySelector: ProxySelector = client.proxySelector val cookieJar: CookieJar = client.cookieJar val cache: Cache? = client.cache val socketFactory: SocketFactory = client.socketFactory val sslSocketFactory: SSLSocketFactory = client.sslSocketFactory val hostnameVerifier: HostnameVerifier = client.hostnameVerifier val certificatePinner: CertificatePinner = client.certificatePinnerRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
/** * Constructor for AnalyzerSettings. * @param client The OpenSearch client. * @param settings The SuggestSettings instance. * @param settingsIndexName The name of the settings index. */ public AnalyzerSettings(final Client client, final SuggestSettings settings, final String settingsIndexName) { this.client = client; this.settings = settings;Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 26.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java
/** * Constructor for PopularWordsRequestBuilder. * @param client The OpenSearch client. */ public PopularWordsRequestBuilder(final Client client) { super(client, new PopularWordsRequest()); } /** * Sets the index for the request. * @param index The index name. * @return This builder instance. */Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 3.9K bytes - Viewed (0)