Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 434 for rprotocol (0.1 sec)

  1. guava/src/com/google/common/net/MediaType.java

      public static final MediaType POSTSCRIPT = createConstant(APPLICATION_TYPE, "postscript");
    
      /**
       * <a href="http://tools.ietf.org/html/draft-rfernando-protocol-buffers-00">Protocol buffers</a>
       *
       * @since 15.0
       */
      public static final MediaType PROTOBUF = createConstant(APPLICATION_TYPE, "protobuf");
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  2. 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) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            String protocol = "perlookup";
    
            Wagon one = wagonManager.getWagon(protocol);
            Wagon two = wagonManager.getWagon(protocol);
    
            assertNotSame(one, two);
        }
    
        private void assertWagon(String protocol) throws Exception {
            Wagon wagon = wagonManager.getWagon(protocol);
    
            assertNotNull(wagon, "Check wagon, protocol=" + protocol);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

            .header("Host", "cloudflare-dns.com")
            .build()
        client.newCall(request).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(response.protocol).isEqualTo(Protocol.HTTP_2)
    
          assertThat(response.body.string()).contains("h=cloudflare-dns.com")
        }
      }
    
      @Test
      fun getWithDns() {
        client =
          client.newBuilder()
            .dns {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

        }
      }
    
      override fun protocol(): Protocol = protocol!!
    
      override fun toString(): String {
        return "Connection{${route.address.url.host}:${route.address.url.port}," +
          " proxy=${route.proxy}" +
          " hostAddress=${route.socketAddress}" +
          " cipherSuite=${handshake?.cipherSuite ?: "none"}" +
          " protocol=$protocol}"
      }
    
      companion object {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                throws TransferFailedException, ResourceDoesNotExistException {
            String protocol = repository.getProtocol();
    
            Wagon wagon;
    
            try {
                wagon = getWagon(protocol);
            } catch (UnsupportedProtocolException e) {
                throw new TransferFailedException("Unsupported Protocol: '" + protocol + "': " + e.getMessage(), e);
            }
    
            if (downloadMonitor != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

        val proxy: Proxy?,
      ) : CallEvent()
    
      data class ConnectEnd(
        override val timestampNs: Long,
        override val call: Call,
        val inetSocketAddress: InetSocketAddress,
        val proxy: Proxy?,
        val protocol: Protocol?,
      ) : CallEvent() {
        override fun closes(event: CallEvent): Boolean =
          event is ConnectStart && call == event.call && inetSocketAddress == event.inetSocketAddress && proxy == event.proxy
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Cache.kt

        }
    
        override fun body(): Sink = body
      }
    
      private class Entry {
        private val url: HttpUrl
        private val varyHeaders: Headers
        private val requestMethod: String
        private val protocol: Protocol
        private val code: Int
        private val message: String
        private val responseHeaders: Headers
        private val handshake: Handshake?
        private val sentRequestMillis: Long
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. 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);
            }
        }
    
    
        /**
         * 
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 08:53:08 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

       */
      @Test
      @Throws(Exception::class)
      fun webSocketConnectionIsReleased() {
        // This test assumes HTTP/1.1 pooling semantics.
        client =
          client.newBuilder()
            .protocols(Arrays.asList(Protocol.HTTP_1_1))
            .build()
        webServer.enqueue(
          MockResponse.Builder()
            .code(HttpURLConnection.HTTP_NOT_FOUND)
            .body("not found!")
            .build(),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top