Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for substring (0.15 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

        }
    
        if (requestLine.isNotEmpty()) {
          val methodEnd = requestLine.indexOf(' ')
          val pathEnd = requestLine.indexOf(' ', methodEnd + 1)
          this.method = requestLine.substring(0, methodEnd)
          var path = requestLine.substring(methodEnd + 1, pathEnd)
          if (!path.startsWith("/")) {
            path = "/"
          }
          this.path = path
    
          val scheme = if (socket is SSLSocket) "https" else "http"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.8K bytes
    - Viewed (1)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

        }
    
        if (requestLine.isNotEmpty()) {
          val methodEnd = requestLine.indexOf(' ')
          val pathEnd = requestLine.indexOf(' ', methodEnd + 1)
          this.method = requestLine.substring(0, methodEnd)
          var path = requestLine.substring(methodEnd + 1, pathEnd)
          if (!path.startsWith("/")) {
            path = "/"
          }
          this.path = path
    
          val scheme = if (socket is SSLSocket) "https" else "http"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (2)
Back to top