Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for hugger (0.31 sec)

  1. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

              if (!buffer.isProbablyUtf8()) {
                logger.log("")
                logger.log("<-- END HTTP (${totalMs}ms, binary ${buffer.size}-byte body omitted)")
                return response
              }
    
              if (contentLength != 0L) {
                logger.log("")
                logger.log(buffer.clone().readString(charset))
              }
    
              logger.log(
                buildString {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  2. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          protocol: ByteString,
          host: String,
          port: Int,
          maxAge: Long,
        ) {
          throw UnsupportedOperationException()
        }
      }
    
      companion object {
        private val logger = Logger.getLogger(MockHttp2Peer::class.java.name)
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  3. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

                handler.formatter = MessageFormatter
                activeLogger.addHandler(handler)
              }
            }
          }
        }
    
        fun getLogger(name: String): Logger {
          val logger = Logger.getLogger(name)
          activeLoggers.add(logger)
          return logger
        }
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.7K bytes
    - Viewed (1)
  4. okhttp-logging-interceptor/api/logging-interceptor.api

    }
    
    public abstract interface class okhttp3/logging/HttpLoggingInterceptor$Logger {
    	public static final field Companion Lokhttp3/logging/HttpLoggingInterceptor$Logger$Companion;
    	public static final field DEFAULT Lokhttp3/logging/HttpLoggingInterceptor$Logger;
    	public abstract fun log (Ljava/lang/String;)V
    }
    
    public final class okhttp3/logging/HttpLoggingInterceptor$Logger$Companion {
    }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 4.5K bytes
    - Viewed (1)
  5. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

      }
    
      private fun request(): Request.Builder {
        return Request.Builder().url(url)
      }
    
      internal class LogRecorder(
        val prefix: Regex = Regex(""),
      ) : HttpLoggingInterceptor.Logger {
        private val logs = mutableListOf<String>()
        private var index = 0
    
        fun assertLogEqual(expected: String) =
          apply {
            assertThat(index, "No more messages found")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

      fun connectionPreface() {
        this.withLock {
          if (closed) throw IOException("closed")
          if (!client) return // Nothing to write; servers don't send connection headers!
          if (logger.isLoggable(FINE)) {
            logger.fine(format(">> CONNECTION ${CONNECTION_PREFACE.hex()}"))
          }
          sink.write(CONNECTION_PREFACE)
          sink.flush()
        }
      }
    
      /** Applies `peerSettings` and then sends a settings ACK. */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        if (assertionsEnabled && taskRunner.lock.isHeldByCurrentThread) {
          throw AssertionError("Thread ${Thread.currentThread().name} MUST NOT hold lock on $this")
        }
      }
    
      val logger = Logger.getLogger("TaskFaker." + instance++)
    
      /** Though this executor service may hold many threads, they are not executed concurrently. */
      private val tasksExecutor = Executors.newCachedThreadPool(threadFactory("TaskFaker"))
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/SocksProxy.kt

              connectionCount.incrementAndGet()
              service(socket)
            }
          } catch (e: SocketException) {
            logger.info("$threadName done accepting connections: ${e.message}")
          } catch (e: IOException) {
            logger.log(Level.WARNING, "$threadName failed unexpectedly", e)
          } finally {
            for (socket in openSockets) {
              socket.closeQuietly()
            }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top