- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 579 for Protocols (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CorrettoTest.kt
assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3) } } @Test @Disabled fun testGoogle() { assumeNetwork() val request = Request.Builder().url("https://google.com/robots.txt").build() client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/context/SingletonContext.java
SingletonContext.getInstance(); String pkgs = System.getProperty("java.protocol.handler.pkgs"); if (pkgs == null) { System.setProperty("java.protocol.handler.pkgs", "jcifs"); } else if (pkgs.indexOf("jcifs") == -1) { pkgs += "|jcifs"; System.setProperty("java.protocol.handler.pkgs", pkgs); } } /** * */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
private fun readResponse( hostname: String, response: Response, ): List<InetAddress> { if (response.cacheResponse == null && response.protocol !== Protocol.HTTP_2 && response.protocol !== Protocol.QUIC) { Platform.get().log("Incorrect protocol: ${response.protocol}", Platform.WARN) } response.use { if (!response.isSuccessful) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/SmbNegotiationRequest.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal; /** * Interface for SMB protocol negotiation request messages. * Represents the client's request to negotiate SMB protocol version and capabilities * with the server, including security requirements like message signing. * * @author mbechler */ public interface SmbNegotiationRequest {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterRequest.java
private String serverAddress; private int flags; /** * Gets the witness protocol version. * * @return the protocol version */ public int getVersion() { return version; } /** * Sets the witness protocol version. * * @param version the protocol version */ public void setVersion(int version) { this.version = version; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 2.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
} @Override public void connectEnd( Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol) { printEvent("connectEnd"); } @Override public void connectFailed(Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol, IOException ioe) { printEvent("connectFailed"); }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
@BeforeAll static void setupProtocolHandler() { // Register the SMB protocol handler String pkgs = System.getProperty("java.protocol.handler.pkgs"); if (pkgs == null) { System.setProperty("java.protocol.handler.pkgs", "jcifs.smb1"); } else if (!pkgs.contains("jcifs.smb1")) { System.setProperty("java.protocol.handler.pkgs", pkgs + "|jcifs.smb1"); } } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
*/ package jcifs.internal.util; import jcifs.SmbConstants; /** * SMB protocol utility class providing low-level data encoding and decoding operations. * Contains methods for reading and writing various data types (integers, strings, timestamps) * in SMB protocol format, handling endianness and data type conversions. * * @author mbechler */ public class SMBUtil { /**
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt
val response = Response .Builder() .request( Request .Builder() .url("https://example.com/") .build(), ).protocol(Protocol.HTTP_1_1) .code(200) .message("OK") .build() assertThat(response.body.contentType()).isNull() assertThat(response.body.contentLength()).isEqualTo(0L)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/SmbNegotiationResponse.java
*/ package jcifs.internal; import jcifs.CIFSContext; import jcifs.DialectVersion; import jcifs.util.transport.Response; /** * Interface for SMB protocol negotiation response handling. * Represents the server's response to a protocol negotiation request, containing negotiated * dialect version, security settings, capabilities, and buffer sizes for the SMB connection. * * @author mbechler */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0)