Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 486 for protocols (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpStatusCodes.kt

    // From https://github.com/apache/httpcomponents-core/blob/master/httpcore5/src/main/java/org/apache/hc/core5/http/HttpStatus.java
    
    /** `100 Continue` (HTTP/1.1 - RFC 7231)  */
    const val HTTP_CONTINUE = 100
    
    /** `101 Switching Protocols` (HTTP/1.1 - RFC 9110)  */
    const val HTTP_SWITCHING_PROTOCOLS = 101
    
    /** `102 Processing` (WebDAV - RFC 2518)  */
    const val HTTP_PROCESSING = 102
    
    /** `103 Early Hints (Early Hints - RFC 8297)` */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

        server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE));
        server.enqueue(new MockResponse().setBody("hello"));
        server.start();
    
        OkHttpClient client = new OkHttpClient.Builder()
            .socketFactory(new UnixDomainSocketFactory(socketFile))
            .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE))
            .build();
    
        Request request = new Request.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      override fun getEnabledProtocols(): Array<String> = delegate!!.enabledProtocols
    
      override fun setEnabledProtocols(protocols: Array<String>) {
        delegate!!.enabledProtocols = protocols
      }
    
      override fun getSession(): SSLSession = delegate!!.session
    
      override fun addHandshakeCompletedListener(listener: HandshakeCompletedListener) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. docs/contribute/concurrency.md

    Blocking APIs may be inefficient because you hold a thread idle while waiting on the network. Threads are expensive because they have both a memory overhead and a context-switching overhead.
    
    #### Framed protocols
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

        private lateinit var enabledCipherSuites: Array<String>
    
        override fun getEnabledProtocols(): Array<String> = enabledProtocols
    
        override fun setEnabledProtocols(protocols: Array<String>) {
          this.enabledProtocols = protocols
        }
    
        override fun getSupportedCipherSuites(): Array<String> = supportedCipherSuites
    
        fun setSupportedCipherSuites(supportedCipherSuites: Array<String>) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java

     * If plugin or extension needs anything more complex feature wise (i.e. HTTP range support or alike) it should
     * probably roll its own.
     * <p>
     * This implementation is backed by Maven Resolver API, supported protocols and transport selection depends on it. If
     * resolver preference regarding transport is altered, it will affect this service as well.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/AuthenticationProvider.java

    import jcifs.CIFSException;
    
    /**
     * Unified authentication provider interface for SMB authentication
     *
     * This interface provides a consistent authentication mechanism across
     * SMB1, SMB2, and SMB3 protocols, addressing the issue of multiple
     * scattered authentication implementations.
     */
    public interface AuthenticationProvider {
    
        /**
         * Authentication type enumeration
         */
        enum AuthType {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/WagonB.java

     * under the License.
     */
    package org.apache.maven.repository.legacy;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * Wagon for testing, for protocols <code>b1</code> and <code>b2</code>
     *
     */
    @Named("b")
    @Singleton
    public class WagonB extends WagonMock {
        public String[] getSupportedProtocols() {
            return new String[] {"b1", "b2"};
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt

       * message is empty. http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1
       */
      @Test
      fun emptyMessageAndNoLeadingSpace() {
        val version = 1
        val code = 503
        val statusLine = parse("HTTP/1.$version $code")
        assertThat(statusLine.message).isEqualTo("")
        assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

    import jcifs.SID;
    
    /**
     * Helper class for handling permission-related operations in Fess.
     * Provides functionality to encode/decode permission strings and extract
     * role type information from various file system protocols (SMB, file, FTP).
     */
    public class PermissionHelper {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(PermissionHelper.class);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top