- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 47 for set_protocol (0.13 sec)
-
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java
socketFile.delete(); // Clean up from previous runs. MockWebServer server = new MockWebServer(); server.setServerSocketFactory(new UnixDomainServerSocketFactory(socketFile)); server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE)); server.enqueue(new MockResponse().setBody("hello")); server.start(); OkHttpClient client = new OkHttpClient.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Dec 24 03:46:30 UTC 2018 - 2.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Protocol.kt
*/ package okhttp3 import okio.IOException /** * Protocols that OkHttp implements for [ALPN][ietf_alpn] selection. * * ## Protocol vs Scheme * * Despite its name, [java.net.URL.getProtocol] returns the [scheme][java.net.URI.getScheme] (http, * https, etc.) of the URL, not the protocol (http/1.1, spdy/3.1, etc.). OkHttp uses the word * *protocol* to identify how HTTP messages are framed. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:17:33 UTC 2024 - 4.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
} override fun getLocalPrincipal(): Principal { return delegate!!.localPrincipal } override fun getCipherSuite(): String { return delegate!!.cipherSuite } override fun getProtocol(): String { return delegate!!.protocol } override fun getPeerHost(): String { return delegate!!.peerHost } override fun getPeerPort(): Int { return delegate!!.peerPort }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
private ProxyInfo proxyInfo(ArtifactRepository repository) { ProxyInfo proxyInfo = new ProxyInfo(); proxyInfo.setHost(repository.getProxy().getHost()); proxyInfo.setType(repository.getProxy().getProtocol()); proxyInfo.setPort(repository.getProxy().getPort()); proxyInfo.setNonProxyHosts(repository.getProxy().getNonProxyHosts()); proxyInfo.setUserName(repository.getProxy().getUserName());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt
throw UnsupportedOperationException() } @Throws(SSLPeerUnverifiedException::class) override fun getPeerPrincipal(): Principal { throw UnsupportedOperationException() } override fun getProtocol(): String { throw UnsupportedOperationException() } override fun getSessionContext(): SSLSessionContext { throw UnsupportedOperationException() } override fun putValue( s: String,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/IoTestCase.java
} URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt"); if (testFileUrl == null) { throw new RuntimeException("unable to locate testdata directory"); } if (testFileUrl.getProtocol().equals("file")) { try { File testFile = new File(testFileUrl.toURI()); testDir = testFile.getParentFile(); // the testdata directory } catch (Exception ignore) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
} public void setUrl(String url) {} public String getBasedir() { return null; } public String getProtocol() { return repository.getProtocol(); } public String getId() { return repository.getId(); } public void setId(String id) {}
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 2.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/RemoteRepository.java
* @see ModelBase#getPluginRepositories() */ @Experimental @Immutable public interface RemoteRepository extends Repository { @Nonnull String getUrl(); @Nonnull String getProtocol();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.3K bytes - Viewed (0)