Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for onStream (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

              // Use a different task queue for each stream because they should be handled in parallel.
              taskRunner.newQueue().execute("$connectionName[$streamId] onStream") {
                try {
                  listener.onStream(newStream)
                } catch (e: IOException) {
                  Platform.get().log("Http2Connection.Listener failure for $connectionName", INFO, e)
                  ignoreIoExceptions {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

          return javaNetSocket.isHealthy(socket.source)
        }
    
        return true
      }
    
      /** Refuse incoming streams. */
      @Throws(IOException::class)
      override fun onStream(stream: Http2Stream) {
        stream.close(ErrorCode.REFUSED_STREAM, null)
      }
    
      /** When settings are received, adjust the allocation limit. */
      override fun onSettings(
        connection: Http2Connection,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        private val protocol: Protocol,
      ) : Http2Connection.Listener() {
        private val nextExchangeIndex = AtomicInteger()
    
        @Throws(IOException::class)
        override fun onStream(stream: Http2Stream) {
          val peek = dispatcher.peek()
          if (handleSocketEffect(peek.onRequestStart, socket, stream)) {
            dispatchBookkeepingRequest(
              connectionIndex = connectionIndex,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            getProperties().list(out);
        }
    
        @Override
        public synchronized void load(final InputStream inStream) throws IOException {
            final Properties prop = new Properties();
            lastModified = propertiesFile.lastModified();
            prop.load(inStream);
            properties = prop;
        }
    
        @Override
        public synchronized void load(final Reader reader) throws IOException {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top